@sfpro/sdk
Version:
TypeScript SDK for Superfluid Protocol - stream money every second
1,498 lines (1,484 loc) • 406 kB
text/typescript
import {
createUseReadContract,
createUseWriteContract,
createUseSimulateContract,
createUseWatchContractEvent,
} from 'wagmi/codegen'
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// autoWrapManager
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x30aE282CF477E2eF28B14d0125aCEAd57Fe1d7a1)
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x1fA76f2Cd0C3fe6c399A80111408d9C42C0CAC23)
* - [__View Contract on Bnb Smart Chain Bsc Scan__](https://bscscan.com/address/0x2AcdD61ac1EFFe1535109449c31889bdE8d7f325)
* - [__View Contract on Gnosis Gnosisscan__](https://gnosisscan.io/address/0x8082e58681350876aFe8f52d3Bf8672034A03Db0)
* - [__View Contract on Polygon Polygon Scan__](https://polygonscan.com/address/0x2581c27E7f6D6AF452E63fCe884EDE3EDd716b32)
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x041D4bF21367e9B92016B28Fb5A2f697c1befd01)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0xf01825eAFAe5CD1Dab5593EFAF218efC8968D272)
* - [__View Contract on Avalanche Fuji Snow Trace__](https://testnet.snowtrace.io/address/0x30aE282CF477E2eF28B14d0125aCEAd57Fe1d7a1)
* - [__View Contract on Avalanche Snow Trace__](https://snowtrace.io/address/0x8082e58681350876aFe8f52d3Bf8672034A03Db0)
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0xe567b32C10B0dB72d9490eB1B9A409C5ADed192C)
*/
export const autoWrapManagerAbi = [
{
type: 'constructor',
inputs: [
{ name: '_cfa', internalType: 'address', type: 'address' },
{ name: '_minLower', internalType: 'uint64', type: 'uint64' },
{ name: '_minUpper', internalType: 'uint64', type: 'uint64' },
],
stateMutability: 'nonpayable',
},
{
type: 'error',
inputs: [
{ name: 'limitGiven', internalType: 'uint64', type: 'uint64' },
{ name: 'minLimit', internalType: 'uint64', type: 'uint64' },
],
name: 'InsufficientLimits',
},
{
type: 'error',
inputs: [
{ name: 'expirationTimeGiven', internalType: 'uint64', type: 'uint64' },
{ name: 'timeNow', internalType: 'uint256', type: 'uint256' },
],
name: 'InvalidExpirationTime',
},
{
type: 'error',
inputs: [{ name: 'strategy', internalType: 'address', type: 'address' }],
name: 'InvalidStrategy',
},
{
type: 'error',
inputs: [
{ name: 'caller', internalType: 'address', type: 'address' },
{ name: 'expectedCaller', internalType: 'address', type: 'address' },
],
name: 'UnauthorizedCaller',
},
{
type: 'error',
inputs: [{ name: 'superToken', internalType: 'address', type: 'address' }],
name: 'UnsupportedSuperToken',
},
{
type: 'error',
inputs: [{ name: 'index', internalType: 'bytes32', type: 'bytes32' }],
name: 'WrapNotRequired',
},
{
type: 'error',
inputs: [
{ name: 'lowerLimit', internalType: 'uint64', type: 'uint64' },
{ name: 'upperLimit', internalType: 'uint64', type: 'uint64' },
],
name: 'WrongLimits',
},
{ type: 'error', inputs: [], name: 'ZeroAddress' },
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'strategy',
internalType: 'address',
type: 'address',
indexed: true,
},
],
name: 'AddedApprovedStrategy',
},
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'lowerLimit',
internalType: 'uint64',
type: 'uint64',
indexed: false,
},
{
name: 'upperLimit',
internalType: 'uint64',
type: 'uint64',
indexed: false,
},
],
name: 'LimitsChanged',
},
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'previousOwner',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'newOwner',
internalType: 'address',
type: 'address',
indexed: true,
},
],
name: 'OwnershipTransferred',
},
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'strategy',
internalType: 'address',
type: 'address',
indexed: true,
},
],
name: 'RemovedApprovedStrategy',
},
{
type: 'event',
anonymous: false,
inputs: [
{ name: 'id', internalType: 'bytes32', type: 'bytes32', indexed: true },
{
name: 'wrapAmount',
internalType: 'uint256',
type: 'uint256',
indexed: false,
},
],
name: 'WrapExecuted',
},
{
type: 'event',
anonymous: false,
inputs: [
{ name: 'id', internalType: 'bytes32', type: 'bytes32', indexed: true },
{ name: 'user', internalType: 'address', type: 'address', indexed: true },
{
name: 'superToken',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'strategy',
internalType: 'address',
type: 'address',
indexed: false,
},
{
name: 'liquidityToken',
internalType: 'address',
type: 'address',
indexed: false,
},
{
name: 'expiry',
internalType: 'uint256',
type: 'uint256',
indexed: false,
},
{
name: 'lowerLimit',
internalType: 'uint256',
type: 'uint256',
indexed: false,
},
{
name: 'upperLimit',
internalType: 'uint256',
type: 'uint256',
indexed: false,
},
],
name: 'WrapScheduleCreated',
},
{
type: 'event',
anonymous: false,
inputs: [
{ name: 'id', internalType: 'bytes32', type: 'bytes32', indexed: true },
{ name: 'user', internalType: 'address', type: 'address', indexed: true },
{
name: 'superToken',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'strategy',
internalType: 'address',
type: 'address',
indexed: false,
},
{
name: 'liquidityToken',
internalType: 'address',
type: 'address',
indexed: false,
},
],
name: 'WrapScheduleDeleted',
},
{
type: 'function',
inputs: [{ name: 'strategy', internalType: 'address', type: 'address' }],
name: 'addApprovedStrategy',
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [{ name: '', internalType: 'address', type: 'address' }],
name: 'approvedStrategies',
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
stateMutability: 'view',
},
{
type: 'function',
inputs: [],
name: 'cfaV1',
outputs: [
{
name: '',
internalType: 'contract IConstantFlowAgreementV1',
type: 'address',
},
],
stateMutability: 'view',
},
{
type: 'function',
inputs: [
{ name: 'user', internalType: 'address', type: 'address' },
{ name: 'superToken', internalType: 'address', type: 'address' },
{ name: 'liquidityToken', internalType: 'address', type: 'address' },
],
name: 'checkWrap',
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
stateMutability: 'view',
},
{
type: 'function',
inputs: [{ name: 'index', internalType: 'bytes32', type: 'bytes32' }],
name: 'checkWrapByIndex',
outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
stateMutability: 'view',
},
{
type: 'function',
inputs: [
{ name: 'superToken', internalType: 'address', type: 'address' },
{ name: 'strategy', internalType: 'address', type: 'address' },
{ name: 'liquidityToken', internalType: 'address', type: 'address' },
{ name: 'expiry', internalType: 'uint64', type: 'uint64' },
{ name: 'lowerLimit', internalType: 'uint64', type: 'uint64' },
{ name: 'upperLimit', internalType: 'uint64', type: 'uint64' },
],
name: 'createWrapSchedule',
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [
{ name: 'user', internalType: 'address', type: 'address' },
{ name: 'superToken', internalType: 'address', type: 'address' },
{ name: 'liquidityToken', internalType: 'address', type: 'address' },
],
name: 'deleteWrapSchedule',
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [{ name: 'index', internalType: 'bytes32', type: 'bytes32' }],
name: 'deleteWrapScheduleByIndex',
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [
{ name: 'user', internalType: 'address', type: 'address' },
{ name: 'superToken', internalType: 'address', type: 'address' },
{ name: 'liquidityToken', internalType: 'address', type: 'address' },
],
name: 'executeWrap',
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [{ name: 'index', internalType: 'bytes32', type: 'bytes32' }],
name: 'executeWrapByIndex',
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [
{ name: 'user', internalType: 'address', type: 'address' },
{ name: 'superToken', internalType: 'address', type: 'address' },
{ name: 'liquidityToken', internalType: 'address', type: 'address' },
],
name: 'getWrapSchedule',
outputs: [
{
name: '',
internalType: 'struct IManager.WrapSchedule',
type: 'tuple',
components: [
{ name: 'user', internalType: 'address', type: 'address' },
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
},
{
name: 'strategy',
internalType: 'contract IStrategy',
type: 'address',
},
{ name: 'liquidityToken', internalType: 'address', type: 'address' },
{ name: 'expiry', internalType: 'uint64', type: 'uint64' },
{ name: 'lowerLimit', internalType: 'uint64', type: 'uint64' },
{ name: 'upperLimit', internalType: 'uint64', type: 'uint64' },
],
},
],
stateMutability: 'view',
},
{
type: 'function',
inputs: [{ name: 'index', internalType: 'bytes32', type: 'bytes32' }],
name: 'getWrapScheduleByIndex',
outputs: [
{
name: '',
internalType: 'struct IManager.WrapSchedule',
type: 'tuple',
components: [
{ name: 'user', internalType: 'address', type: 'address' },
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
},
{
name: 'strategy',
internalType: 'contract IStrategy',
type: 'address',
},
{ name: 'liquidityToken', internalType: 'address', type: 'address' },
{ name: 'expiry', internalType: 'uint64', type: 'uint64' },
{ name: 'lowerLimit', internalType: 'uint64', type: 'uint64' },
{ name: 'upperLimit', internalType: 'uint64', type: 'uint64' },
],
},
],
stateMutability: 'view',
},
{
type: 'function',
inputs: [
{ name: 'user', internalType: 'address', type: 'address' },
{ name: 'superToken', internalType: 'address', type: 'address' },
{ name: 'liquidityToken', internalType: 'address', type: 'address' },
],
name: 'getWrapScheduleIndex',
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
stateMutability: 'pure',
},
{
type: 'function',
inputs: [],
name: 'minLower',
outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }],
stateMutability: 'view',
},
{
type: 'function',
inputs: [],
name: 'minUpper',
outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }],
stateMutability: 'view',
},
{
type: 'function',
inputs: [],
name: 'owner',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
stateMutability: 'view',
},
{
type: 'function',
inputs: [{ name: 'strategy', internalType: 'address', type: 'address' }],
name: 'removeApprovedStrategy',
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [],
name: 'renounceOwnership',
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [
{ name: 'lowerLimit', internalType: 'uint64', type: 'uint64' },
{ name: 'upperLimit', internalType: 'uint64', type: 'uint64' },
],
name: 'setLimits',
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
name: 'transferOwnership',
outputs: [],
stateMutability: 'nonpayable',
},
] as const
/**
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x30aE282CF477E2eF28B14d0125aCEAd57Fe1d7a1)
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x1fA76f2Cd0C3fe6c399A80111408d9C42C0CAC23)
* - [__View Contract on Bnb Smart Chain Bsc Scan__](https://bscscan.com/address/0x2AcdD61ac1EFFe1535109449c31889bdE8d7f325)
* - [__View Contract on Gnosis Gnosisscan__](https://gnosisscan.io/address/0x8082e58681350876aFe8f52d3Bf8672034A03Db0)
* - [__View Contract on Polygon Polygon Scan__](https://polygonscan.com/address/0x2581c27E7f6D6AF452E63fCe884EDE3EDd716b32)
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x041D4bF21367e9B92016B28Fb5A2f697c1befd01)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0xf01825eAFAe5CD1Dab5593EFAF218efC8968D272)
* - [__View Contract on Avalanche Fuji Snow Trace__](https://testnet.snowtrace.io/address/0x30aE282CF477E2eF28B14d0125aCEAd57Fe1d7a1)
* - [__View Contract on Avalanche Snow Trace__](https://snowtrace.io/address/0x8082e58681350876aFe8f52d3Bf8672034A03Db0)
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0xe567b32C10B0dB72d9490eB1B9A409C5ADed192C)
*/
export const autoWrapManagerAddress = {
1: '0x30aE282CF477E2eF28B14d0125aCEAd57Fe1d7a1',
10: '0x1fA76f2Cd0C3fe6c399A80111408d9C42C0CAC23',
56: '0x2AcdD61ac1EFFe1535109449c31889bdE8d7f325',
100: '0x8082e58681350876aFe8f52d3Bf8672034A03Db0',
137: '0x2581c27E7f6D6AF452E63fCe884EDE3EDd716b32',
8453: '0x041D4bF21367e9B92016B28Fb5A2f697c1befd01',
42161: '0xf01825eAFAe5CD1Dab5593EFAF218efC8968D272',
43113: '0x30aE282CF477E2eF28B14d0125aCEAd57Fe1d7a1',
43114: '0x8082e58681350876aFe8f52d3Bf8672034A03Db0',
11155420: '0xe567b32C10B0dB72d9490eB1B9A409C5ADed192C',
} as const
/**
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x30aE282CF477E2eF28B14d0125aCEAd57Fe1d7a1)
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x1fA76f2Cd0C3fe6c399A80111408d9C42C0CAC23)
* - [__View Contract on Bnb Smart Chain Bsc Scan__](https://bscscan.com/address/0x2AcdD61ac1EFFe1535109449c31889bdE8d7f325)
* - [__View Contract on Gnosis Gnosisscan__](https://gnosisscan.io/address/0x8082e58681350876aFe8f52d3Bf8672034A03Db0)
* - [__View Contract on Polygon Polygon Scan__](https://polygonscan.com/address/0x2581c27E7f6D6AF452E63fCe884EDE3EDd716b32)
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x041D4bF21367e9B92016B28Fb5A2f697c1befd01)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0xf01825eAFAe5CD1Dab5593EFAF218efC8968D272)
* - [__View Contract on Avalanche Fuji Snow Trace__](https://testnet.snowtrace.io/address/0x30aE282CF477E2eF28B14d0125aCEAd57Fe1d7a1)
* - [__View Contract on Avalanche Snow Trace__](https://snowtrace.io/address/0x8082e58681350876aFe8f52d3Bf8672034A03Db0)
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0xe567b32C10B0dB72d9490eB1B9A409C5ADed192C)
*/
export const autoWrapManagerConfig = {
address: autoWrapManagerAddress,
abi: autoWrapManagerAbi,
} as const
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// autoWrapStrategy
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x1D65c6d3AD39d454Ea8F682c49aE7744706eA96d)
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x0Cf060a501c0040e9CCC708eFE94079F501c6Bb4)
* - [__View Contract on Bnb Smart Chain Bsc Scan__](https://bscscan.com/address/0x9e308cb079ae130790F604b1030cDf386670f199)
* - [__View Contract on Gnosis Gnosisscan__](https://gnosisscan.io/address/0x51FBAbD31A615E14b1bC12E9d887f60997264a4E)
* - [__View Contract on Polygon Polygon Scan__](https://polygonscan.com/address/0xb4afa36BAd8c76976Dc77a21c9Ad711EF720eE4b)
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xD790CDE7A1B3194d8Ce3CF21544F03a770336E23)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x342076aA957B0ec8bC1d3893af719b288eA31e61)
* - [__View Contract on Avalanche Fuji Snow Trace__](https://testnet.snowtrace.io/address/0x1D65c6d3AD39d454Ea8F682c49aE7744706eA96d)
* - [__View Contract on Avalanche Snow Trace__](https://snowtrace.io/address/0x51FBAbD31A615E14b1bC12E9d887f60997264a4E)
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0xf232f1fd34CE12e24F4391865c2D6E374D2C34d9)
*/
export const autoWrapStrategyAbi = [
{
type: 'constructor',
inputs: [{ name: '_manager', internalType: 'address', type: 'address' }],
stateMutability: 'nonpayable',
},
{
type: 'error',
inputs: [
{ name: 'caller', internalType: 'address', type: 'address' },
{ name: 'expectedCaller', internalType: 'address', type: 'address' },
],
name: 'UnauthorizedCaller',
},
{
type: 'error',
inputs: [{ name: 'superToken', internalType: 'address', type: 'address' }],
name: 'UnsupportedSuperToken',
},
{ type: 'error', inputs: [], name: 'ZeroAddress' },
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'receiver',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'token',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'amount',
internalType: 'uint256',
type: 'uint256',
indexed: false,
},
],
name: 'EmergencyWithdrawInitiated',
},
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'oldManager',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'manager',
internalType: 'address',
type: 'address',
indexed: true,
},
],
name: 'ManagerChanged',
},
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'previousOwner',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'newOwner',
internalType: 'address',
type: 'address',
indexed: true,
},
],
name: 'OwnershipTransferred',
},
{
type: 'event',
anonymous: false,
inputs: [
{ name: 'user', internalType: 'address', type: 'address', indexed: true },
{
name: 'superToken',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'superTokenAmount',
internalType: 'uint256',
type: 'uint256',
indexed: false,
},
],
name: 'Wrapped',
},
{
type: 'function',
inputs: [{ name: 'newManager', internalType: 'address', type: 'address' }],
name: 'changeManager',
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
name: 'emergencyWithdraw',
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
},
],
name: 'isSupportedSuperToken',
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
stateMutability: 'view',
},
{
type: 'function',
inputs: [],
name: 'manager',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
stateMutability: 'view',
},
{
type: 'function',
inputs: [],
name: 'owner',
outputs: [{ name: '', internalType: 'address', type: 'address' }],
stateMutability: 'view',
},
{
type: 'function',
inputs: [],
name: 'renounceOwnership',
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
name: 'transferOwnership',
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [
{ name: 'user', internalType: 'address', type: 'address' },
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
},
{ name: 'superTokenAmount', internalType: 'uint256', type: 'uint256' },
],
name: 'wrap',
outputs: [],
stateMutability: 'nonpayable',
},
] as const
/**
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x1D65c6d3AD39d454Ea8F682c49aE7744706eA96d)
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x0Cf060a501c0040e9CCC708eFE94079F501c6Bb4)
* - [__View Contract on Bnb Smart Chain Bsc Scan__](https://bscscan.com/address/0x9e308cb079ae130790F604b1030cDf386670f199)
* - [__View Contract on Gnosis Gnosisscan__](https://gnosisscan.io/address/0x51FBAbD31A615E14b1bC12E9d887f60997264a4E)
* - [__View Contract on Polygon Polygon Scan__](https://polygonscan.com/address/0xb4afa36BAd8c76976Dc77a21c9Ad711EF720eE4b)
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xD790CDE7A1B3194d8Ce3CF21544F03a770336E23)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x342076aA957B0ec8bC1d3893af719b288eA31e61)
* - [__View Contract on Avalanche Fuji Snow Trace__](https://testnet.snowtrace.io/address/0x1D65c6d3AD39d454Ea8F682c49aE7744706eA96d)
* - [__View Contract on Avalanche Snow Trace__](https://snowtrace.io/address/0x51FBAbD31A615E14b1bC12E9d887f60997264a4E)
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0xf232f1fd34CE12e24F4391865c2D6E374D2C34d9)
*/
export const autoWrapStrategyAddress = {
1: '0x1D65c6d3AD39d454Ea8F682c49aE7744706eA96d',
10: '0x0Cf060a501c0040e9CCC708eFE94079F501c6Bb4',
56: '0x9e308cb079ae130790F604b1030cDf386670f199',
100: '0x51FBAbD31A615E14b1bC12E9d887f60997264a4E',
137: '0xb4afa36BAd8c76976Dc77a21c9Ad711EF720eE4b',
8453: '0xD790CDE7A1B3194d8Ce3CF21544F03a770336E23',
42161: '0x342076aA957B0ec8bC1d3893af719b288eA31e61',
43113: '0x1D65c6d3AD39d454Ea8F682c49aE7744706eA96d',
43114: '0x51FBAbD31A615E14b1bC12E9d887f60997264a4E',
11155420: '0xf232f1fd34CE12e24F4391865c2D6E374D2C34d9',
} as const
/**
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x1D65c6d3AD39d454Ea8F682c49aE7744706eA96d)
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x0Cf060a501c0040e9CCC708eFE94079F501c6Bb4)
* - [__View Contract on Bnb Smart Chain Bsc Scan__](https://bscscan.com/address/0x9e308cb079ae130790F604b1030cDf386670f199)
* - [__View Contract on Gnosis Gnosisscan__](https://gnosisscan.io/address/0x51FBAbD31A615E14b1bC12E9d887f60997264a4E)
* - [__View Contract on Polygon Polygon Scan__](https://polygonscan.com/address/0xb4afa36BAd8c76976Dc77a21c9Ad711EF720eE4b)
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xD790CDE7A1B3194d8Ce3CF21544F03a770336E23)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x342076aA957B0ec8bC1d3893af719b288eA31e61)
* - [__View Contract on Avalanche Fuji Snow Trace__](https://testnet.snowtrace.io/address/0x1D65c6d3AD39d454Ea8F682c49aE7744706eA96d)
* - [__View Contract on Avalanche Snow Trace__](https://snowtrace.io/address/0x51FBAbD31A615E14b1bC12E9d887f60997264a4E)
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0xf232f1fd34CE12e24F4391865c2D6E374D2C34d9)
*/
export const autoWrapStrategyConfig = {
address: autoWrapStrategyAddress,
abi: autoWrapStrategyAbi,
} as const
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// flowScheduler
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0xAA0cD305eD020137E302CeCede7b18c0A05aCCDA)
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x55c8fc400833eEa791087cF343Ff2409A39DeBcC)
* - [__View Contract on Bnb Smart Chain Bsc Scan__](https://bscscan.com/address/0x2f9e2A2A59405682d4F86779275CF5525AD7eC2B)
* - [__View Contract on Gnosis Gnosisscan__](https://gnosisscan.io/address/0x9cC7fc484fF588926149577e9330fA5b2cA74336)
* - [__View Contract on Polygon Polygon Scan__](https://polygonscan.com/address/0x55F7758dd99d5e185f4CC08d4Ad95B71f598264D)
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xC72CEd15204d02183c83fEbb918b183E400811Ee)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x3fA8B653F9abf91428800C0ba0F8D145a71F97A1)
* - [__View Contract on Avalanche Snow Trace__](https://snowtrace.io/address/0xF7AfF590E9DE493D7ACb421Fca7f1E35C1ad4Ce5)
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x73B1Ce21d03ad389C2A291B1d1dc4DAFE7B5Dc68)
*/
export const flowSchedulerAbi = [
{
type: 'constructor',
inputs: [
{ name: 'host', internalType: 'contract ISuperfluid', type: 'address' },
{ name: 'registrationKey', internalType: 'string', type: 'string' },
],
stateMutability: 'nonpayable',
},
{ type: 'error', inputs: [], name: 'AccountInvalid' },
{ type: 'error', inputs: [], name: 'HostInvalid' },
{ type: 'error', inputs: [], name: 'ScheduleInvalid' },
{ type: 'error', inputs: [], name: 'TimeWindowInvalid' },
{ type: 'error', inputs: [], name: 'UserDataInvalid' },
{ type: 'error', inputs: [], name: 'ZeroAddress' },
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
indexed: true,
},
{
name: 'sender',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'receiver',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'startDate',
internalType: 'uint32',
type: 'uint32',
indexed: false,
},
{
name: 'startMaxDelay',
internalType: 'uint32',
type: 'uint32',
indexed: false,
},
{
name: 'flowRate',
internalType: 'int96',
type: 'int96',
indexed: false,
},
{
name: 'startAmount',
internalType: 'uint256',
type: 'uint256',
indexed: false,
},
{
name: 'userData',
internalType: 'bytes',
type: 'bytes',
indexed: false,
},
],
name: 'CreateFlowExecuted',
},
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
indexed: true,
},
{
name: 'sender',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'receiver',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'endDate',
internalType: 'uint32',
type: 'uint32',
indexed: false,
},
{
name: 'userData',
internalType: 'bytes',
type: 'bytes',
indexed: false,
},
],
name: 'DeleteFlowExecuted',
},
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
indexed: true,
},
{
name: 'sender',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'receiver',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'startDate',
internalType: 'uint32',
type: 'uint32',
indexed: false,
},
{
name: 'startMaxDelay',
internalType: 'uint32',
type: 'uint32',
indexed: false,
},
{
name: 'flowRate',
internalType: 'int96',
type: 'int96',
indexed: false,
},
{
name: 'endDate',
internalType: 'uint32',
type: 'uint32',
indexed: false,
},
{
name: 'startAmount',
internalType: 'uint256',
type: 'uint256',
indexed: false,
},
{
name: 'userData',
internalType: 'bytes',
type: 'bytes',
indexed: false,
},
],
name: 'FlowScheduleCreated',
},
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
indexed: true,
},
{
name: 'sender',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'receiver',
internalType: 'address',
type: 'address',
indexed: true,
},
],
name: 'FlowScheduleDeleted',
},
{
type: 'function',
inputs: [
{ name: '', internalType: 'contract ISuperToken', type: 'address' },
{ name: '', internalType: 'address', type: 'address' },
{ name: '', internalType: 'bytes32', type: 'bytes32' },
{ name: '', internalType: 'bytes', type: 'bytes' },
{ name: '', internalType: 'bytes', type: 'bytes' },
{ name: '', internalType: 'bytes', type: 'bytes' },
],
name: 'afterAgreementCreated',
outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [
{ name: '', internalType: 'contract ISuperToken', type: 'address' },
{ name: '', internalType: 'address', type: 'address' },
{ name: '', internalType: 'bytes32', type: 'bytes32' },
{ name: '', internalType: 'bytes', type: 'bytes' },
{ name: '', internalType: 'bytes', type: 'bytes' },
{ name: '', internalType: 'bytes', type: 'bytes' },
],
name: 'afterAgreementTerminated',
outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [
{ name: '', internalType: 'contract ISuperToken', type: 'address' },
{ name: '', internalType: 'address', type: 'address' },
{ name: '', internalType: 'bytes32', type: 'bytes32' },
{ name: '', internalType: 'bytes', type: 'bytes' },
{ name: '', internalType: 'bytes', type: 'bytes' },
{ name: '', internalType: 'bytes', type: 'bytes' },
],
name: 'afterAgreementUpdated',
outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [
{ name: '', internalType: 'contract ISuperToken', type: 'address' },
{ name: '', internalType: 'address', type: 'address' },
{ name: '', internalType: 'bytes32', type: 'bytes32' },
{ name: '', internalType: 'bytes', type: 'bytes' },
{ name: '', internalType: 'bytes', type: 'bytes' },
],
name: 'beforeAgreementCreated',
outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
stateMutability: 'view',
},
{
type: 'function',
inputs: [
{ name: '', internalType: 'contract ISuperToken', type: 'address' },
{ name: '', internalType: 'address', type: 'address' },
{ name: '', internalType: 'bytes32', type: 'bytes32' },
{ name: '', internalType: 'bytes', type: 'bytes' },
{ name: '', internalType: 'bytes', type: 'bytes' },
],
name: 'beforeAgreementTerminated',
outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
stateMutability: 'view',
},
{
type: 'function',
inputs: [
{ name: '', internalType: 'contract ISuperToken', type: 'address' },
{ name: '', internalType: 'address', type: 'address' },
{ name: '', internalType: 'bytes32', type: 'bytes32' },
{ name: '', internalType: 'bytes', type: 'bytes' },
{ name: '', internalType: 'bytes', type: 'bytes' },
],
name: 'beforeAgreementUpdated',
outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
stateMutability: 'view',
},
{
type: 'function',
inputs: [],
name: 'cfaV1',
outputs: [
{ name: 'host', internalType: 'contract ISuperfluid', type: 'address' },
{
name: 'cfa',
internalType: 'contract IConstantFlowAgreementV1',
type: 'address',
},
],
stateMutability: 'view',
},
{
type: 'function',
inputs: [
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
},
{ name: 'receiver', internalType: 'address', type: 'address' },
{ name: 'startDate', internalType: 'uint32', type: 'uint32' },
{ name: 'startMaxDelay', internalType: 'uint32', type: 'uint32' },
{ name: 'flowRate', internalType: 'int96', type: 'int96' },
{ name: 'startAmount', internalType: 'uint256', type: 'uint256' },
{ name: 'endDate', internalType: 'uint32', type: 'uint32' },
{ name: 'userData', internalType: 'bytes', type: 'bytes' },
{ name: 'ctx', internalType: 'bytes', type: 'bytes' },
],
name: 'createFlowSchedule',
outputs: [{ name: 'newCtx', internalType: 'bytes', type: 'bytes' }],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
},
{ name: 'receiver', internalType: 'address', type: 'address' },
{ name: 'ctx', internalType: 'bytes', type: 'bytes' },
],
name: 'deleteFlowSchedule',
outputs: [{ name: 'newCtx', internalType: 'bytes', type: 'bytes' }],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
},
{ name: 'sender', internalType: 'address', type: 'address' },
{ name: 'receiver', internalType: 'address', type: 'address' },
{ name: 'userData', internalType: 'bytes', type: 'bytes' },
],
name: 'executeCreateFlow',
outputs: [{ name: 'success', internalType: 'bool', type: 'bool' }],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
},
{ name: 'sender', internalType: 'address', type: 'address' },
{ name: 'receiver', internalType: 'address', type: 'address' },
{ name: 'userData', internalType: 'bytes', type: 'bytes' },
],
name: 'executeDeleteFlow',
outputs: [{ name: 'success', internalType: 'bool', type: 'bool' }],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
name: 'flowSchedules',
outputs: [
{ name: 'startDate', internalType: 'uint32', type: 'uint32' },
{ name: 'startMaxDelay', internalType: 'uint32', type: 'uint32' },
{ name: 'endDate', internalType: 'uint32', type: 'uint32' },
{ name: 'flowRate', internalType: 'int96', type: 'int96' },
{ name: 'startAmount', internalType: 'uint256', type: 'uint256' },
{ name: 'userData', internalType: 'bytes32', type: 'bytes32' },
],
stateMutability: 'view',
},
{
type: 'function',
inputs: [
{ name: 'superToken', internalType: 'address', type: 'address' },
{ name: 'sender', internalType: 'address', type: 'address' },
{ name: 'receiver', internalType: 'address', type: 'address' },
],
name: 'getFlowSchedule',
outputs: [
{
name: '',
internalType: 'struct IFlowScheduler.FlowSchedule',
type: 'tuple',
components: [
{ name: 'startDate', internalType: 'uint32', type: 'uint32' },
{ name: 'startMaxDelay', internalType: 'uint32', type: 'uint32' },
{ name: 'endDate', internalType: 'uint32', type: 'uint32' },
{ name: 'flowRate', internalType: 'int96', type: 'int96' },
{ name: 'startAmount', internalType: 'uint256', type: 'uint256' },
{ name: 'userData', internalType: 'bytes32', type: 'bytes32' },
],
},
],
stateMutability: 'view',
},
] as const
/**
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0xAA0cD305eD020137E302CeCede7b18c0A05aCCDA)
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x55c8fc400833eEa791087cF343Ff2409A39DeBcC)
* - [__View Contract on Bnb Smart Chain Bsc Scan__](https://bscscan.com/address/0x2f9e2A2A59405682d4F86779275CF5525AD7eC2B)
* - [__View Contract on Gnosis Gnosisscan__](https://gnosisscan.io/address/0x9cC7fc484fF588926149577e9330fA5b2cA74336)
* - [__View Contract on Polygon Polygon Scan__](https://polygonscan.com/address/0x55F7758dd99d5e185f4CC08d4Ad95B71f598264D)
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xC72CEd15204d02183c83fEbb918b183E400811Ee)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x3fA8B653F9abf91428800C0ba0F8D145a71F97A1)
* - [__View Contract on Avalanche Snow Trace__](https://snowtrace.io/address/0xF7AfF590E9DE493D7ACb421Fca7f1E35C1ad4Ce5)
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x73B1Ce21d03ad389C2A291B1d1dc4DAFE7B5Dc68)
*/
export const flowSchedulerAddress = {
1: '0xAA0cD305eD020137E302CeCede7b18c0A05aCCDA',
10: '0x55c8fc400833eEa791087cF343Ff2409A39DeBcC',
56: '0x2f9e2A2A59405682d4F86779275CF5525AD7eC2B',
100: '0x9cC7fc484fF588926149577e9330fA5b2cA74336',
137: '0x55F7758dd99d5e185f4CC08d4Ad95B71f598264D',
8453: '0xC72CEd15204d02183c83fEbb918b183E400811Ee',
42161: '0x3fA8B653F9abf91428800C0ba0F8D145a71F97A1',
43114: '0xF7AfF590E9DE493D7ACb421Fca7f1E35C1ad4Ce5',
11155420: '0x73B1Ce21d03ad389C2A291B1d1dc4DAFE7B5Dc68',
} as const
/**
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0xAA0cD305eD020137E302CeCede7b18c0A05aCCDA)
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x55c8fc400833eEa791087cF343Ff2409A39DeBcC)
* - [__View Contract on Bnb Smart Chain Bsc Scan__](https://bscscan.com/address/0x2f9e2A2A59405682d4F86779275CF5525AD7eC2B)
* - [__View Contract on Gnosis Gnosisscan__](https://gnosisscan.io/address/0x9cC7fc484fF588926149577e9330fA5b2cA74336)
* - [__View Contract on Polygon Polygon Scan__](https://polygonscan.com/address/0x55F7758dd99d5e185f4CC08d4Ad95B71f598264D)
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xC72CEd15204d02183c83fEbb918b183E400811Ee)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x3fA8B653F9abf91428800C0ba0F8D145a71F97A1)
* - [__View Contract on Avalanche Snow Trace__](https://snowtrace.io/address/0xF7AfF590E9DE493D7ACb421Fca7f1E35C1ad4Ce5)
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x73B1Ce21d03ad389C2A291B1d1dc4DAFE7B5Dc68)
*/
export const flowSchedulerConfig = {
address: flowSchedulerAddress,
abi: flowSchedulerAbi,
} as const
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// legacyVestingSchedulerV1
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x39D5cBBa9adEBc25085a3918d36D5325546C001B)
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x65377d4dfE9c01639A41952B5083D58964782892)
* - [__View Contract on Bnb Smart Chain Bsc Scan__](https://bscscan.com/address/0x9B91c27f78376383003C6A12Ad12B341d016C5b9)
* - [__View Contract on Gnosis Gnosisscan__](https://gnosisscan.io/address/0x0170FFCC75d178d426EBad5b1a31451d00Ddbd0D)
* - [__View Contract on Polygon Polygon Scan__](https://polygonscan.com/address/0xcFE6382B33F2AdaFbE46e6A26A88E0182ae32b0c)
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xDF92D0E6Bcb9385FDe99aD21Ff5e47Fb47E3c6b2)
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x55c8fc400833eEa791087cF343Ff2409A39DeBcC)
* - [__View Contract on Avalanche Snow Trace__](https://snowtrace.io/address/0x3fA8B653F9abf91428800C0ba0F8D145a71F97A1)
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x27444c0235a4D921F3106475faeba0B5e7ABDD7a)
*/
export const legacyVestingSchedulerV1Abi = [
{
type: 'constructor',
inputs: [
{ name: 'host', internalType: 'contract ISuperfluid', type: 'address' },
{ name: 'registrationKey', internalType: 'string', type: 'string' },
],
stateMutability: 'nonpayable',
},
{ type: 'error', inputs: [], name: 'AccountInvalid' },
{ type: 'error', inputs: [], name: 'CliffInvalid' },
{ type: 'error', inputs: [], name: 'FlowRateInvalid' },
{ type: 'error', inputs: [], name: 'HostInvalid' },
{ type: 'error', inputs: [], name: 'ScheduleAlreadyExists' },
{ type: 'error', inputs: [], name: 'ScheduleDoesNotExist' },
{ type: 'error', inputs: [], name: 'ScheduleNotFlowing' },
{ type: 'error', inputs: [], name: 'TimeWindowInvalid' },
{ type: 'error', inputs: [], name: 'ZeroAddress' },
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
indexed: true,
},
{
name: 'sender',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'receiver',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'cliffAndFlowDate',
internalType: 'uint32',
type: 'uint32',
indexed: false,
},
{
name: 'flowRate',
internalType: 'int96',
type: 'int96',
indexed: false,
},
{
name: 'cliffAmount',
internalType: 'uint256',
type: 'uint256',
indexed: false,
},
{
name: 'flowDelayCompensation',
internalType: 'uint256',
type: 'uint256',
indexed: false,
},
],
name: 'VestingCliffAndFlowExecuted',
},
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
indexed: true,
},
{
name: 'sender',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'receiver',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'endDate',
internalType: 'uint32',
type: 'uint32',
indexed: false,
},
{
name: 'earlyEndCompensation',
internalType: 'uint256',
type: 'uint256',
indexed: false,
},
{
name: 'didCompensationFail',
internalType: 'bool',
type: 'bool',
indexed: false,
},
],
name: 'VestingEndExecuted',
},
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
indexed: true,
},
{
name: 'sender',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'receiver',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'endDate',
internalType: 'uint32',
type: 'uint32',
indexed: false,
},
],
name: 'VestingEndFailed',
},
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
indexed: true,
},
{
name: 'sender',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'receiver',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'startDate',
internalType: 'uint32',
type: 'uint32',
indexed: false,
},
{
name: 'cliffDate',
internalType: 'uint32',
type: 'uint32',
indexed: false,
},
{
name: 'flowRate',
internalType: 'int96',
type: 'int96',
indexed: false,
},
{
name: 'endDate',
internalType: 'uint32',
type: 'uint32',
indexed: false,
},
{
name: 'cliffAmount',
internalType: 'uint256',
type: 'uint256',
indexed: false,
},
],
name: 'VestingScheduleCreated',
},
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
indexed: true,
},
{
name: 'sender',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'receiver',
internalType: 'address',
type: 'address',
indexed: true,
},
],
name: 'VestingScheduleDeleted',
},
{
type: 'event',
anonymous: false,
inputs: [
{
name: 'superToken',
internalType: 'contract ISuperToken',
type: 'address',
indexed: true,
},
{
name: 'sender',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'receiver',
internalType: 'address',
type: 'address',
indexed: true,
},
{
name: 'oldEndDate',
internalType: 'uint32',
type: 'uint32',
indexed: false,
},
{
name: 'endDate',
internalType: 'uint32',
type: 'uint32',
indexed: false,
},
],
name: 'VestingScheduleUpdated',
},
{
type: 'function',
inputs: [],
name: 'END_DATE_VALID_BEFORE',
outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }],
stateMutability: 'view',
},
{
type: 'function',
inputs: [],
name: 'MIN_VESTING_DURATION',
outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }],
stateMutability: 'view',
},
{
type: 'function',
inputs: [],
name: 'START_DATE_VALID_AFTER',
outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }],
stateMutability: 'view',
},
{
type: 'function',
inputs: [
{ name: '', internalType: 'contract ISuperToken', type: 'address' },
{ name: '', internalType: 'address', type: 'address' },
{ name: '', internalType: 'bytes32', type: 'bytes32' },
{ name: '', internalType: 'bytes', type: 'bytes' },
{ name: '', internalType: 'bytes', type: 'bytes' },
{ name: '', internalType: 'bytes', type: 'bytes' },
],
name: 'afterAgreementCreated',
outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
stateMutability: 'nonpayable',
},
{
type: 'function',
inputs: [
{ name: '', internalType: 'contract ISuperToken', type: 'address' },
{ name: '', internalType: 'address', type: 'address' },
{ name: '', internalType: 'bytes32', type: 'bytes32' },
{ name: '', internalType: 'bytes', type: 'bytes' },
{ name: '', internalType: 'bytes', type: 'bytes' },
{ name: