@huma-finance/shared 0.0.11 → 0.0.12
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/dist/abis/types/ERC20TransferableReceivable.d.ts +96 -96
- package/dist/abis/types/Erc2612.d.ts +41 -41
- package/dist/abis/types/IConstantFlowAgreementV1.d.ts +77 -77
- package/dist/abis/types/ISuperfluid.d.ts +140 -140
- package/dist/abis/types/Multisend.d.ts +8 -8
- package/dist/abis/types/RealWorldReceivable.d.ts +129 -129
- package/dist/abis/types/StreamFactoringPool.d.ts +189 -189
- package/dist/abis/types/TradableStream.d.ts +129 -129
- package/dist/abis/types/TransferNFT.d.ts +7 -7
- package/dist/abis/types/factories/ERC20TransferableReceivable__factory.d.ts +3 -3
- package/dist/abis/types/factories/ERC20TransferableReceivable__factory.js +316 -316
- package/dist/abis/types/factories/ERC20TransferableReceivable__factory.js.map +1 -1
- package/dist/abis/types/factories/Erc2612__factory.d.ts +3 -3
- package/dist/abis/types/factories/Erc2612__factory.js +108 -108
- package/dist/abis/types/factories/Erc2612__factory.js.map +1 -1
- package/dist/abis/types/factories/IConstantFlowAgreementV1__factory.d.ts +3 -3
- package/dist/abis/types/factories/IConstantFlowAgreementV1__factory.js +449 -449
- package/dist/abis/types/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
- package/dist/abis/types/factories/ISuperfluid__factory.d.ts +3 -3
- package/dist/abis/types/factories/ISuperfluid__factory.js +540 -540
- package/dist/abis/types/factories/ISuperfluid__factory.js.map +1 -1
- package/dist/abis/types/factories/Multisend__factory.d.ts +3 -3
- package/dist/abis/types/factories/Multisend__factory.js +13 -13
- package/dist/abis/types/factories/Multisend__factory.js.map +1 -1
- package/dist/abis/types/factories/RealWorldReceivable__factory.d.ts +3 -3
- package/dist/abis/types/factories/RealWorldReceivable__factory.js +395 -395
- package/dist/abis/types/factories/RealWorldReceivable__factory.js.map +1 -1
- package/dist/abis/types/factories/StreamFactoringPool__factory.d.ts +3 -3
- package/dist/abis/types/factories/StreamFactoringPool__factory.js +719 -719
- package/dist/abis/types/factories/StreamFactoringPool__factory.js.map +1 -1
- package/dist/abis/types/factories/TradableStream__factory.d.ts +3 -3
- package/dist/abis/types/factories/TradableStream__factory.js +416 -416
- package/dist/abis/types/factories/TradableStream__factory.js.map +1 -1
- package/dist/abis/types/factories/TransferNFT__factory.d.ts +3 -3
- package/dist/abis/types/factories/TransferNFT__factory.js +12 -12
- package/dist/abis/types/factories/TransferNFT__factory.js.map +1 -1
- package/dist/abis/types/factories/index.d.ts +20 -20
- package/dist/abis/types/factories/index.js +20 -20
- package/dist/abis/types/factories/index.js.map +1 -1
- package/dist/abis/types/index.d.ts +41 -41
- package/dist/abis/types/index.js +21 -21
- package/dist/abis/types/index.js.map +1 -1
- package/dist/cjs/abis/types/ERC20TransferableReceivable.d.ts +96 -96
- package/dist/cjs/abis/types/Erc2612.d.ts +41 -41
- package/dist/cjs/abis/types/IConstantFlowAgreementV1.d.ts +77 -77
- package/dist/cjs/abis/types/ISuperfluid.d.ts +140 -140
- package/dist/cjs/abis/types/Multisend.d.ts +8 -8
- package/dist/cjs/abis/types/RealWorldReceivable.d.ts +129 -129
- package/dist/cjs/abis/types/StreamFactoringPool.d.ts +189 -189
- package/dist/cjs/abis/types/TradableStream.d.ts +129 -129
- package/dist/cjs/abis/types/TransferNFT.d.ts +7 -7
- package/dist/cjs/abis/types/factories/ERC20TransferableReceivable__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/ERC20TransferableReceivable__factory.js +315 -315
- package/dist/cjs/abis/types/factories/ERC20TransferableReceivable__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/Erc2612__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/Erc2612__factory.js +107 -107
- package/dist/cjs/abis/types/factories/Erc2612__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/IConstantFlowAgreementV1__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/IConstantFlowAgreementV1__factory.js +448 -448
- package/dist/cjs/abis/types/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/ISuperfluid__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/ISuperfluid__factory.js +539 -539
- package/dist/cjs/abis/types/factories/ISuperfluid__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/Multisend__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/Multisend__factory.js +12 -12
- package/dist/cjs/abis/types/factories/Multisend__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/RealWorldReceivable__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/RealWorldReceivable__factory.js +394 -394
- package/dist/cjs/abis/types/factories/RealWorldReceivable__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/StreamFactoringPool__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/StreamFactoringPool__factory.js +718 -718
- package/dist/cjs/abis/types/factories/StreamFactoringPool__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/TradableStream__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/TradableStream__factory.js +415 -415
- package/dist/cjs/abis/types/factories/TradableStream__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/TransferNFT__factory.d.ts +3 -3
- package/dist/cjs/abis/types/factories/TransferNFT__factory.js +11 -11
- package/dist/cjs/abis/types/factories/TransferNFT__factory.js.map +1 -1
- package/dist/cjs/abis/types/factories/index.d.ts +20 -20
- package/dist/cjs/abis/types/factories/index.js.map +1 -1
- package/dist/cjs/abis/types/index.d.ts +41 -41
- package/dist/cjs/abis/types/index.js.map +1 -1
- package/dist/cjs/hooks/useFactoring.js +13 -13
- package/dist/hooks/useFactoring.js +13 -13
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from
|
|
2
|
-
import type { FunctionFragment, Result, EventFragment } from
|
|
3
|
-
import type { Listener, Provider } from
|
|
4
|
-
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from
|
|
1
|
+
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from 'ethers';
|
|
2
|
+
import type { FunctionFragment, Result, EventFragment } from '@ethersproject/abi';
|
|
3
|
+
import type { Listener, Provider } from '@ethersproject/providers';
|
|
4
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from './common';
|
|
5
5
|
export declare namespace ISuperfluid {
|
|
6
6
|
type OperationStruct = {
|
|
7
7
|
operationType: PromiseOrValue<BigNumberish>;
|
|
@@ -54,171 +54,171 @@ export declare namespace ISuperfluid {
|
|
|
54
54
|
}
|
|
55
55
|
export interface ISuperfluidInterface extends utils.Interface {
|
|
56
56
|
functions: {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
57
|
+
'addToAgreementClassesBitmap(uint256,bytes32)': FunctionFragment;
|
|
58
|
+
'allowCompositeApp(address)': FunctionFragment;
|
|
59
|
+
'appCallbackPop(bytes,int256)': FunctionFragment;
|
|
60
|
+
'appCallbackPush(bytes,address,uint256,int256,address)': FunctionFragment;
|
|
61
|
+
'batchCall((uint32,address,bytes)[])': FunctionFragment;
|
|
62
|
+
'callAgreement(address,bytes,bytes)': FunctionFragment;
|
|
63
|
+
'callAgreementWithContext(address,bytes,bytes,bytes)': FunctionFragment;
|
|
64
|
+
'callAppAction(address,bytes)': FunctionFragment;
|
|
65
|
+
'callAppActionWithContext(address,bytes,bytes)': FunctionFragment;
|
|
66
|
+
'callAppAfterCallback(address,bytes,bool,bytes)': FunctionFragment;
|
|
67
|
+
'callAppBeforeCallback(address,bytes,bool,bytes)': FunctionFragment;
|
|
68
|
+
'ctxUseCredit(bytes,int256)': FunctionFragment;
|
|
69
|
+
'decodeCtx(bytes)': FunctionFragment;
|
|
70
|
+
'forwardBatchCall((uint32,address,bytes)[])': FunctionFragment;
|
|
71
|
+
'getAgreementClass(bytes32)': FunctionFragment;
|
|
72
|
+
'getAppCallbackLevel(address)': FunctionFragment;
|
|
73
|
+
'getAppManifest(address)': FunctionFragment;
|
|
74
|
+
'getGovernance()': FunctionFragment;
|
|
75
|
+
'getNow()': FunctionFragment;
|
|
76
|
+
'getSuperTokenFactory()': FunctionFragment;
|
|
77
|
+
'getSuperTokenFactoryLogic()': FunctionFragment;
|
|
78
|
+
'isAgreementClassListed(address)': FunctionFragment;
|
|
79
|
+
'isAgreementTypeListed(bytes32)': FunctionFragment;
|
|
80
|
+
'isApp(address)': FunctionFragment;
|
|
81
|
+
'isAppJailed(address)': FunctionFragment;
|
|
82
|
+
'isCompositeAppAllowed(address,address)': FunctionFragment;
|
|
83
|
+
'isCtxValid(bytes)': FunctionFragment;
|
|
84
|
+
'jailApp(bytes,address,uint256)': FunctionFragment;
|
|
85
|
+
'mapAgreementClasses(uint256)': FunctionFragment;
|
|
86
|
+
'registerAgreementClass(address)': FunctionFragment;
|
|
87
|
+
'registerApp(uint256)': FunctionFragment;
|
|
88
|
+
'registerAppByFactory(address,uint256)': FunctionFragment;
|
|
89
|
+
'registerAppWithKey(uint256,string)': FunctionFragment;
|
|
90
|
+
'removeFromAgreementClassesBitmap(uint256,bytes32)': FunctionFragment;
|
|
91
|
+
'replaceGovernance(address)': FunctionFragment;
|
|
92
|
+
'updateAgreementClass(address)': FunctionFragment;
|
|
93
|
+
'updateSuperTokenFactory(address)': FunctionFragment;
|
|
94
|
+
'updateSuperTokenLogic(address)': FunctionFragment;
|
|
95
95
|
};
|
|
96
|
-
getFunction(nameOrSignatureOrTopic:
|
|
97
|
-
encodeFunctionData(functionFragment:
|
|
98
|
-
encodeFunctionData(functionFragment:
|
|
99
|
-
encodeFunctionData(functionFragment:
|
|
100
|
-
encodeFunctionData(functionFragment:
|
|
96
|
+
getFunction(nameOrSignatureOrTopic: 'addToAgreementClassesBitmap' | 'allowCompositeApp' | 'appCallbackPop' | 'appCallbackPush' | 'batchCall' | 'callAgreement' | 'callAgreementWithContext' | 'callAppAction' | 'callAppActionWithContext' | 'callAppAfterCallback' | 'callAppBeforeCallback' | 'ctxUseCredit' | 'decodeCtx' | 'forwardBatchCall' | 'getAgreementClass' | 'getAppCallbackLevel' | 'getAppManifest' | 'getGovernance' | 'getNow' | 'getSuperTokenFactory' | 'getSuperTokenFactoryLogic' | 'isAgreementClassListed' | 'isAgreementTypeListed' | 'isApp' | 'isAppJailed' | 'isCompositeAppAllowed' | 'isCtxValid' | 'jailApp' | 'mapAgreementClasses' | 'registerAgreementClass' | 'registerApp' | 'registerAppByFactory' | 'registerAppWithKey' | 'removeFromAgreementClassesBitmap' | 'replaceGovernance' | 'updateAgreementClass' | 'updateSuperTokenFactory' | 'updateSuperTokenLogic'): FunctionFragment;
|
|
97
|
+
encodeFunctionData(functionFragment: 'addToAgreementClassesBitmap', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BytesLike>]): string;
|
|
98
|
+
encodeFunctionData(functionFragment: 'allowCompositeApp', values: [PromiseOrValue<string>]): string;
|
|
99
|
+
encodeFunctionData(functionFragment: 'appCallbackPop', values: [PromiseOrValue<BytesLike>, PromiseOrValue<BigNumberish>]): string;
|
|
100
|
+
encodeFunctionData(functionFragment: 'appCallbackPush', values: [
|
|
101
101
|
PromiseOrValue<BytesLike>,
|
|
102
102
|
PromiseOrValue<string>,
|
|
103
103
|
PromiseOrValue<BigNumberish>,
|
|
104
104
|
PromiseOrValue<BigNumberish>,
|
|
105
105
|
PromiseOrValue<string>
|
|
106
106
|
]): string;
|
|
107
|
-
encodeFunctionData(functionFragment:
|
|
108
|
-
encodeFunctionData(functionFragment:
|
|
107
|
+
encodeFunctionData(functionFragment: 'batchCall', values: [ISuperfluid.OperationStruct[]]): string;
|
|
108
|
+
encodeFunctionData(functionFragment: 'callAgreement', values: [
|
|
109
109
|
PromiseOrValue<string>,
|
|
110
110
|
PromiseOrValue<BytesLike>,
|
|
111
111
|
PromiseOrValue<BytesLike>
|
|
112
112
|
]): string;
|
|
113
|
-
encodeFunctionData(functionFragment:
|
|
113
|
+
encodeFunctionData(functionFragment: 'callAgreementWithContext', values: [
|
|
114
114
|
PromiseOrValue<string>,
|
|
115
115
|
PromiseOrValue<BytesLike>,
|
|
116
116
|
PromiseOrValue<BytesLike>,
|
|
117
117
|
PromiseOrValue<BytesLike>
|
|
118
118
|
]): string;
|
|
119
|
-
encodeFunctionData(functionFragment:
|
|
120
|
-
encodeFunctionData(functionFragment:
|
|
119
|
+
encodeFunctionData(functionFragment: 'callAppAction', values: [PromiseOrValue<string>, PromiseOrValue<BytesLike>]): string;
|
|
120
|
+
encodeFunctionData(functionFragment: 'callAppActionWithContext', values: [
|
|
121
121
|
PromiseOrValue<string>,
|
|
122
122
|
PromiseOrValue<BytesLike>,
|
|
123
123
|
PromiseOrValue<BytesLike>
|
|
124
124
|
]): string;
|
|
125
|
-
encodeFunctionData(functionFragment:
|
|
125
|
+
encodeFunctionData(functionFragment: 'callAppAfterCallback', values: [
|
|
126
126
|
PromiseOrValue<string>,
|
|
127
127
|
PromiseOrValue<BytesLike>,
|
|
128
128
|
PromiseOrValue<boolean>,
|
|
129
129
|
PromiseOrValue<BytesLike>
|
|
130
130
|
]): string;
|
|
131
|
-
encodeFunctionData(functionFragment:
|
|
131
|
+
encodeFunctionData(functionFragment: 'callAppBeforeCallback', values: [
|
|
132
132
|
PromiseOrValue<string>,
|
|
133
133
|
PromiseOrValue<BytesLike>,
|
|
134
134
|
PromiseOrValue<boolean>,
|
|
135
135
|
PromiseOrValue<BytesLike>
|
|
136
136
|
]): string;
|
|
137
|
-
encodeFunctionData(functionFragment:
|
|
138
|
-
encodeFunctionData(functionFragment:
|
|
139
|
-
encodeFunctionData(functionFragment:
|
|
140
|
-
encodeFunctionData(functionFragment:
|
|
141
|
-
encodeFunctionData(functionFragment:
|
|
142
|
-
encodeFunctionData(functionFragment:
|
|
143
|
-
encodeFunctionData(functionFragment:
|
|
144
|
-
encodeFunctionData(functionFragment:
|
|
145
|
-
encodeFunctionData(functionFragment:
|
|
146
|
-
encodeFunctionData(functionFragment:
|
|
147
|
-
encodeFunctionData(functionFragment:
|
|
148
|
-
encodeFunctionData(functionFragment:
|
|
149
|
-
encodeFunctionData(functionFragment:
|
|
150
|
-
encodeFunctionData(functionFragment:
|
|
151
|
-
encodeFunctionData(functionFragment:
|
|
152
|
-
encodeFunctionData(functionFragment:
|
|
153
|
-
encodeFunctionData(functionFragment:
|
|
137
|
+
encodeFunctionData(functionFragment: 'ctxUseCredit', values: [PromiseOrValue<BytesLike>, PromiseOrValue<BigNumberish>]): string;
|
|
138
|
+
encodeFunctionData(functionFragment: 'decodeCtx', values: [PromiseOrValue<BytesLike>]): string;
|
|
139
|
+
encodeFunctionData(functionFragment: 'forwardBatchCall', values: [ISuperfluid.OperationStruct[]]): string;
|
|
140
|
+
encodeFunctionData(functionFragment: 'getAgreementClass', values: [PromiseOrValue<BytesLike>]): string;
|
|
141
|
+
encodeFunctionData(functionFragment: 'getAppCallbackLevel', values: [PromiseOrValue<string>]): string;
|
|
142
|
+
encodeFunctionData(functionFragment: 'getAppManifest', values: [PromiseOrValue<string>]): string;
|
|
143
|
+
encodeFunctionData(functionFragment: 'getGovernance', values?: undefined): string;
|
|
144
|
+
encodeFunctionData(functionFragment: 'getNow', values?: undefined): string;
|
|
145
|
+
encodeFunctionData(functionFragment: 'getSuperTokenFactory', values?: undefined): string;
|
|
146
|
+
encodeFunctionData(functionFragment: 'getSuperTokenFactoryLogic', values?: undefined): string;
|
|
147
|
+
encodeFunctionData(functionFragment: 'isAgreementClassListed', values: [PromiseOrValue<string>]): string;
|
|
148
|
+
encodeFunctionData(functionFragment: 'isAgreementTypeListed', values: [PromiseOrValue<BytesLike>]): string;
|
|
149
|
+
encodeFunctionData(functionFragment: 'isApp', values: [PromiseOrValue<string>]): string;
|
|
150
|
+
encodeFunctionData(functionFragment: 'isAppJailed', values: [PromiseOrValue<string>]): string;
|
|
151
|
+
encodeFunctionData(functionFragment: 'isCompositeAppAllowed', values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
152
|
+
encodeFunctionData(functionFragment: 'isCtxValid', values: [PromiseOrValue<BytesLike>]): string;
|
|
153
|
+
encodeFunctionData(functionFragment: 'jailApp', values: [
|
|
154
154
|
PromiseOrValue<BytesLike>,
|
|
155
155
|
PromiseOrValue<string>,
|
|
156
156
|
PromiseOrValue<BigNumberish>
|
|
157
157
|
]): string;
|
|
158
|
-
encodeFunctionData(functionFragment:
|
|
159
|
-
encodeFunctionData(functionFragment:
|
|
160
|
-
encodeFunctionData(functionFragment:
|
|
161
|
-
encodeFunctionData(functionFragment:
|
|
162
|
-
encodeFunctionData(functionFragment:
|
|
163
|
-
encodeFunctionData(functionFragment:
|
|
164
|
-
encodeFunctionData(functionFragment:
|
|
165
|
-
encodeFunctionData(functionFragment:
|
|
166
|
-
encodeFunctionData(functionFragment:
|
|
167
|
-
encodeFunctionData(functionFragment:
|
|
168
|
-
decodeFunctionResult(functionFragment:
|
|
169
|
-
decodeFunctionResult(functionFragment:
|
|
170
|
-
decodeFunctionResult(functionFragment:
|
|
171
|
-
decodeFunctionResult(functionFragment:
|
|
172
|
-
decodeFunctionResult(functionFragment:
|
|
173
|
-
decodeFunctionResult(functionFragment:
|
|
174
|
-
decodeFunctionResult(functionFragment:
|
|
175
|
-
decodeFunctionResult(functionFragment:
|
|
176
|
-
decodeFunctionResult(functionFragment:
|
|
177
|
-
decodeFunctionResult(functionFragment:
|
|
178
|
-
decodeFunctionResult(functionFragment:
|
|
179
|
-
decodeFunctionResult(functionFragment:
|
|
180
|
-
decodeFunctionResult(functionFragment:
|
|
181
|
-
decodeFunctionResult(functionFragment:
|
|
182
|
-
decodeFunctionResult(functionFragment:
|
|
183
|
-
decodeFunctionResult(functionFragment:
|
|
184
|
-
decodeFunctionResult(functionFragment:
|
|
185
|
-
decodeFunctionResult(functionFragment:
|
|
186
|
-
decodeFunctionResult(functionFragment:
|
|
187
|
-
decodeFunctionResult(functionFragment:
|
|
188
|
-
decodeFunctionResult(functionFragment:
|
|
189
|
-
decodeFunctionResult(functionFragment:
|
|
190
|
-
decodeFunctionResult(functionFragment:
|
|
191
|
-
decodeFunctionResult(functionFragment:
|
|
192
|
-
decodeFunctionResult(functionFragment:
|
|
193
|
-
decodeFunctionResult(functionFragment:
|
|
194
|
-
decodeFunctionResult(functionFragment:
|
|
195
|
-
decodeFunctionResult(functionFragment:
|
|
196
|
-
decodeFunctionResult(functionFragment:
|
|
197
|
-
decodeFunctionResult(functionFragment:
|
|
198
|
-
decodeFunctionResult(functionFragment:
|
|
199
|
-
decodeFunctionResult(functionFragment:
|
|
200
|
-
decodeFunctionResult(functionFragment:
|
|
201
|
-
decodeFunctionResult(functionFragment:
|
|
202
|
-
decodeFunctionResult(functionFragment:
|
|
203
|
-
decodeFunctionResult(functionFragment:
|
|
204
|
-
decodeFunctionResult(functionFragment:
|
|
205
|
-
decodeFunctionResult(functionFragment:
|
|
158
|
+
encodeFunctionData(functionFragment: 'mapAgreementClasses', values: [PromiseOrValue<BigNumberish>]): string;
|
|
159
|
+
encodeFunctionData(functionFragment: 'registerAgreementClass', values: [PromiseOrValue<string>]): string;
|
|
160
|
+
encodeFunctionData(functionFragment: 'registerApp', values: [PromiseOrValue<BigNumberish>]): string;
|
|
161
|
+
encodeFunctionData(functionFragment: 'registerAppByFactory', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
162
|
+
encodeFunctionData(functionFragment: 'registerAppWithKey', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>]): string;
|
|
163
|
+
encodeFunctionData(functionFragment: 'removeFromAgreementClassesBitmap', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BytesLike>]): string;
|
|
164
|
+
encodeFunctionData(functionFragment: 'replaceGovernance', values: [PromiseOrValue<string>]): string;
|
|
165
|
+
encodeFunctionData(functionFragment: 'updateAgreementClass', values: [PromiseOrValue<string>]): string;
|
|
166
|
+
encodeFunctionData(functionFragment: 'updateSuperTokenFactory', values: [PromiseOrValue<string>]): string;
|
|
167
|
+
encodeFunctionData(functionFragment: 'updateSuperTokenLogic', values: [PromiseOrValue<string>]): string;
|
|
168
|
+
decodeFunctionResult(functionFragment: 'addToAgreementClassesBitmap', data: BytesLike): Result;
|
|
169
|
+
decodeFunctionResult(functionFragment: 'allowCompositeApp', data: BytesLike): Result;
|
|
170
|
+
decodeFunctionResult(functionFragment: 'appCallbackPop', data: BytesLike): Result;
|
|
171
|
+
decodeFunctionResult(functionFragment: 'appCallbackPush', data: BytesLike): Result;
|
|
172
|
+
decodeFunctionResult(functionFragment: 'batchCall', data: BytesLike): Result;
|
|
173
|
+
decodeFunctionResult(functionFragment: 'callAgreement', data: BytesLike): Result;
|
|
174
|
+
decodeFunctionResult(functionFragment: 'callAgreementWithContext', data: BytesLike): Result;
|
|
175
|
+
decodeFunctionResult(functionFragment: 'callAppAction', data: BytesLike): Result;
|
|
176
|
+
decodeFunctionResult(functionFragment: 'callAppActionWithContext', data: BytesLike): Result;
|
|
177
|
+
decodeFunctionResult(functionFragment: 'callAppAfterCallback', data: BytesLike): Result;
|
|
178
|
+
decodeFunctionResult(functionFragment: 'callAppBeforeCallback', data: BytesLike): Result;
|
|
179
|
+
decodeFunctionResult(functionFragment: 'ctxUseCredit', data: BytesLike): Result;
|
|
180
|
+
decodeFunctionResult(functionFragment: 'decodeCtx', data: BytesLike): Result;
|
|
181
|
+
decodeFunctionResult(functionFragment: 'forwardBatchCall', data: BytesLike): Result;
|
|
182
|
+
decodeFunctionResult(functionFragment: 'getAgreementClass', data: BytesLike): Result;
|
|
183
|
+
decodeFunctionResult(functionFragment: 'getAppCallbackLevel', data: BytesLike): Result;
|
|
184
|
+
decodeFunctionResult(functionFragment: 'getAppManifest', data: BytesLike): Result;
|
|
185
|
+
decodeFunctionResult(functionFragment: 'getGovernance', data: BytesLike): Result;
|
|
186
|
+
decodeFunctionResult(functionFragment: 'getNow', data: BytesLike): Result;
|
|
187
|
+
decodeFunctionResult(functionFragment: 'getSuperTokenFactory', data: BytesLike): Result;
|
|
188
|
+
decodeFunctionResult(functionFragment: 'getSuperTokenFactoryLogic', data: BytesLike): Result;
|
|
189
|
+
decodeFunctionResult(functionFragment: 'isAgreementClassListed', data: BytesLike): Result;
|
|
190
|
+
decodeFunctionResult(functionFragment: 'isAgreementTypeListed', data: BytesLike): Result;
|
|
191
|
+
decodeFunctionResult(functionFragment: 'isApp', data: BytesLike): Result;
|
|
192
|
+
decodeFunctionResult(functionFragment: 'isAppJailed', data: BytesLike): Result;
|
|
193
|
+
decodeFunctionResult(functionFragment: 'isCompositeAppAllowed', data: BytesLike): Result;
|
|
194
|
+
decodeFunctionResult(functionFragment: 'isCtxValid', data: BytesLike): Result;
|
|
195
|
+
decodeFunctionResult(functionFragment: 'jailApp', data: BytesLike): Result;
|
|
196
|
+
decodeFunctionResult(functionFragment: 'mapAgreementClasses', data: BytesLike): Result;
|
|
197
|
+
decodeFunctionResult(functionFragment: 'registerAgreementClass', data: BytesLike): Result;
|
|
198
|
+
decodeFunctionResult(functionFragment: 'registerApp', data: BytesLike): Result;
|
|
199
|
+
decodeFunctionResult(functionFragment: 'registerAppByFactory', data: BytesLike): Result;
|
|
200
|
+
decodeFunctionResult(functionFragment: 'registerAppWithKey', data: BytesLike): Result;
|
|
201
|
+
decodeFunctionResult(functionFragment: 'removeFromAgreementClassesBitmap', data: BytesLike): Result;
|
|
202
|
+
decodeFunctionResult(functionFragment: 'replaceGovernance', data: BytesLike): Result;
|
|
203
|
+
decodeFunctionResult(functionFragment: 'updateAgreementClass', data: BytesLike): Result;
|
|
204
|
+
decodeFunctionResult(functionFragment: 'updateSuperTokenFactory', data: BytesLike): Result;
|
|
205
|
+
decodeFunctionResult(functionFragment: 'updateSuperTokenLogic', data: BytesLike): Result;
|
|
206
206
|
events: {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
207
|
+
'AgreementClassRegistered(bytes32,address)': EventFragment;
|
|
208
|
+
'AgreementClassUpdated(bytes32,address)': EventFragment;
|
|
209
|
+
'AppRegistered(address)': EventFragment;
|
|
210
|
+
'GovernanceReplaced(address,address)': EventFragment;
|
|
211
|
+
'Jail(address,uint256)': EventFragment;
|
|
212
|
+
'SuperTokenFactoryUpdated(address)': EventFragment;
|
|
213
|
+
'SuperTokenLogicUpdated(address,address)': EventFragment;
|
|
214
214
|
};
|
|
215
|
-
getEvent(nameOrSignatureOrTopic:
|
|
216
|
-
getEvent(nameOrSignatureOrTopic:
|
|
217
|
-
getEvent(nameOrSignatureOrTopic:
|
|
218
|
-
getEvent(nameOrSignatureOrTopic:
|
|
219
|
-
getEvent(nameOrSignatureOrTopic:
|
|
220
|
-
getEvent(nameOrSignatureOrTopic:
|
|
221
|
-
getEvent(nameOrSignatureOrTopic:
|
|
215
|
+
getEvent(nameOrSignatureOrTopic: 'AgreementClassRegistered'): EventFragment;
|
|
216
|
+
getEvent(nameOrSignatureOrTopic: 'AgreementClassUpdated'): EventFragment;
|
|
217
|
+
getEvent(nameOrSignatureOrTopic: 'AppRegistered'): EventFragment;
|
|
218
|
+
getEvent(nameOrSignatureOrTopic: 'GovernanceReplaced'): EventFragment;
|
|
219
|
+
getEvent(nameOrSignatureOrTopic: 'Jail'): EventFragment;
|
|
220
|
+
getEvent(nameOrSignatureOrTopic: 'SuperTokenFactoryUpdated'): EventFragment;
|
|
221
|
+
getEvent(nameOrSignatureOrTopic: 'SuperTokenLogicUpdated'): EventFragment;
|
|
222
222
|
}
|
|
223
223
|
export interface AgreementClassRegisteredEventObject {
|
|
224
224
|
agreementType: string;
|
|
@@ -546,19 +546,19 @@ export interface ISuperfluid extends BaseContract {
|
|
|
546
546
|
updateSuperTokenLogic(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
|
|
547
547
|
};
|
|
548
548
|
filters: {
|
|
549
|
-
|
|
549
|
+
'AgreementClassRegistered(bytes32,address)'(agreementType?: null, code?: null): AgreementClassRegisteredEventFilter;
|
|
550
550
|
AgreementClassRegistered(agreementType?: null, code?: null): AgreementClassRegisteredEventFilter;
|
|
551
|
-
|
|
551
|
+
'AgreementClassUpdated(bytes32,address)'(agreementType?: null, code?: null): AgreementClassUpdatedEventFilter;
|
|
552
552
|
AgreementClassUpdated(agreementType?: null, code?: null): AgreementClassUpdatedEventFilter;
|
|
553
|
-
|
|
553
|
+
'AppRegistered(address)'(app?: PromiseOrValue<string> | null): AppRegisteredEventFilter;
|
|
554
554
|
AppRegistered(app?: PromiseOrValue<string> | null): AppRegisteredEventFilter;
|
|
555
|
-
|
|
555
|
+
'GovernanceReplaced(address,address)'(oldGov?: null, newGov?: null): GovernanceReplacedEventFilter;
|
|
556
556
|
GovernanceReplaced(oldGov?: null, newGov?: null): GovernanceReplacedEventFilter;
|
|
557
|
-
|
|
557
|
+
'Jail(address,uint256)'(app?: PromiseOrValue<string> | null, reason?: null): JailEventFilter;
|
|
558
558
|
Jail(app?: PromiseOrValue<string> | null, reason?: null): JailEventFilter;
|
|
559
|
-
|
|
559
|
+
'SuperTokenFactoryUpdated(address)'(newFactory?: null): SuperTokenFactoryUpdatedEventFilter;
|
|
560
560
|
SuperTokenFactoryUpdated(newFactory?: null): SuperTokenFactoryUpdatedEventFilter;
|
|
561
|
-
|
|
561
|
+
'SuperTokenLogicUpdated(address,address)'(token?: PromiseOrValue<string> | null, code?: null): SuperTokenLogicUpdatedEventFilter;
|
|
562
562
|
SuperTokenLogicUpdated(token?: PromiseOrValue<string> | null, code?: null): SuperTokenLogicUpdatedEventFilter;
|
|
563
563
|
};
|
|
564
564
|
estimateGas: {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type { BaseContract, BigNumber, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from
|
|
2
|
-
import type { FunctionFragment, Result } from
|
|
3
|
-
import type { Listener, Provider } from
|
|
4
|
-
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from
|
|
1
|
+
import type { BaseContract, BigNumber, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from 'ethers';
|
|
2
|
+
import type { FunctionFragment, Result } from '@ethersproject/abi';
|
|
3
|
+
import type { Listener, Provider } from '@ethersproject/providers';
|
|
4
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from './common';
|
|
5
5
|
export interface MultisendInterface extends utils.Interface {
|
|
6
6
|
functions: {
|
|
7
|
-
|
|
7
|
+
'multisend(address[],bytes[])': FunctionFragment;
|
|
8
8
|
};
|
|
9
|
-
getFunction(nameOrSignatureOrTopic:
|
|
10
|
-
encodeFunctionData(functionFragment:
|
|
11
|
-
decodeFunctionResult(functionFragment:
|
|
9
|
+
getFunction(nameOrSignatureOrTopic: 'multisend'): FunctionFragment;
|
|
10
|
+
encodeFunctionData(functionFragment: 'multisend', values: [PromiseOrValue<string>[], PromiseOrValue<BytesLike>[]]): string;
|
|
11
|
+
decodeFunctionResult(functionFragment: 'multisend', data: BytesLike): Result;
|
|
12
12
|
events: {};
|
|
13
13
|
}
|
|
14
14
|
export interface Multisend extends BaseContract {
|