@superfluid-finance/ethereum-contracts 1.3.2-dev.32db5c3.0 → 1.3.2-dev.5081272.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 +9 -9
- package/build/contracts/AgreementLibrary.json +1 -1
- package/build/contracts/BaseRelayRecipient.json +112 -112
- package/build/contracts/BatchLiquidator.json +1043 -1043
- package/build/contracts/BatchOperation.json +1 -1
- package/build/contracts/CFAv1Forwarder.json +2042 -2042
- package/build/contracts/CFAv1Library.json +1 -1
- package/build/contracts/CallUtils.json +478 -478
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +3618 -3618
- package/build/contracts/ConstantFlowAgreementV1.json +5187 -5187
- 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 +1 -1
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +79 -79
- package/build/contracts/ERC1820RegistryCompiled.json +43 -43
- 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 +6 -6
- package/build/contracts/ERC777Helper.json +660 -660
- package/build/contracts/ERC777RecipientDrainingGas.json +1871 -1871
- package/build/contracts/ERC777RecipientReverting.json +1893 -1893
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +82 -82
- package/build/contracts/ExclusiveInflowTestApp.json +3646 -3646
- package/build/contracts/FixedSizeData.json +405 -405
- package/build/contracts/FlowExchangeTestApp.json +3756 -3756
- package/build/contracts/FlowOperatorDefinitions.json +1 -1
- package/build/contracts/FullUpgradableSuperTokenProxy.json +303 -303
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.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 +45 -45
- package/build/contracts/IPureSuperToken.json +63 -63
- package/build/contracts/IPureSuperTokenCustom.json +63 -63
- package/build/contracts/IRelayRecipient.json +49 -49
- package/build/contracts/IResolver.json +73 -73
- package/build/contracts/ISETH.json +73 -73
- package/build/contracts/ISETHCustom.json +73 -73
- package/build/contracts/ISuperAgreement.json +1 -1
- package/build/contracts/ISuperApp.json +1 -1
- package/build/contracts/ISuperToken.json +12 -12
- package/build/contracts/ISuperTokenFactory.json +1 -1
- package/build/contracts/ISuperfluid.json +4 -4
- package/build/contracts/ISuperfluidGovernance.json +1 -1
- package/build/contracts/ISuperfluidToken.json +1 -1
- package/build/contracts/ITOGAv1.json +2143 -2143
- package/build/contracts/ITOGAv2.json +2143 -2143
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5442 -5442
- package/build/contracts/NonClosableOutflowTestApp.json +3521 -3521
- 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 +697 -697
- package/build/contracts/Resolver.json +1066 -1066
- package/build/contracts/SETHProxy.json +666 -666
- 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 +3618 -3618
- package/build/contracts/SlotsBitmapLibrary.json +1754 -1754
- package/build/contracts/StreamRedirector.json +2989 -2989
- 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 +9139 -9139
- package/build/contracts/SuperTokenFactory.json +2114 -2114
- package/build/contracts/SuperTokenFactoryBase.json +1012 -1012
- package/build/contracts/SuperTokenFactoryHelper.json +1116 -1116
- package/build/contracts/SuperUpgrader.json +2492 -2492
- package/build/contracts/Superfluid.json +12888 -12888
- package/build/contracts/SuperfluidFrameworkDeployer.json +2420 -2420
- package/build/contracts/SuperfluidGovernanceBase.json +20 -20
- package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
- package/build/contracts/SuperfluidGovernanceII.json +2613 -2613
- package/build/contracts/SuperfluidGovernanceIIProxy.json +224 -224
- package/build/contracts/SuperfluidLoader.json +767 -767
- package/build/contracts/SuperfluidToken.json +2331 -2331
- package/build/contracts/TOGA.json +4118 -4118
- package/build/contracts/TestGovernance.json +2886 -2886
- package/build/contracts/TestToken.json +1254 -1254
- package/build/contracts/TokenCustodian.json +903 -903
- package/build/contracts/TokenInfo.json +58 -58
- package/build/contracts/UUPSProxiable.json +247 -247
- package/build/contracts/UUPSProxy.json +257 -257
- package/build/contracts/UUPSUtils.json +85 -85
- package/package.json +2 -2
- package/build/contracts/IMaticBridgedNativeSuperToken.json +0 -2413
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +0 -508
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +0 -5567
- package/contracts/interfaces/tokens/IMaticBridgedNativeSuperToken.sol +0 -29
- package/contracts/tokens/MaticBridgedNativeSuperToken.sol +0 -46
- package/scripts/deploy-matic-bridged-native-super-token.js +0 -75
|
@@ -1,508 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"contractName": "IMaticBridgedNativeSuperTokenCustom",
|
|
3
|
-
"abi": [
|
|
4
|
-
{
|
|
5
|
-
"anonymous": false,
|
|
6
|
-
"inputs": [
|
|
7
|
-
{
|
|
8
|
-
"indexed": false,
|
|
9
|
-
"internalType": "address",
|
|
10
|
-
"name": "newAddress",
|
|
11
|
-
"type": "address"
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"name": "ChildChainManagerChanged",
|
|
15
|
-
"type": "event"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"inputs": [
|
|
19
|
-
{
|
|
20
|
-
"internalType": "address",
|
|
21
|
-
"name": "user",
|
|
22
|
-
"type": "address"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"internalType": "bytes",
|
|
26
|
-
"name": "depositData",
|
|
27
|
-
"type": "bytes"
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"name": "deposit",
|
|
31
|
-
"outputs": [],
|
|
32
|
-
"stateMutability": "nonpayable",
|
|
33
|
-
"type": "function"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"inputs": [
|
|
37
|
-
{
|
|
38
|
-
"internalType": "uint256",
|
|
39
|
-
"name": "amount",
|
|
40
|
-
"type": "uint256"
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"name": "withdraw",
|
|
44
|
-
"outputs": [],
|
|
45
|
-
"stateMutability": "nonpayable",
|
|
46
|
-
"type": "function"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"inputs": [
|
|
50
|
-
{
|
|
51
|
-
"internalType": "address",
|
|
52
|
-
"name": "newChildChainManager",
|
|
53
|
-
"type": "address"
|
|
54
|
-
}
|
|
55
|
-
],
|
|
56
|
-
"name": "updateChildChainManager",
|
|
57
|
-
"outputs": [],
|
|
58
|
-
"stateMutability": "nonpayable",
|
|
59
|
-
"type": "function"
|
|
60
|
-
}
|
|
61
|
-
],
|
|
62
|
-
"metadata": "{\"compiler\":{\"version\":\"0.8.14+commit.80d49f37\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAddress\",\"type\":\"address\"}],\"name\":\"ChildChainManagerChanged\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"depositData\",\"type\":\"bytes\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newChildChainManager\",\"type\":\"address\"}],\"name\":\"updateChildChainManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Superfluid\",\"details\":\"Functionality specific for Matic Bridged Native Super Tokens\",\"events\":{\"ChildChainManagerChanged(address)\":{\"details\":\"emitted when the child chain manager changes\"}},\"kind\":\"dev\",\"methods\":{\"deposit(address,bytes)\":{\"details\":\"triggers minting of tokens to the given user, called by the child chain manager\"},\"updateChildChainManager(address)\":{\"details\":\"governance can change the child chain manager\"},\"withdraw(uint256)\":{\"details\":\"triggers burning of tokens on the child chain and unlocking on L1\"}},\"title\":\"Matic Bridged Native SuperToken Custom interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/tokens/IMaticBridgedNativeSuperToken.sol\":\"IMaticBridgedNativeSuperTokenCustom\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34\",\"dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr\"]},\"@openzeppelin/contracts/token/ERC777/IERC777.sol\":{\"keccak256\":\"0x093eaf9a4b05adf2bd3730b753f9e1725ed34b80ea4b5f08477ff2f46a188586\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://46e9a9b37e8cb6332ed21a8d3f8a6723d897e4a97db63095424522a80b3cfc15\",\"dweb:/ipfs/QmdHcBPPGKQBnmeaAN3Y6YKUPqwR73RrHTiX5uTr6eVx1M\"]},\"project:/contracts/interfaces/superfluid/Definitions.sol\":{\"keccak256\":\"0x667e6d0d18967ade01cde8b1dc887b07ff3eed63ac7796710c24160145ae09df\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://c654d8e2f0f28b07ef5a404251e79e8900a1fabb18e2f8a5c7a11dbaad2cb332\",\"dweb:/ipfs/QmRRC8BhTxcHn7PEsLqnX1CRQnidi1yuAJ91CfwgTSdCrY\"]},\"project:/contracts/interfaces/superfluid/ISuperAgreement.sol\":{\"keccak256\":\"0xc3a6a907245116bcecc70fe4b207454012e8ce4fa190228fb8bbe39e0b1bc5cf\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://83c116bdae48685d20e5a27c942111e685ec1ef6334e7ff6f6d9af66edbd8025\",\"dweb:/ipfs/QmTnVuNTaRFiDmkAmDk7NFYdfQTW1kqgBZiY2exC6k8jDx\"]},\"project:/contracts/interfaces/superfluid/ISuperApp.sol\":{\"keccak256\":\"0x42b604992cf67321cc12e8bed16543df0db4eaf125b8c1c82c330ebbeb20c014\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7c18b00caf7b8be7e11f75284fb96263ce48a3984d56f2a91ec44cae4413d2fc\",\"dweb:/ipfs/QmWVzdW9KnkwAVe9g5zRuMoqCf7N89AoBfzzRr8puw5d8a\"]},\"project:/contracts/interfaces/superfluid/ISuperToken.sol\":{\"keccak256\":\"0xcff22ed43df0f34a645e6cbe0d7c5fd08f204d769e9095bc59d7c2fe6d11b7d6\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://944b8c5a37839b40ec8ee1ccfecbaf007808a61ea16c7b1351a7184606772032\",\"dweb:/ipfs/QmbUKZqZtVfqZMKYnQUygE4svatKuN9kT2ibrnxMuWXR7n\"]},\"project:/contracts/interfaces/superfluid/ISuperTokenFactory.sol\":{\"keccak256\":\"0x68a466c978557e47bd7385b1d7d78f1c8fb07462a870efc5a791008e33a4f535\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://d109879bdb7f022560a792af2ff481df729bf1b4b8e1831b8022f4d12892d41d\",\"dweb:/ipfs/QmRSWqHq8CP5XWgyV4mJpPxMg33s312s2K5ndHRHVqqZ8n\"]},\"project:/contracts/interfaces/superfluid/ISuperfluid.sol\":{\"keccak256\":\"0x59cba11dfc9510e06db5fd57e9229fcfa0860e99e76626ad0291e7e50a3a62de\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://a64102f968e7f2eaa335e8d7ce47b339c958b0d6f8f4b3379547e9b7faa78cf9\",\"dweb:/ipfs/QmbFSeM6diijjogiTvgbpphLmjxG3u1ifygFkLhezFHRQ5\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidGovernance.sol\":{\"keccak256\":\"0xea33d20751ffea4f4446bc04f6c10194fb4da0803a988586d41d49cf4859731c\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7716b1f5eec0a7ac8780d82de4f0274ecd7059be4eec46c82b0b7adce110f10b\",\"dweb:/ipfs/QmWRQafvdCBsyfDYnevXSav1AAz8uZRRBwh2be5Z3vSfVN\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidToken.sol\":{\"keccak256\":\"0x3eec5a3bf337cd319c1918fd1b16f350cf5f6850ac71f6859066fbf86e734ff4\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://cda19a2f5ca18e79c1e2300c8efac84c718df76c4fb313f59f84264a4c6b398a\",\"dweb:/ipfs/QmfQiwgDH5Q64w5ufBnDzVaeWv6WCZ6fLTrYu1FSYfBGhq\"]},\"project:/contracts/interfaces/tokens/ERC20WithTokenInfo.sol\":{\"keccak256\":\"0x66708dae3fcd06e6fc0a46f2959fc2d1e6b9361f28598337339d26af8eb8c0f9\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://77b80718cec21b81ef190c19fb9fbe73913a95c71f7e6715f671bbe8a224dafc\",\"dweb:/ipfs/QmUdsc6DF2Bgih5VZm7sfaECjhGmwE7tAx8pMkzGQgVKQw\"]},\"project:/contracts/interfaces/tokens/IMaticBridgedNativeSuperToken.sol\":{\"keccak256\":\"0xc43dc10247bd05f2f485110260e6584e739dc353b6af9ad3379a19c902a57fb2\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://07f6e0ece634ac96bfda9edcded0333f7b13ec7ae3de881b2ae9feb1dc064805\",\"dweb:/ipfs/QmUqWzWAFSN9JmsmdbvR6BDGaiZgF4UkAGHLRCRmLPFjZ1\"]},\"project:/contracts/interfaces/tokens/TokenInfo.sol\":{\"keccak256\":\"0x70e573644a0ff271c0ccef526809e9d9ab4950ec58755ca84e833cde3b8f3df0\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://aea3709687cc37ba625f4cc882fbdb149a7bf5be5afe2b030203c8719641a77b\",\"dweb:/ipfs/QmVpvfR6ZheE5wNUK9CobaVBgVvEnEPkvjWF9cfwyZr7eQ\"]}},\"version\":1}",
|
|
63
|
-
"bytecode": "0x",
|
|
64
|
-
"deployedBytecode": "0x",
|
|
65
|
-
"immutableReferences": {},
|
|
66
|
-
"generatedSources": [],
|
|
67
|
-
"deployedGeneratedSources": [],
|
|
68
|
-
"sourceMap": "",
|
|
69
|
-
"deployedSourceMap": "",
|
|
70
|
-
"source": "// SPDX-License-Identifier: AGPLv3\npragma solidity >= 0.8.0;\n\nimport { ISuperToken } from \"../superfluid/ISuperToken.sol\";\n\n/**\n * @title Matic Bridged Native SuperToken Custom interface\n * @author Superfluid\n * @dev Functionality specific for Matic Bridged Native Super Tokens\n */\ninterface IMaticBridgedNativeSuperTokenCustom {\n /// @dev triggers minting of tokens to the given user, called by the child chain manager\n function deposit(address user, bytes calldata depositData) external;\n\n /// @dev triggers burning of tokens on the child chain and unlocking on L1\n function withdraw(uint256 amount) external;\n\n /// @dev governance can change the child chain manager\n function updateChildChainManager(address newChildChainManager) external;\n\n /// @dev emitted when the child chain manager changes\n event ChildChainManagerChanged(address newAddress);\n}\n\n/**\n * @dev Matic Bridged Native SuperToken full interface\n * @author Superfluid\n */\ninterface IMaticBridgedNativeSuperToken is IMaticBridgedNativeSuperTokenCustom, ISuperToken {}\n",
|
|
71
|
-
"sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/interfaces/tokens/IMaticBridgedNativeSuperToken.sol",
|
|
72
|
-
"ast": {
|
|
73
|
-
"absolutePath": "project:/contracts/interfaces/tokens/IMaticBridgedNativeSuperToken.sol",
|
|
74
|
-
"exportedSymbols": {
|
|
75
|
-
"IMaticBridgedNativeSuperToken": [
|
|
76
|
-
21376
|
|
77
|
-
],
|
|
78
|
-
"IMaticBridgedNativeSuperTokenCustom": [
|
|
79
|
-
21370
|
|
80
|
-
],
|
|
81
|
-
"ISuperToken": [
|
|
82
|
-
20369
|
|
83
|
-
]
|
|
84
|
-
},
|
|
85
|
-
"id": 21377,
|
|
86
|
-
"license": "AGPLv3",
|
|
87
|
-
"nodeType": "SourceUnit",
|
|
88
|
-
"nodes": [
|
|
89
|
-
{
|
|
90
|
-
"id": 21341,
|
|
91
|
-
"literals": [
|
|
92
|
-
"solidity",
|
|
93
|
-
">=",
|
|
94
|
-
"0.8",
|
|
95
|
-
".0"
|
|
96
|
-
],
|
|
97
|
-
"nodeType": "PragmaDirective",
|
|
98
|
-
"src": "35:25:53"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperToken.sol",
|
|
102
|
-
"file": "../superfluid/ISuperToken.sol",
|
|
103
|
-
"id": 21343,
|
|
104
|
-
"nameLocation": "-1:-1:-1",
|
|
105
|
-
"nodeType": "ImportDirective",
|
|
106
|
-
"scope": 21377,
|
|
107
|
-
"sourceUnit": 20370,
|
|
108
|
-
"src": "62:60:53",
|
|
109
|
-
"symbolAliases": [
|
|
110
|
-
{
|
|
111
|
-
"foreign": {
|
|
112
|
-
"id": 21342,
|
|
113
|
-
"name": "ISuperToken",
|
|
114
|
-
"nodeType": "Identifier",
|
|
115
|
-
"overloadedDeclarations": [],
|
|
116
|
-
"referencedDeclaration": 20369,
|
|
117
|
-
"src": "71:11:53",
|
|
118
|
-
"typeDescriptions": {}
|
|
119
|
-
},
|
|
120
|
-
"nameLocation": "-1:-1:-1"
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
"unitAlias": ""
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"abstract": false,
|
|
127
|
-
"baseContracts": [],
|
|
128
|
-
"canonicalName": "IMaticBridgedNativeSuperTokenCustom",
|
|
129
|
-
"contractDependencies": [],
|
|
130
|
-
"contractKind": "interface",
|
|
131
|
-
"documentation": {
|
|
132
|
-
"id": 21344,
|
|
133
|
-
"nodeType": "StructuredDocumentation",
|
|
134
|
-
"src": "124:157:53",
|
|
135
|
-
"text": " @title Matic Bridged Native SuperToken Custom interface\n @author Superfluid\n @dev Functionality specific for Matic Bridged Native Super Tokens"
|
|
136
|
-
},
|
|
137
|
-
"fullyImplemented": false,
|
|
138
|
-
"id": 21370,
|
|
139
|
-
"linearizedBaseContracts": [
|
|
140
|
-
21370
|
|
141
|
-
],
|
|
142
|
-
"name": "IMaticBridgedNativeSuperTokenCustom",
|
|
143
|
-
"nameLocation": "292:35:53",
|
|
144
|
-
"nodeType": "ContractDefinition",
|
|
145
|
-
"nodes": [
|
|
146
|
-
{
|
|
147
|
-
"documentation": {
|
|
148
|
-
"id": 21345,
|
|
149
|
-
"nodeType": "StructuredDocumentation",
|
|
150
|
-
"src": "334:88:53",
|
|
151
|
-
"text": "@dev triggers minting of tokens to the given user, called by the child chain manager"
|
|
152
|
-
},
|
|
153
|
-
"functionSelector": "cf2c52cb",
|
|
154
|
-
"id": 21352,
|
|
155
|
-
"implemented": false,
|
|
156
|
-
"kind": "function",
|
|
157
|
-
"modifiers": [],
|
|
158
|
-
"name": "deposit",
|
|
159
|
-
"nameLocation": "436:7:53",
|
|
160
|
-
"nodeType": "FunctionDefinition",
|
|
161
|
-
"parameters": {
|
|
162
|
-
"id": 21350,
|
|
163
|
-
"nodeType": "ParameterList",
|
|
164
|
-
"parameters": [
|
|
165
|
-
{
|
|
166
|
-
"constant": false,
|
|
167
|
-
"id": 21347,
|
|
168
|
-
"mutability": "mutable",
|
|
169
|
-
"name": "user",
|
|
170
|
-
"nameLocation": "452:4:53",
|
|
171
|
-
"nodeType": "VariableDeclaration",
|
|
172
|
-
"scope": 21352,
|
|
173
|
-
"src": "444:12:53",
|
|
174
|
-
"stateVariable": false,
|
|
175
|
-
"storageLocation": "default",
|
|
176
|
-
"typeDescriptions": {
|
|
177
|
-
"typeIdentifier": "t_address",
|
|
178
|
-
"typeString": "address"
|
|
179
|
-
},
|
|
180
|
-
"typeName": {
|
|
181
|
-
"id": 21346,
|
|
182
|
-
"name": "address",
|
|
183
|
-
"nodeType": "ElementaryTypeName",
|
|
184
|
-
"src": "444:7:53",
|
|
185
|
-
"stateMutability": "nonpayable",
|
|
186
|
-
"typeDescriptions": {
|
|
187
|
-
"typeIdentifier": "t_address",
|
|
188
|
-
"typeString": "address"
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
"visibility": "internal"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"constant": false,
|
|
195
|
-
"id": 21349,
|
|
196
|
-
"mutability": "mutable",
|
|
197
|
-
"name": "depositData",
|
|
198
|
-
"nameLocation": "473:11:53",
|
|
199
|
-
"nodeType": "VariableDeclaration",
|
|
200
|
-
"scope": 21352,
|
|
201
|
-
"src": "458:26:53",
|
|
202
|
-
"stateVariable": false,
|
|
203
|
-
"storageLocation": "calldata",
|
|
204
|
-
"typeDescriptions": {
|
|
205
|
-
"typeIdentifier": "t_bytes_calldata_ptr",
|
|
206
|
-
"typeString": "bytes"
|
|
207
|
-
},
|
|
208
|
-
"typeName": {
|
|
209
|
-
"id": 21348,
|
|
210
|
-
"name": "bytes",
|
|
211
|
-
"nodeType": "ElementaryTypeName",
|
|
212
|
-
"src": "458:5:53",
|
|
213
|
-
"typeDescriptions": {
|
|
214
|
-
"typeIdentifier": "t_bytes_storage_ptr",
|
|
215
|
-
"typeString": "bytes"
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
"visibility": "internal"
|
|
219
|
-
}
|
|
220
|
-
],
|
|
221
|
-
"src": "443:42:53"
|
|
222
|
-
},
|
|
223
|
-
"returnParameters": {
|
|
224
|
-
"id": 21351,
|
|
225
|
-
"nodeType": "ParameterList",
|
|
226
|
-
"parameters": [],
|
|
227
|
-
"src": "494:0:53"
|
|
228
|
-
},
|
|
229
|
-
"scope": 21370,
|
|
230
|
-
"src": "427:68:53",
|
|
231
|
-
"stateMutability": "nonpayable",
|
|
232
|
-
"virtual": false,
|
|
233
|
-
"visibility": "external"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"documentation": {
|
|
237
|
-
"id": 21353,
|
|
238
|
-
"nodeType": "StructuredDocumentation",
|
|
239
|
-
"src": "501:74:53",
|
|
240
|
-
"text": "@dev triggers burning of tokens on the child chain and unlocking on L1"
|
|
241
|
-
},
|
|
242
|
-
"functionSelector": "2e1a7d4d",
|
|
243
|
-
"id": 21358,
|
|
244
|
-
"implemented": false,
|
|
245
|
-
"kind": "function",
|
|
246
|
-
"modifiers": [],
|
|
247
|
-
"name": "withdraw",
|
|
248
|
-
"nameLocation": "589:8:53",
|
|
249
|
-
"nodeType": "FunctionDefinition",
|
|
250
|
-
"parameters": {
|
|
251
|
-
"id": 21356,
|
|
252
|
-
"nodeType": "ParameterList",
|
|
253
|
-
"parameters": [
|
|
254
|
-
{
|
|
255
|
-
"constant": false,
|
|
256
|
-
"id": 21355,
|
|
257
|
-
"mutability": "mutable",
|
|
258
|
-
"name": "amount",
|
|
259
|
-
"nameLocation": "606:6:53",
|
|
260
|
-
"nodeType": "VariableDeclaration",
|
|
261
|
-
"scope": 21358,
|
|
262
|
-
"src": "598:14:53",
|
|
263
|
-
"stateVariable": false,
|
|
264
|
-
"storageLocation": "default",
|
|
265
|
-
"typeDescriptions": {
|
|
266
|
-
"typeIdentifier": "t_uint256",
|
|
267
|
-
"typeString": "uint256"
|
|
268
|
-
},
|
|
269
|
-
"typeName": {
|
|
270
|
-
"id": 21354,
|
|
271
|
-
"name": "uint256",
|
|
272
|
-
"nodeType": "ElementaryTypeName",
|
|
273
|
-
"src": "598:7:53",
|
|
274
|
-
"typeDescriptions": {
|
|
275
|
-
"typeIdentifier": "t_uint256",
|
|
276
|
-
"typeString": "uint256"
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
"visibility": "internal"
|
|
280
|
-
}
|
|
281
|
-
],
|
|
282
|
-
"src": "597:16:53"
|
|
283
|
-
},
|
|
284
|
-
"returnParameters": {
|
|
285
|
-
"id": 21357,
|
|
286
|
-
"nodeType": "ParameterList",
|
|
287
|
-
"parameters": [],
|
|
288
|
-
"src": "622:0:53"
|
|
289
|
-
},
|
|
290
|
-
"scope": 21370,
|
|
291
|
-
"src": "580:43:53",
|
|
292
|
-
"stateMutability": "nonpayable",
|
|
293
|
-
"virtual": false,
|
|
294
|
-
"visibility": "external"
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"documentation": {
|
|
298
|
-
"id": 21359,
|
|
299
|
-
"nodeType": "StructuredDocumentation",
|
|
300
|
-
"src": "629:54:53",
|
|
301
|
-
"text": "@dev governance can change the child chain manager"
|
|
302
|
-
},
|
|
303
|
-
"functionSelector": "445a6797",
|
|
304
|
-
"id": 21364,
|
|
305
|
-
"implemented": false,
|
|
306
|
-
"kind": "function",
|
|
307
|
-
"modifiers": [],
|
|
308
|
-
"name": "updateChildChainManager",
|
|
309
|
-
"nameLocation": "697:23:53",
|
|
310
|
-
"nodeType": "FunctionDefinition",
|
|
311
|
-
"parameters": {
|
|
312
|
-
"id": 21362,
|
|
313
|
-
"nodeType": "ParameterList",
|
|
314
|
-
"parameters": [
|
|
315
|
-
{
|
|
316
|
-
"constant": false,
|
|
317
|
-
"id": 21361,
|
|
318
|
-
"mutability": "mutable",
|
|
319
|
-
"name": "newChildChainManager",
|
|
320
|
-
"nameLocation": "729:20:53",
|
|
321
|
-
"nodeType": "VariableDeclaration",
|
|
322
|
-
"scope": 21364,
|
|
323
|
-
"src": "721:28:53",
|
|
324
|
-
"stateVariable": false,
|
|
325
|
-
"storageLocation": "default",
|
|
326
|
-
"typeDescriptions": {
|
|
327
|
-
"typeIdentifier": "t_address",
|
|
328
|
-
"typeString": "address"
|
|
329
|
-
},
|
|
330
|
-
"typeName": {
|
|
331
|
-
"id": 21360,
|
|
332
|
-
"name": "address",
|
|
333
|
-
"nodeType": "ElementaryTypeName",
|
|
334
|
-
"src": "721:7:53",
|
|
335
|
-
"stateMutability": "nonpayable",
|
|
336
|
-
"typeDescriptions": {
|
|
337
|
-
"typeIdentifier": "t_address",
|
|
338
|
-
"typeString": "address"
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
"visibility": "internal"
|
|
342
|
-
}
|
|
343
|
-
],
|
|
344
|
-
"src": "720:30:53"
|
|
345
|
-
},
|
|
346
|
-
"returnParameters": {
|
|
347
|
-
"id": 21363,
|
|
348
|
-
"nodeType": "ParameterList",
|
|
349
|
-
"parameters": [],
|
|
350
|
-
"src": "759:0:53"
|
|
351
|
-
},
|
|
352
|
-
"scope": 21370,
|
|
353
|
-
"src": "688:72:53",
|
|
354
|
-
"stateMutability": "nonpayable",
|
|
355
|
-
"virtual": false,
|
|
356
|
-
"visibility": "external"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"anonymous": false,
|
|
360
|
-
"documentation": {
|
|
361
|
-
"id": 21365,
|
|
362
|
-
"nodeType": "StructuredDocumentation",
|
|
363
|
-
"src": "766:53:53",
|
|
364
|
-
"text": "@dev emitted when the child chain manager changes"
|
|
365
|
-
},
|
|
366
|
-
"eventSelector": "88ba5221dde9ab86adbd4dee937ed51febc94c1052c203da3aabe4034a9273f5",
|
|
367
|
-
"id": 21369,
|
|
368
|
-
"name": "ChildChainManagerChanged",
|
|
369
|
-
"nameLocation": "830:24:53",
|
|
370
|
-
"nodeType": "EventDefinition",
|
|
371
|
-
"parameters": {
|
|
372
|
-
"id": 21368,
|
|
373
|
-
"nodeType": "ParameterList",
|
|
374
|
-
"parameters": [
|
|
375
|
-
{
|
|
376
|
-
"constant": false,
|
|
377
|
-
"id": 21367,
|
|
378
|
-
"indexed": false,
|
|
379
|
-
"mutability": "mutable",
|
|
380
|
-
"name": "newAddress",
|
|
381
|
-
"nameLocation": "863:10:53",
|
|
382
|
-
"nodeType": "VariableDeclaration",
|
|
383
|
-
"scope": 21369,
|
|
384
|
-
"src": "855:18:53",
|
|
385
|
-
"stateVariable": false,
|
|
386
|
-
"storageLocation": "default",
|
|
387
|
-
"typeDescriptions": {
|
|
388
|
-
"typeIdentifier": "t_address",
|
|
389
|
-
"typeString": "address"
|
|
390
|
-
},
|
|
391
|
-
"typeName": {
|
|
392
|
-
"id": 21366,
|
|
393
|
-
"name": "address",
|
|
394
|
-
"nodeType": "ElementaryTypeName",
|
|
395
|
-
"src": "855:7:53",
|
|
396
|
-
"stateMutability": "nonpayable",
|
|
397
|
-
"typeDescriptions": {
|
|
398
|
-
"typeIdentifier": "t_address",
|
|
399
|
-
"typeString": "address"
|
|
400
|
-
}
|
|
401
|
-
},
|
|
402
|
-
"visibility": "internal"
|
|
403
|
-
}
|
|
404
|
-
],
|
|
405
|
-
"src": "854:20:53"
|
|
406
|
-
},
|
|
407
|
-
"src": "824:51:53"
|
|
408
|
-
}
|
|
409
|
-
],
|
|
410
|
-
"scope": 21377,
|
|
411
|
-
"src": "282:595:53",
|
|
412
|
-
"usedErrors": []
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
"abstract": false,
|
|
416
|
-
"baseContracts": [
|
|
417
|
-
{
|
|
418
|
-
"baseName": {
|
|
419
|
-
"id": 21372,
|
|
420
|
-
"name": "IMaticBridgedNativeSuperTokenCustom",
|
|
421
|
-
"nodeType": "IdentifierPath",
|
|
422
|
-
"referencedDeclaration": 21370,
|
|
423
|
-
"src": "1007:35:53"
|
|
424
|
-
},
|
|
425
|
-
"id": 21373,
|
|
426
|
-
"nodeType": "InheritanceSpecifier",
|
|
427
|
-
"src": "1007:35:53"
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
"baseName": {
|
|
431
|
-
"id": 21374,
|
|
432
|
-
"name": "ISuperToken",
|
|
433
|
-
"nodeType": "IdentifierPath",
|
|
434
|
-
"referencedDeclaration": 20369,
|
|
435
|
-
"src": "1044:11:53"
|
|
436
|
-
},
|
|
437
|
-
"id": 21375,
|
|
438
|
-
"nodeType": "InheritanceSpecifier",
|
|
439
|
-
"src": "1044:11:53"
|
|
440
|
-
}
|
|
441
|
-
],
|
|
442
|
-
"canonicalName": "IMaticBridgedNativeSuperToken",
|
|
443
|
-
"contractDependencies": [],
|
|
444
|
-
"contractKind": "interface",
|
|
445
|
-
"documentation": {
|
|
446
|
-
"id": 21371,
|
|
447
|
-
"nodeType": "StructuredDocumentation",
|
|
448
|
-
"src": "879:84:53",
|
|
449
|
-
"text": " @dev Matic Bridged Native SuperToken full interface\n @author Superfluid"
|
|
450
|
-
},
|
|
451
|
-
"fullyImplemented": false,
|
|
452
|
-
"id": 21376,
|
|
453
|
-
"linearizedBaseContracts": [
|
|
454
|
-
21376,
|
|
455
|
-
20369,
|
|
456
|
-
2352,
|
|
457
|
-
1630,
|
|
458
|
-
21444,
|
|
459
|
-
21327,
|
|
460
|
-
21370
|
|
461
|
-
],
|
|
462
|
-
"name": "IMaticBridgedNativeSuperToken",
|
|
463
|
-
"nameLocation": "974:29:53",
|
|
464
|
-
"nodeType": "ContractDefinition",
|
|
465
|
-
"nodes": [],
|
|
466
|
-
"scope": 21377,
|
|
467
|
-
"src": "964:94:53",
|
|
468
|
-
"usedErrors": []
|
|
469
|
-
}
|
|
470
|
-
],
|
|
471
|
-
"src": "35:1024:53"
|
|
472
|
-
},
|
|
473
|
-
"compiler": {
|
|
474
|
-
"name": "solc",
|
|
475
|
-
"version": "0.8.14+commit.80d49f37.Emscripten.clang"
|
|
476
|
-
},
|
|
477
|
-
"networks": {},
|
|
478
|
-
"schemaVersion": "3.4.8",
|
|
479
|
-
"updatedAt": "2022-08-30T15:53:32.532Z",
|
|
480
|
-
"devdoc": {
|
|
481
|
-
"author": "Superfluid",
|
|
482
|
-
"details": "Functionality specific for Matic Bridged Native Super Tokens",
|
|
483
|
-
"events": {
|
|
484
|
-
"ChildChainManagerChanged(address)": {
|
|
485
|
-
"details": "emitted when the child chain manager changes"
|
|
486
|
-
}
|
|
487
|
-
},
|
|
488
|
-
"kind": "dev",
|
|
489
|
-
"methods": {
|
|
490
|
-
"deposit(address,bytes)": {
|
|
491
|
-
"details": "triggers minting of tokens to the given user, called by the child chain manager"
|
|
492
|
-
},
|
|
493
|
-
"updateChildChainManager(address)": {
|
|
494
|
-
"details": "governance can change the child chain manager"
|
|
495
|
-
},
|
|
496
|
-
"withdraw(uint256)": {
|
|
497
|
-
"details": "triggers burning of tokens on the child chain and unlocking on L1"
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
"title": "Matic Bridged Native SuperToken Custom interface",
|
|
501
|
-
"version": 1
|
|
502
|
-
},
|
|
503
|
-
"userdoc": {
|
|
504
|
-
"kind": "user",
|
|
505
|
-
"methods": {},
|
|
506
|
-
"version": 1
|
|
507
|
-
}
|
|
508
|
-
}
|