@sfpro/sdk
Version:
TypeScript SDK for Superfluid Protocol - stream money every second
248 lines (247 loc) • 4.01 kB
JSON
[
{
"inputs": [
{
"internalType": "address",
"name": "_manager",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "address",
"name": "caller",
"type": "address"
},
{
"internalType": "address",
"name": "expectedCaller",
"type": "address"
}
],
"name": "UnauthorizedCaller",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "superToken",
"type": "address"
}
],
"name": "UnsupportedSuperToken",
"type": "error"
},
{
"inputs": [],
"name": "ZeroAddress",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "EmergencyWithdrawInitiated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "oldManager",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "manager",
"type": "address"
}
],
"name": "ManagerChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "superToken",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "superTokenAmount",
"type": "uint256"
}
],
"name": "Wrapped",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "newManager",
"type": "address"
}
],
"name": "changeManager",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "emergencyWithdraw",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract ISuperToken",
"name": "superToken",
"type": "address"
}
],
"name": "isSupportedSuperToken",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "manager",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "user",
"type": "address"
},
{
"internalType": "contract ISuperToken",
"name": "superToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "superTokenAmount",
"type": "uint256"
}
],
"name": "wrap",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]