@superfluid-finance/ethereum-contracts 1.2.3-dev.3df6de8.0 → 1.2.3-dev.4eebafa.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/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 +10 -10
- package/build/contracts/AgreementLibrary.json +4 -4
- package/build/contracts/BaseRelayRecipient.json +1 -1
- package/build/contracts/BatchLiquidator.json +1385 -1242
- package/build/contracts/BatchOperation.json +1 -1
- package/build/contracts/CFAv1Library.json +3437 -3625
- package/build/contracts/CallUtils.json +1 -1
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +4440 -4451
- package/build/contracts/ConstantFlowAgreementV1.json +5204 -5204
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +1 -1
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +2 -2
- 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 +1008 -1008
- package/build/contracts/ERC20Burnable.json +1 -1
- package/build/contracts/ERC20Pausable.json +1 -1
- package/build/contracts/ERC20PresetMinterPauser.json +1816 -1816
- package/build/contracts/ERC20WithTokenInfo.json +1 -1
- package/build/contracts/ERC777Helper.json +1 -1
- package/build/contracts/ERC777RecipientDrainingGas.json +1874 -1874
- package/build/contracts/ERC777RecipientReverting.json +1896 -1896
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +414 -0
- package/build/contracts/ExclusiveInflowTestApp.json +4468 -4479
- package/build/contracts/FixedSizeData.json +405 -405
- package/build/contracts/FlowExchangeTestApp.json +4578 -4589
- package/build/contracts/FlowOperatorDefinitions.json +1 -1
- package/build/contracts/FullUpgradableSuperTokenProxy.json +319 -319
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +2 -2
- package/build/contracts/IDAv1Library.json +3227 -3403
- 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/IERC777.json +1 -1
- package/build/contracts/IERC777Recipient.json +1 -1
- package/build/contracts/IERC777Sender.json +1 -1
- package/build/contracts/IInstantDistributionAgreementV1.json +2 -2
- package/build/contracts/IMaticBridgedNativeSuperToken.json +6 -6
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +2 -2
- package/build/contracts/IMultiSigWallet.json +1 -1
- package/build/contracts/IPureSuperToken.json +6 -6
- package/build/contracts/IPureSuperTokenCustom.json +2 -2
- package/build/contracts/IRelayRecipient.json +1 -1
- package/build/contracts/IResolver.json +1 -1
- package/build/contracts/ISETH.json +6 -6
- package/build/contracts/ISETHCustom.json +2 -2
- package/build/contracts/ISuperAgreement.json +2 -2
- package/build/contracts/ISuperApp.json +2 -2
- package/build/contracts/ISuperToken.json +6 -6
- package/build/contracts/ISuperTokenFactory.json +2 -2
- package/build/contracts/ISuperfluid.json +2 -2
- package/build/contracts/ISuperfluidGovernance.json +2 -2
- package/build/contracts/ISuperfluidToken.json +122 -122
- package/build/contracts/ITOGAv1.json +2689 -2739
- package/build/contracts/ITOGAv2.json +2689 -2739
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5387 -5387
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +971 -971
- package/build/contracts/NonClosableOutflowTestApp.json +4343 -4354
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Pausable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/PureSuperToken.json +694 -694
- package/build/contracts/Resolver.json +1058 -1058
- package/build/contracts/SETHProxy.json +661 -661
- 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 +4440 -4451
- package/build/contracts/SlotsBitmapLibrary.json +1757 -1757
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +2 -2
- package/build/contracts/SuperAppDefinitions.json +1 -1
- package/build/contracts/SuperToken.json +9757 -9515
- package/build/contracts/SuperTokenFactory.json +2074 -2074
- package/build/contracts/SuperTokenFactoryBase.json +989 -989
- package/build/contracts/SuperTokenFactoryHelper.json +1095 -1095
- package/build/contracts/SuperUpgrader.json +2495 -2495
- package/build/contracts/Superfluid.json +12978 -12978
- package/build/contracts/SuperfluidFrameworkDeployer.json +2042 -2042
- package/build/contracts/SuperfluidGovernanceBase.json +9 -9
- package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
- package/build/contracts/SuperfluidGovernanceII.json +2022 -2022
- package/build/contracts/SuperfluidGovernanceIIProxy.json +227 -227
- package/build/contracts/SuperfluidLoader.json +752 -752
- package/build/contracts/SuperfluidToken.json +3476 -2953
- package/build/contracts/TOGA.json +4681 -4731
- package/build/contracts/TestGovernance.json +2402 -2402
- package/build/contracts/TestToken.json +1267 -1267
- package/build/contracts/TokenCustodian.json +903 -903
- package/build/contracts/TokenInfo.json +1 -1
- package/build/contracts/UUPSProxiable.json +233 -233
- package/build/contracts/UUPSProxy.json +257 -257
- package/build/contracts/UUPSUtils.json +85 -85
- package/build/contracts-sizes.txt +6 -6
- package/contracts/apps/CFAv1Library.sol +147 -111
- package/contracts/apps/IDAv1Library.sol +133 -101
- package/contracts/interfaces/superfluid/ISuperfluidToken.sol +8 -8
- package/contracts/libs/EventsEmitter.sol +16 -0
- package/contracts/mocks/CFAAppMocks.sol +52 -36
- package/contracts/mocks/CustomSuperTokenMock.sol +11 -4
- package/contracts/mocks/IDASuperAppTester.sol +24 -18
- package/contracts/mocks/MultiFlowTesterApp.sol +33 -24
- package/contracts/mocks/SuperAppMocks.sol +54 -40
- package/contracts/superfluid/SuperfluidToken.sol +33 -31
- package/contracts/utils/BatchLiquidator.sol +15 -11
- package/contracts/utils/TOGA.sol +40 -30
- package/package.json +2 -2
|
@@ -7059,7 +7059,7 @@
|
|
|
7059
7059
|
},
|
|
7060
7060
|
"networks": {},
|
|
7061
7061
|
"schemaVersion": "3.4.7",
|
|
7062
|
-
"updatedAt": "2022-
|
|
7062
|
+
"updatedAt": "2022-06-06T10:25:55.054Z",
|
|
7063
7063
|
"devdoc": {
|
|
7064
7064
|
"details": "Library for managing https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive types. Sets have the following properties: - Elements are added, removed, and checked for existence in constant time (O(1)). - Elements are enumerated in O(n). No guarantees are made on the ordering. ``` contract Example { // Add the library methods using EnumerableSet for EnumerableSet.AddressSet; // Declare a set state variable EnumerableSet.AddressSet private mySet; } ``` As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) and `uint256` (`UintSet`) are supported.",
|
|
7065
7065
|
"kind": "dev",
|
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contractName": "EventsEmitter",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"anonymous": false,
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"indexed": true,
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "from",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"indexed": true,
|
|
15
|
+
"internalType": "address",
|
|
16
|
+
"name": "to",
|
|
17
|
+
"type": "address"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"indexed": false,
|
|
21
|
+
"internalType": "uint256",
|
|
22
|
+
"name": "value",
|
|
23
|
+
"type": "uint256"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"name": "Transfer",
|
|
27
|
+
"type": "event"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"metadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"}],\"devdoc\":{\"author\":\"Superfluid\",\"details\":\"A library used for emitting missing and unaccessable events. \",\"kind\":\"dev\",\"methods\":{},\"title\":\"Events Emitter Library\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/libs/EventsEmitter.sol\":\"EventsEmitter\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/libs/EventsEmitter.sol\":{\"keccak256\":\"0xd454206f297bbab7020fbdf6311c138227154433d574427dbc8c283107e8a01e\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://af0ffd28f03fe3a759ef8479c7451274c4816fbc7e9f37e4874612df20eebbc2\",\"dweb:/ipfs/QmfJou9yUti54ppcCiHnVf4ByFfRojqQPGdhGatPBT6Chr\"]}},\"version\":1}",
|
|
31
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209f3b0fbc716380ecff94d2d3ca7a18694c8fdccb54a249a06e84f8366a0e482964736f6c634300080d0033",
|
|
32
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209f3b0fbc716380ecff94d2d3ca7a18694c8fdccb54a249a06e84f8366a0e482964736f6c634300080d0033",
|
|
33
|
+
"immutableReferences": {},
|
|
34
|
+
"generatedSources": [],
|
|
35
|
+
"deployedGeneratedSources": [],
|
|
36
|
+
"sourceMap": "196:227:62:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;196:227:62;;;;;;;;;;;;;;;;;",
|
|
37
|
+
"deployedSourceMap": "196:227:62:-:0;;;;;;;;",
|
|
38
|
+
"source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.13;\n\n/**\n * @title Events Emitter Library\n * @author Superfluid\n * @dev A library used for emitting missing and unaccessable events.\n * \n */\nlibrary EventsEmitter {\n event Transfer(address indexed from, address indexed to, uint256 value);\n\n function emitTransfer(address from, address to, uint256 value) internal {\n emit Transfer(from, to, value);\n }\n}",
|
|
39
|
+
"sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/libs/EventsEmitter.sol",
|
|
40
|
+
"ast": {
|
|
41
|
+
"absolutePath": "project:/contracts/libs/EventsEmitter.sol",
|
|
42
|
+
"exportedSymbols": {
|
|
43
|
+
"EventsEmitter": [
|
|
44
|
+
19373
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"id": 19374,
|
|
48
|
+
"license": "AGPLv3",
|
|
49
|
+
"nodeType": "SourceUnit",
|
|
50
|
+
"nodes": [
|
|
51
|
+
{
|
|
52
|
+
"id": 19347,
|
|
53
|
+
"literals": [
|
|
54
|
+
"solidity",
|
|
55
|
+
"0.8",
|
|
56
|
+
".13"
|
|
57
|
+
],
|
|
58
|
+
"nodeType": "PragmaDirective",
|
|
59
|
+
"src": "35:23:62"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"abstract": false,
|
|
63
|
+
"baseContracts": [],
|
|
64
|
+
"canonicalName": "EventsEmitter",
|
|
65
|
+
"contractDependencies": [],
|
|
66
|
+
"contractKind": "library",
|
|
67
|
+
"documentation": {
|
|
68
|
+
"id": 19348,
|
|
69
|
+
"nodeType": "StructuredDocumentation",
|
|
70
|
+
"src": "60:135:62",
|
|
71
|
+
"text": " @title Events Emitter Library\n @author Superfluid\n @dev A library used for emitting missing and unaccessable events.\n "
|
|
72
|
+
},
|
|
73
|
+
"fullyImplemented": true,
|
|
74
|
+
"id": 19373,
|
|
75
|
+
"linearizedBaseContracts": [
|
|
76
|
+
19373
|
|
77
|
+
],
|
|
78
|
+
"name": "EventsEmitter",
|
|
79
|
+
"nameLocation": "204:13:62",
|
|
80
|
+
"nodeType": "ContractDefinition",
|
|
81
|
+
"nodes": [
|
|
82
|
+
{
|
|
83
|
+
"anonymous": false,
|
|
84
|
+
"eventSelector": "ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
|
|
85
|
+
"id": 19356,
|
|
86
|
+
"name": "Transfer",
|
|
87
|
+
"nameLocation": "230:8:62",
|
|
88
|
+
"nodeType": "EventDefinition",
|
|
89
|
+
"parameters": {
|
|
90
|
+
"id": 19355,
|
|
91
|
+
"nodeType": "ParameterList",
|
|
92
|
+
"parameters": [
|
|
93
|
+
{
|
|
94
|
+
"constant": false,
|
|
95
|
+
"id": 19350,
|
|
96
|
+
"indexed": true,
|
|
97
|
+
"mutability": "mutable",
|
|
98
|
+
"name": "from",
|
|
99
|
+
"nameLocation": "255:4:62",
|
|
100
|
+
"nodeType": "VariableDeclaration",
|
|
101
|
+
"scope": 19356,
|
|
102
|
+
"src": "239:20:62",
|
|
103
|
+
"stateVariable": false,
|
|
104
|
+
"storageLocation": "default",
|
|
105
|
+
"typeDescriptions": {
|
|
106
|
+
"typeIdentifier": "t_address",
|
|
107
|
+
"typeString": "address"
|
|
108
|
+
},
|
|
109
|
+
"typeName": {
|
|
110
|
+
"id": 19349,
|
|
111
|
+
"name": "address",
|
|
112
|
+
"nodeType": "ElementaryTypeName",
|
|
113
|
+
"src": "239:7:62",
|
|
114
|
+
"stateMutability": "nonpayable",
|
|
115
|
+
"typeDescriptions": {
|
|
116
|
+
"typeIdentifier": "t_address",
|
|
117
|
+
"typeString": "address"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"visibility": "internal"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"constant": false,
|
|
124
|
+
"id": 19352,
|
|
125
|
+
"indexed": true,
|
|
126
|
+
"mutability": "mutable",
|
|
127
|
+
"name": "to",
|
|
128
|
+
"nameLocation": "277:2:62",
|
|
129
|
+
"nodeType": "VariableDeclaration",
|
|
130
|
+
"scope": 19356,
|
|
131
|
+
"src": "261:18:62",
|
|
132
|
+
"stateVariable": false,
|
|
133
|
+
"storageLocation": "default",
|
|
134
|
+
"typeDescriptions": {
|
|
135
|
+
"typeIdentifier": "t_address",
|
|
136
|
+
"typeString": "address"
|
|
137
|
+
},
|
|
138
|
+
"typeName": {
|
|
139
|
+
"id": 19351,
|
|
140
|
+
"name": "address",
|
|
141
|
+
"nodeType": "ElementaryTypeName",
|
|
142
|
+
"src": "261:7:62",
|
|
143
|
+
"stateMutability": "nonpayable",
|
|
144
|
+
"typeDescriptions": {
|
|
145
|
+
"typeIdentifier": "t_address",
|
|
146
|
+
"typeString": "address"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"visibility": "internal"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"constant": false,
|
|
153
|
+
"id": 19354,
|
|
154
|
+
"indexed": false,
|
|
155
|
+
"mutability": "mutable",
|
|
156
|
+
"name": "value",
|
|
157
|
+
"nameLocation": "289:5:62",
|
|
158
|
+
"nodeType": "VariableDeclaration",
|
|
159
|
+
"scope": 19356,
|
|
160
|
+
"src": "281:13:62",
|
|
161
|
+
"stateVariable": false,
|
|
162
|
+
"storageLocation": "default",
|
|
163
|
+
"typeDescriptions": {
|
|
164
|
+
"typeIdentifier": "t_uint256",
|
|
165
|
+
"typeString": "uint256"
|
|
166
|
+
},
|
|
167
|
+
"typeName": {
|
|
168
|
+
"id": 19353,
|
|
169
|
+
"name": "uint256",
|
|
170
|
+
"nodeType": "ElementaryTypeName",
|
|
171
|
+
"src": "281:7:62",
|
|
172
|
+
"typeDescriptions": {
|
|
173
|
+
"typeIdentifier": "t_uint256",
|
|
174
|
+
"typeString": "uint256"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"visibility": "internal"
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
"src": "238:57:62"
|
|
181
|
+
},
|
|
182
|
+
"src": "224:72:62"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"body": {
|
|
186
|
+
"id": 19371,
|
|
187
|
+
"nodeType": "Block",
|
|
188
|
+
"src": "374:47:62",
|
|
189
|
+
"statements": [
|
|
190
|
+
{
|
|
191
|
+
"eventCall": {
|
|
192
|
+
"arguments": [
|
|
193
|
+
{
|
|
194
|
+
"id": 19366,
|
|
195
|
+
"name": "from",
|
|
196
|
+
"nodeType": "Identifier",
|
|
197
|
+
"overloadedDeclarations": [],
|
|
198
|
+
"referencedDeclaration": 19358,
|
|
199
|
+
"src": "398:4:62",
|
|
200
|
+
"typeDescriptions": {
|
|
201
|
+
"typeIdentifier": "t_address",
|
|
202
|
+
"typeString": "address"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"id": 19367,
|
|
207
|
+
"name": "to",
|
|
208
|
+
"nodeType": "Identifier",
|
|
209
|
+
"overloadedDeclarations": [],
|
|
210
|
+
"referencedDeclaration": 19360,
|
|
211
|
+
"src": "404:2:62",
|
|
212
|
+
"typeDescriptions": {
|
|
213
|
+
"typeIdentifier": "t_address",
|
|
214
|
+
"typeString": "address"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"id": 19368,
|
|
219
|
+
"name": "value",
|
|
220
|
+
"nodeType": "Identifier",
|
|
221
|
+
"overloadedDeclarations": [],
|
|
222
|
+
"referencedDeclaration": 19362,
|
|
223
|
+
"src": "408:5:62",
|
|
224
|
+
"typeDescriptions": {
|
|
225
|
+
"typeIdentifier": "t_uint256",
|
|
226
|
+
"typeString": "uint256"
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"expression": {
|
|
231
|
+
"argumentTypes": [
|
|
232
|
+
{
|
|
233
|
+
"typeIdentifier": "t_address",
|
|
234
|
+
"typeString": "address"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"typeIdentifier": "t_address",
|
|
238
|
+
"typeString": "address"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"typeIdentifier": "t_uint256",
|
|
242
|
+
"typeString": "uint256"
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"id": 19365,
|
|
246
|
+
"name": "Transfer",
|
|
247
|
+
"nodeType": "Identifier",
|
|
248
|
+
"overloadedDeclarations": [],
|
|
249
|
+
"referencedDeclaration": 19356,
|
|
250
|
+
"src": "389:8:62",
|
|
251
|
+
"typeDescriptions": {
|
|
252
|
+
"typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$",
|
|
253
|
+
"typeString": "function (address,address,uint256)"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"id": 19369,
|
|
257
|
+
"isConstant": false,
|
|
258
|
+
"isLValue": false,
|
|
259
|
+
"isPure": false,
|
|
260
|
+
"kind": "functionCall",
|
|
261
|
+
"lValueRequested": false,
|
|
262
|
+
"names": [],
|
|
263
|
+
"nodeType": "FunctionCall",
|
|
264
|
+
"src": "389:25:62",
|
|
265
|
+
"tryCall": false,
|
|
266
|
+
"typeDescriptions": {
|
|
267
|
+
"typeIdentifier": "t_tuple$__$",
|
|
268
|
+
"typeString": "tuple()"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"id": 19370,
|
|
272
|
+
"nodeType": "EmitStatement",
|
|
273
|
+
"src": "384:30:62"
|
|
274
|
+
}
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
"id": 19372,
|
|
278
|
+
"implemented": true,
|
|
279
|
+
"kind": "function",
|
|
280
|
+
"modifiers": [],
|
|
281
|
+
"name": "emitTransfer",
|
|
282
|
+
"nameLocation": "311:12:62",
|
|
283
|
+
"nodeType": "FunctionDefinition",
|
|
284
|
+
"parameters": {
|
|
285
|
+
"id": 19363,
|
|
286
|
+
"nodeType": "ParameterList",
|
|
287
|
+
"parameters": [
|
|
288
|
+
{
|
|
289
|
+
"constant": false,
|
|
290
|
+
"id": 19358,
|
|
291
|
+
"mutability": "mutable",
|
|
292
|
+
"name": "from",
|
|
293
|
+
"nameLocation": "332:4:62",
|
|
294
|
+
"nodeType": "VariableDeclaration",
|
|
295
|
+
"scope": 19372,
|
|
296
|
+
"src": "324:12:62",
|
|
297
|
+
"stateVariable": false,
|
|
298
|
+
"storageLocation": "default",
|
|
299
|
+
"typeDescriptions": {
|
|
300
|
+
"typeIdentifier": "t_address",
|
|
301
|
+
"typeString": "address"
|
|
302
|
+
},
|
|
303
|
+
"typeName": {
|
|
304
|
+
"id": 19357,
|
|
305
|
+
"name": "address",
|
|
306
|
+
"nodeType": "ElementaryTypeName",
|
|
307
|
+
"src": "324:7:62",
|
|
308
|
+
"stateMutability": "nonpayable",
|
|
309
|
+
"typeDescriptions": {
|
|
310
|
+
"typeIdentifier": "t_address",
|
|
311
|
+
"typeString": "address"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"visibility": "internal"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"constant": false,
|
|
318
|
+
"id": 19360,
|
|
319
|
+
"mutability": "mutable",
|
|
320
|
+
"name": "to",
|
|
321
|
+
"nameLocation": "346:2:62",
|
|
322
|
+
"nodeType": "VariableDeclaration",
|
|
323
|
+
"scope": 19372,
|
|
324
|
+
"src": "338:10:62",
|
|
325
|
+
"stateVariable": false,
|
|
326
|
+
"storageLocation": "default",
|
|
327
|
+
"typeDescriptions": {
|
|
328
|
+
"typeIdentifier": "t_address",
|
|
329
|
+
"typeString": "address"
|
|
330
|
+
},
|
|
331
|
+
"typeName": {
|
|
332
|
+
"id": 19359,
|
|
333
|
+
"name": "address",
|
|
334
|
+
"nodeType": "ElementaryTypeName",
|
|
335
|
+
"src": "338:7:62",
|
|
336
|
+
"stateMutability": "nonpayable",
|
|
337
|
+
"typeDescriptions": {
|
|
338
|
+
"typeIdentifier": "t_address",
|
|
339
|
+
"typeString": "address"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"visibility": "internal"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"constant": false,
|
|
346
|
+
"id": 19362,
|
|
347
|
+
"mutability": "mutable",
|
|
348
|
+
"name": "value",
|
|
349
|
+
"nameLocation": "358:5:62",
|
|
350
|
+
"nodeType": "VariableDeclaration",
|
|
351
|
+
"scope": 19372,
|
|
352
|
+
"src": "350:13:62",
|
|
353
|
+
"stateVariable": false,
|
|
354
|
+
"storageLocation": "default",
|
|
355
|
+
"typeDescriptions": {
|
|
356
|
+
"typeIdentifier": "t_uint256",
|
|
357
|
+
"typeString": "uint256"
|
|
358
|
+
},
|
|
359
|
+
"typeName": {
|
|
360
|
+
"id": 19361,
|
|
361
|
+
"name": "uint256",
|
|
362
|
+
"nodeType": "ElementaryTypeName",
|
|
363
|
+
"src": "350:7:62",
|
|
364
|
+
"typeDescriptions": {
|
|
365
|
+
"typeIdentifier": "t_uint256",
|
|
366
|
+
"typeString": "uint256"
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
"visibility": "internal"
|
|
370
|
+
}
|
|
371
|
+
],
|
|
372
|
+
"src": "323:41:62"
|
|
373
|
+
},
|
|
374
|
+
"returnParameters": {
|
|
375
|
+
"id": 19364,
|
|
376
|
+
"nodeType": "ParameterList",
|
|
377
|
+
"parameters": [],
|
|
378
|
+
"src": "374:0:62"
|
|
379
|
+
},
|
|
380
|
+
"scope": 19373,
|
|
381
|
+
"src": "302:119:62",
|
|
382
|
+
"stateMutability": "nonpayable",
|
|
383
|
+
"virtual": false,
|
|
384
|
+
"visibility": "internal"
|
|
385
|
+
}
|
|
386
|
+
],
|
|
387
|
+
"scope": 19374,
|
|
388
|
+
"src": "196:227:62",
|
|
389
|
+
"usedErrors": []
|
|
390
|
+
}
|
|
391
|
+
],
|
|
392
|
+
"src": "35:388:62"
|
|
393
|
+
},
|
|
394
|
+
"compiler": {
|
|
395
|
+
"name": "solc",
|
|
396
|
+
"version": "0.8.13+commit.abaa5c0e.Emscripten.clang"
|
|
397
|
+
},
|
|
398
|
+
"networks": {},
|
|
399
|
+
"schemaVersion": "3.4.7",
|
|
400
|
+
"updatedAt": "2022-06-06T10:25:55.187Z",
|
|
401
|
+
"devdoc": {
|
|
402
|
+
"author": "Superfluid",
|
|
403
|
+
"details": "A library used for emitting missing and unaccessable events. ",
|
|
404
|
+
"kind": "dev",
|
|
405
|
+
"methods": {},
|
|
406
|
+
"title": "Events Emitter Library",
|
|
407
|
+
"version": 1
|
|
408
|
+
},
|
|
409
|
+
"userdoc": {
|
|
410
|
+
"kind": "user",
|
|
411
|
+
"methods": {},
|
|
412
|
+
"version": 1
|
|
413
|
+
}
|
|
414
|
+
}
|