@superfluid-finance/ethereum-contracts 1.4.4-dev.b157ec2.0 → 1.4.4-dev.c2b2de3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/contracts/utils/TOGA.sol/ITOGAv3.json +194 -0
- package/artifacts/contracts/utils/TOGA.sol/TOGA.json +2 -33
- package/build/contracts/AccessControl.json +1 -1
- package/build/contracts/AccessControlEnumerable.json +1 -1
- package/build/contracts/Address.json +1 -1
- package/build/contracts/AgreementBase.json +1 -1
- package/build/contracts/AgreementLibrary.json +1 -1
- package/build/contracts/BaseRelayRecipient.json +1 -1
- package/build/contracts/BatchLiquidator.json +723 -723
- package/build/contracts/BatchOperation.json +1 -1
- package/build/contracts/CFAv1Forwarder.json +2050 -2050
- package/build/contracts/CFAv1Library.json +1 -1
- package/build/contracts/CallUtils.json +1 -1
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1566 -1566
- package/build/contracts/ConstantFlowAgreementV1.json +4582 -4582
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +1 -1
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +79 -79
- package/build/contracts/ERC1820RegistryCompiled.json +1 -1
- package/build/contracts/ERC20.json +1289 -1289
- package/build/contracts/ERC20WithTokenInfo.json +1 -1
- package/build/contracts/ERC777Helper.json +1 -1
- package/build/contracts/ERC777RecipientDrainingGas.json +350 -350
- package/build/contracts/ERC777RecipientReverting.json +373 -373
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +1 -1
- package/build/contracts/ExclusiveInflowTestApp.json +1594 -1594
- package/build/contracts/FixedSizeData.json +1 -1
- package/build/contracts/FlowExchangeTestApp.json +1704 -1704
- package/build/contracts/FlowOperatorDefinitions.json +1 -1
- package/build/contracts/FullUpgradableSuperTokenProxy.json +74 -74
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementHook.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +1 -1
- package/build/contracts/IDAv1Library.json +1 -1
- package/build/contracts/IERC165.json +1 -1
- package/build/contracts/IERC1820Implementer.json +1 -1
- package/build/contracts/IERC1820Registry.json +1 -1
- package/build/contracts/IERC20.json +1 -1
- package/build/contracts/IERC20Metadata.json +1 -1
- package/build/contracts/IERC20Permit.json +1 -1
- package/build/contracts/IERC777.json +1 -1
- package/build/contracts/IERC777Recipient.json +1 -1
- package/build/contracts/IERC777Sender.json +1 -1
- package/build/contracts/IInstantDistributionAgreementV1.json +1 -1
- package/build/contracts/IMultiSigWallet.json +1 -1
- package/build/contracts/IPureSuperToken.json +1 -1
- package/build/contracts/IPureSuperTokenCustom.json +1 -1
- package/build/contracts/IRelayRecipient.json +1 -1
- package/build/contracts/IResolver.json +1 -1
- package/build/contracts/ISETH.json +1 -1
- package/build/contracts/ISETHCustom.json +1 -1
- package/build/contracts/ISuperAgreement.json +1 -1
- package/build/contracts/ISuperApp.json +1 -1
- package/build/contracts/ISuperToken.json +1 -1
- package/build/contracts/ISuperTokenFactory.json +1 -1
- package/build/contracts/ISuperfluid.json +1 -1
- package/build/contracts/ISuperfluidGovernance.json +1 -1
- package/build/contracts/ISuperfluidToken.json +1 -1
- package/build/contracts/ITOGAv1.json +2099 -2898
- package/build/contracts/ITOGAv2.json +2098 -2897
- package/build/contracts/ITOGAv3.json +10990 -0
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5077 -5077
- package/build/contracts/NonClosableOutflowTestApp.json +1469 -1469
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/PureSuperToken.json +534 -534
- package/build/contracts/Resolver.json +885 -885
- package/build/contracts/SETHProxy.json +293 -293
- package/build/contracts/SafeCast.json +1 -1
- package/build/contracts/SafeERC20.json +1 -1
- package/build/contracts/SafeMath.json +1 -1
- package/build/contracts/SelfDeletingFlowTestApp.json +1566 -1566
- package/build/contracts/SlotsBitmapLibrary.json +971 -971
- package/build/contracts/StreamRedirector.json +1956 -1956
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +1 -1
- package/build/contracts/SuperAppDefinitions.json +1 -1
- package/build/contracts/SuperToken.json +4575 -4575
- package/build/contracts/SuperTokenFactory.json +1753 -1753
- package/build/contracts/SuperTokenFactoryBase.json +1 -1
- package/build/contracts/SuperTokenFactoryHelper.json +104 -104
- package/build/contracts/SuperUpgrader.json +1718 -1718
- package/build/contracts/Superfluid.json +4566 -4566
- package/build/contracts/SuperfluidFrameworkDeployer.json +2400 -2400
- package/build/contracts/SuperfluidGovernanceBase.json +1 -1
- package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
- package/build/contracts/SuperfluidGovernanceII.json +2438 -2438
- package/build/contracts/SuperfluidGovernanceIIProxy.json +211 -211
- package/build/contracts/SuperfluidLoader.json +500 -500
- package/build/contracts/SuperfluidToken.json +1 -1
- package/build/contracts/TOGA.json +4255 -6226
- package/build/contracts/TestGovernance.json +2494 -2494
- package/build/contracts/TestResolver.json +964 -964
- package/build/contracts/TestToken.json +1478 -1478
- package/build/contracts/TokenInfo.json +1 -1
- package/build/contracts/UUPSProxiable.json +1 -1
- package/build/contracts/UUPSProxy.json +116 -116
- package/build/contracts/UUPSUtils.json +1 -1
- package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.d.ts +158 -0
- package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.d.ts.map +1 -0
- package/build/typechain/contracts/utils/{TokenCustodian.js → TOGA.sol/ITOGAv3.js} +1 -1
- package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.js.map +1 -0
- package/build/typechain/contracts/utils/TOGA.sol/TOGA.d.ts +1 -25
- package/build/typechain/contracts/utils/TOGA.sol/TOGA.d.ts.map +1 -1
- package/build/typechain/contracts/utils/TOGA.sol/index.d.ts +1 -0
- package/build/typechain/contracts/utils/TOGA.sol/index.d.ts.map +1 -1
- package/build/typechain/contracts/utils/index.d.ts +0 -1
- package/build/typechain/contracts/utils/index.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.d.ts +36 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.d.ts.map +1 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.js +203 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.js.map +1 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.d.ts +3 -3
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.js +5 -36
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.js.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.d.ts +1 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.js +3 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.js.map +1 -1
- package/build/typechain/factories/contracts/utils/index.d.ts +0 -1
- package/build/typechain/factories/contracts/utils/index.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/index.js +1 -3
- package/build/typechain/factories/contracts/utils/index.js.map +1 -1
- package/build/typechain/index.d.ts +2 -2
- package/build/typechain/index.d.ts.map +1 -1
- package/build/typechain/index.js +3 -3
- package/build/typechain/index.js.map +1 -1
- package/contracts/utils/TOGA.sol +16 -28
- package/package.json +2 -2
- package/scripts/deploy-aux-contracts.js +1 -5
- package/artifacts/contracts/utils/TokenCustodian.sol/TokenCustodian.json +0 -146
- package/build/contracts/TokenCustodian.json +0 -5052
- package/build/typechain/contracts/utils/TokenCustodian.d.ts +0 -114
- package/build/typechain/contracts/utils/TokenCustodian.d.ts.map +0 -1
- package/build/typechain/contracts/utils/TokenCustodian.js.map +0 -1
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.d.ts +0 -56
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.d.ts.map +0 -1
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.js +0 -178
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.js.map +0 -1
- package/contracts/utils/TokenCustodian.sol +0 -55
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "TokenCustodian",
|
|
4
|
-
"sourceName": "contracts/utils/TokenCustodian.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [],
|
|
8
|
-
"stateMutability": "nonpayable",
|
|
9
|
-
"type": "constructor"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"anonymous": false,
|
|
13
|
-
"inputs": [
|
|
14
|
-
{
|
|
15
|
-
"indexed": true,
|
|
16
|
-
"internalType": "contract IERC777",
|
|
17
|
-
"name": "token",
|
|
18
|
-
"type": "address"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"indexed": false,
|
|
22
|
-
"internalType": "address",
|
|
23
|
-
"name": "recipient",
|
|
24
|
-
"type": "address"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"indexed": false,
|
|
28
|
-
"internalType": "uint256",
|
|
29
|
-
"name": "amount",
|
|
30
|
-
"type": "uint256"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"name": "CustodianDeposit",
|
|
34
|
-
"type": "event"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"anonymous": false,
|
|
38
|
-
"inputs": [
|
|
39
|
-
{
|
|
40
|
-
"indexed": true,
|
|
41
|
-
"internalType": "contract IERC777",
|
|
42
|
-
"name": "token",
|
|
43
|
-
"type": "address"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"indexed": false,
|
|
47
|
-
"internalType": "address",
|
|
48
|
-
"name": "recipient",
|
|
49
|
-
"type": "address"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"indexed": false,
|
|
53
|
-
"internalType": "uint256",
|
|
54
|
-
"name": "amount",
|
|
55
|
-
"type": "uint256"
|
|
56
|
-
}
|
|
57
|
-
],
|
|
58
|
-
"name": "CustodianWithdrawal",
|
|
59
|
-
"type": "event"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"inputs": [
|
|
63
|
-
{
|
|
64
|
-
"internalType": "contract IERC777",
|
|
65
|
-
"name": "",
|
|
66
|
-
"type": "address"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"internalType": "address",
|
|
70
|
-
"name": "",
|
|
71
|
-
"type": "address"
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"name": "balances",
|
|
75
|
-
"outputs": [
|
|
76
|
-
{
|
|
77
|
-
"internalType": "uint256",
|
|
78
|
-
"name": "",
|
|
79
|
-
"type": "uint256"
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
|
-
"stateMutability": "view",
|
|
83
|
-
"type": "function"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"inputs": [
|
|
87
|
-
{
|
|
88
|
-
"internalType": "contract IERC777",
|
|
89
|
-
"name": "token",
|
|
90
|
-
"type": "address"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"internalType": "address",
|
|
94
|
-
"name": "recipient",
|
|
95
|
-
"type": "address"
|
|
96
|
-
}
|
|
97
|
-
],
|
|
98
|
-
"name": "flush",
|
|
99
|
-
"outputs": [],
|
|
100
|
-
"stateMutability": "nonpayable",
|
|
101
|
-
"type": "function"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"inputs": [
|
|
105
|
-
{
|
|
106
|
-
"internalType": "address",
|
|
107
|
-
"name": "",
|
|
108
|
-
"type": "address"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"internalType": "address",
|
|
112
|
-
"name": "",
|
|
113
|
-
"type": "address"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"internalType": "address",
|
|
117
|
-
"name": "",
|
|
118
|
-
"type": "address"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"internalType": "uint256",
|
|
122
|
-
"name": "amount",
|
|
123
|
-
"type": "uint256"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"internalType": "bytes",
|
|
127
|
-
"name": "userData",
|
|
128
|
-
"type": "bytes"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"internalType": "bytes",
|
|
132
|
-
"name": "",
|
|
133
|
-
"type": "bytes"
|
|
134
|
-
}
|
|
135
|
-
],
|
|
136
|
-
"name": "tokensReceived",
|
|
137
|
-
"outputs": [],
|
|
138
|
-
"stateMutability": "nonpayable",
|
|
139
|
-
"type": "function"
|
|
140
|
-
}
|
|
141
|
-
],
|
|
142
|
-
"bytecode": "0x608060405234801561001057600080fd5b506040516329965a1d60e01b815230600482018190527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b60248301526044820152731820a4b7618bde71dce8cdc73aab6c95905fad24906329965a1d90606401600060405180830381600087803b15801561008a57600080fd5b505af115801561009e573d6000803e3d6000fd5b50505050610424806100b16000396000f3fe608060405234801561001057600080fd5b50600436106100405760003560e01c806223de29146100455780639cfddc361461005a578063c23f001f1461006d575b600080fd5b6100586100533660046102b9565b6100a7565b005b61005861006836600461036a565b610147565b61009561007b36600461036a565b600060208181529281526040808220909352908152205481565b60405190815260200160405180910390f35b3360006100b6858701876103a3565b6001600160a01b038084166000908152602081815260408083209385168352929052908120805492935089929091906100f09084906103c7565b9091555050604080516001600160a01b038381168252602082018a90528416917f9318b8aa904a44e8e096d937e3ff0488521fd9ce8db68cb8b120e2a08cbc02a1910160405180910390a250505050505050505050565b6001600160a01b03808316600090815260208181526040808320938516835292905220548015610253576001600160a01b03838116600081815260208181526040808320948716808452949091528082209190915551634decdde360e11b815260048101929092526024820183905260606044830152600360648301526203078360ec1b608483015290639bd9bbc69060a401600060405180830381600087803b1580156101f457600080fd5b505af1158015610208573d6000803e3d6000fd5b5050604080516001600160a01b03868116825260208201869052871693507f6ee58811e1c06f9971bf4c156175fabb19413d8a51841c2231beee4f3c04e73f92500160405180910390a25b505050565b6001600160a01b038116811461026d57600080fd5b50565b60008083601f84011261028257600080fd5b50813567ffffffffffffffff81111561029a57600080fd5b6020830191508360208285010111156102b257600080fd5b9250929050565b60008060008060008060008060c0898b0312156102d557600080fd5b88356102e081610258565b975060208901356102f081610258565b9650604089013561030081610258565b955060608901359450608089013567ffffffffffffffff8082111561032457600080fd5b6103308c838d01610270565b909650945060a08b013591508082111561034957600080fd5b506103568b828c01610270565b999c989b5096995094979396929594505050565b6000806040838503121561037d57600080fd5b823561038881610258565b9150602083013561039881610258565b809150509250929050565b6000602082840312156103b557600080fd5b81356103c081610258565b9392505050565b808201808211156103e857634e487b7160e01b600052601160045260246000fd5b9291505056fea26469706673582212209aedc8c1f5d403ac9f2e609026b1f0d149e2f1471cbc37d81ab7b3d81c84fac064736f6c63430008100033",
|
|
143
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100405760003560e01c806223de29146100455780639cfddc361461005a578063c23f001f1461006d575b600080fd5b6100586100533660046102b9565b6100a7565b005b61005861006836600461036a565b610147565b61009561007b36600461036a565b600060208181529281526040808220909352908152205481565b60405190815260200160405180910390f35b3360006100b6858701876103a3565b6001600160a01b038084166000908152602081815260408083209385168352929052908120805492935089929091906100f09084906103c7565b9091555050604080516001600160a01b038381168252602082018a90528416917f9318b8aa904a44e8e096d937e3ff0488521fd9ce8db68cb8b120e2a08cbc02a1910160405180910390a250505050505050505050565b6001600160a01b03808316600090815260208181526040808320938516835292905220548015610253576001600160a01b03838116600081815260208181526040808320948716808452949091528082209190915551634decdde360e11b815260048101929092526024820183905260606044830152600360648301526203078360ec1b608483015290639bd9bbc69060a401600060405180830381600087803b1580156101f457600080fd5b505af1158015610208573d6000803e3d6000fd5b5050604080516001600160a01b03868116825260208201869052871693507f6ee58811e1c06f9971bf4c156175fabb19413d8a51841c2231beee4f3c04e73f92500160405180910390a25b505050565b6001600160a01b038116811461026d57600080fd5b50565b60008083601f84011261028257600080fd5b50813567ffffffffffffffff81111561029a57600080fd5b6020830191508360208285010111156102b257600080fd5b9250929050565b60008060008060008060008060c0898b0312156102d557600080fd5b88356102e081610258565b975060208901356102f081610258565b9650604089013561030081610258565b955060608901359450608089013567ffffffffffffffff8082111561032457600080fd5b6103308c838d01610270565b909650945060a08b013591508082111561034957600080fd5b506103568b828c01610270565b999c989b5096995094979396929594505050565b6000806040838503121561037d57600080fd5b823561038881610258565b9150602083013561039881610258565b809150509250929050565b6000602082840312156103b557600080fd5b81356103c081610258565b9392505050565b808201808211156103e857634e487b7160e01b600052601160045260246000fd5b9291505056fea26469706673582212209aedc8c1f5d403ac9f2e609026b1f0d149e2f1471cbc37d81ab7b3d81c84fac064736f6c63430008100033",
|
|
144
|
-
"linkReferences": {},
|
|
145
|
-
"deployedLinkReferences": {}
|
|
146
|
-
}
|