@superfluid-finance/ethereum-contracts 1.3.2-dev.bf84335.0 → 1.3.2-dev.ccb1898.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 +18 -18
- package/build/contracts/AgreementLibrary.json +1272 -1183
- package/build/contracts/BaseRelayRecipient.json +55 -55
- package/build/contracts/BatchLiquidator.json +211 -211
- package/build/contracts/BatchOperation.json +599 -599
- package/build/contracts/CFAv1Library.json +2282 -2282
- package/build/contracts/CallUtils.json +198 -198
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +2472 -2472
- package/build/contracts/ConstantFlowAgreementV1.json +12931 -13308
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +599 -599
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +20 -20
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- package/build/contracts/ERC1820RegistryCompiled.json +22 -22
- package/build/contracts/ERC20.json +1 -1
- package/build/contracts/ERC20Burnable.json +1 -1
- package/build/contracts/ERC20Pausable.json +1 -1
- package/build/contracts/ERC20PresetMinterPauser.json +1 -1
- package/build/contracts/ERC20WithTokenInfo.json +23 -23
- package/build/contracts/ERC777Helper.json +380 -380
- package/build/contracts/ERC777RecipientDrainingGas.json +858 -858
- package/build/contracts/ERC777RecipientReverting.json +858 -858
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +43 -43
- package/build/contracts/ExclusiveInflowTestApp.json +2473 -2473
- package/build/contracts/FixedSizeData.json +200 -200
- package/build/contracts/FlowExchangeTestApp.json +2473 -2473
- package/build/contracts/FlowOperatorDefinitions.json +599 -599
- package/build/contracts/FullUpgradableSuperTokenProxy.json +115 -115
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +567 -567
- package/build/contracts/IDAv1Library.json +2614 -2614
- 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 +640 -640
- package/build/contracts/IMaticBridgedNativeSuperToken.json +63 -63
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +63 -63
- package/build/contracts/IMultiSigWallet.json +24 -24
- package/build/contracts/IPureSuperToken.json +43 -43
- package/build/contracts/IPureSuperTokenCustom.json +43 -43
- package/build/contracts/IRelayRecipient.json +27 -27
- package/build/contracts/IResolver.json +38 -38
- package/build/contracts/ISETH.json +48 -48
- package/build/contracts/ISETHCustom.json +48 -48
- package/build/contracts/ISuperAgreement.json +50 -50
- package/build/contracts/ISuperApp.json +192 -192
- package/build/contracts/ISuperToken.json +524 -524
- package/build/contracts/ISuperTokenFactory.json +161 -161
- package/build/contracts/ISuperfluid.json +1145 -1178
- package/build/contracts/ISuperfluidGovernance.json +243 -243
- package/build/contracts/ISuperfluidToken.json +389 -389
- package/build/contracts/ITOGAv1.json +1442 -1442
- package/build/contracts/ITOGAv2.json +1442 -1442
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5820 -5820
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +231 -231
- package/build/contracts/NonClosableOutflowTestApp.json +2473 -2473
- 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 +109 -109
- package/build/contracts/Resolver.json +98 -98
- package/build/contracts/SETHProxy.json +227 -227
- 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 +2472 -2472
- package/build/contracts/SlotsBitmapLibrary.json +457 -457
- package/build/contracts/StreamRedirector.json +748 -748
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +240 -240
- package/build/contracts/SuperAppDefinitions.json +599 -599
- package/build/contracts/SuperToken.json +4732 -4732
- package/build/contracts/SuperTokenFactory.json +750 -750
- package/build/contracts/SuperTokenFactoryBase.json +738 -738
- package/build/contracts/SuperTokenFactoryHelper.json +743 -743
- package/build/contracts/SuperUpgrader.json +440 -440
- package/build/contracts/Superfluid.json +15366 -16050
- package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
- package/build/contracts/SuperfluidGovernanceBase.json +2233 -2233
- package/build/contracts/SuperfluidGovernanceConfigs.json +599 -599
- package/build/contracts/SuperfluidGovernanceII.json +149 -149
- package/build/contracts/SuperfluidGovernanceIIProxy.json +131 -131
- package/build/contracts/SuperfluidLoader.json +210 -210
- package/build/contracts/SuperfluidToken.json +2420 -2420
- package/build/contracts/TOGA.json +1461 -1461
- package/build/contracts/TestGovernance.json +248 -248
- package/build/contracts/TestToken.json +93 -93
- package/build/contracts/TokenCustodian.json +214 -214
- package/build/contracts/TokenInfo.json +32 -32
- package/build/contracts/UUPSProxiable.json +139 -139
- package/build/contracts/UUPSProxy.json +81 -81
- package/build/contracts/UUPSUtils.json +37 -37
- package/build/contracts-sizes.txt +6 -6
- package/contracts/agreements/AgreementLibrary.sol +39 -15
- package/contracts/agreements/ConstantFlowAgreementV1.sol +65 -53
- package/contracts/interfaces/superfluid/ISuperfluid.sol +29 -23
- package/contracts/mocks/AgreementMock.sol +2 -2
- package/contracts/mocks/CFAAppMocks.sol +1 -1
- package/contracts/mocks/MultiFlowTesterApp.sol +13 -12
- package/contracts/mocks/SuperTokenMock.sol +2 -2
- package/contracts/mocks/SuperfluidMock.sol +9 -9
- package/contracts/superfluid/Superfluid.sol +34 -38
- package/contracts/superfluid/SuperfluidToken.sol +14 -14
- package/package.json +2 -2
- package/scripts/deploy-mfa.ts +27 -0
- package/scripts/libs/getConfig.js +14 -0
- package/utils/README.md +18 -0
- package/utils/mfa-tester.html +687 -0
|
@@ -1571,7 +1571,7 @@
|
|
|
1571
1571
|
"type": "function"
|
|
1572
1572
|
}
|
|
1573
1573
|
],
|
|
1574
|
-
"metadata": "{\"compiler\":{\"version\":\"0.8.14+commit.80d49f37\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"data\",\"type\":\"bytes32[]\"}],\"name\":\"AgreementCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"penaltyAccount\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"rewardAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"}],\"name\":\"AgreementLiquidated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"liquidatorAccount\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"penaltyAccount\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"bondAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bailoutAmount\",\"type\":\"uint256\"}],\"name\":\"AgreementLiquidatedBy\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"liquidatorAccount\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"targetAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"rewardAmountReceiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"targetAccountBalanceDelta\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"liquidationTypeData\",\"type\":\"bytes\"}],\"name\":\"AgreementLiquidatedV2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slotId\",\"type\":\"uint256\"}],\"name\":\"AgreementStateUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"AgreementTerminated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"data\",\"type\":\"bytes32[]\"}],\"name\":\"AgreementUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenHolder\",\"type\":\"address\"}],\"name\":\"AuthorizedOperator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"bailoutAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bailoutAmount\",\"type\":\"uint256\"}],\"name\":\"Bailout\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"Burned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"Minted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenHolder\",\"type\":\"address\"}],\"name\":\"RevokedOperator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"Sent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TokenDowngraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TokenUpgraded\",\"type\":\"event\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"authorizeOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"data\",\"type\":\"bytes32[]\"}],\"name\":\"createAgreement\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultOperators\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"downgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getAccountActiveAgreements\",\"outputs\":[{\"internalType\":\"contract ISuperAgreement[]\",\"name\":\"activeAgreements\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"dataLength\",\"type\":\"uint256\"}],\"name\":\"getAgreementData\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"data\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"slotId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dataLength\",\"type\":\"uint256\"}],\"name\":\"getAgreementStateSlot\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"slotData\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getHost\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"host\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getUnderlyingToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"granularity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"underlyingToken\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"underlyingDecimals\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"n\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"s\",\"type\":\"string\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"isAccountCritical\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isCritical\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isAccountCriticalNow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isCritical\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"isAccountSolvent\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isSolvent\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isAccountSolventNow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isSolvent\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenHolder\",\"type\":\"address\"}],\"name\":\"isOperatorFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"liquidationTypeData\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"liquidatorAccount\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"useDefaultRewardAccount\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"targetAccount\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"targetAccountBalanceDelta\",\"type\":\"int256\"}],\"name\":\"makeLiquidationPayoutsV2\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"operationApprove\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"operationDowngrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"operationTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"operationUpgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"operatorBurn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"operatorSend\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"realtimeBalanceOf\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"availableBalance\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"deposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"owedDeposit\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"realtimeBalanceOfNow\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"availableBalance\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"deposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"owedDeposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"revokeOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"selfApproveFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"name\":\"selfBurn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"name\":\"selfMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"selfTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"send\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"int256\",\"name\":\"delta\",\"type\":\"int256\"}],\"name\":\"settleBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"dataLength\",\"type\":\"uint256\"}],\"name\":\"terminateAgreement\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"transferAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"data\",\"type\":\"bytes32[]\"}],\"name\":\"updateAgreementData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"slotId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"slotData\",\"type\":\"bytes32[]\"}],\"name\":\"updateAgreementStateSlot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Superfluid\",\"events\":{\"TokenDowngraded(address,uint256)\":{\"details\":\"Token downgrade event\",\"params\":{\"account\":\"Account whose tokens are upgraded\",\"amount\":\"Amount of tokens downgraded\"}},\"TokenUpgraded(address,uint256)\":{\"details\":\"Token upgrade event\",\"params\":{\"account\":\"Account where tokens are upgraded to\",\"amount\":\"Amount of tokens upgraded (in 18 decimals)\"}}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default.\"},\"approve(address,uint256)\":{\"custom:emits\":\"an {Approval} event.\",\"custom:note\":\"Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\",\"details\":\"Sets `amount` as the allowance of `spender` over the caller's tokens.\",\"returns\":{\"_0\":\"Returns Success a boolean value indicating whether the operation succeeded.\"}},\"authorizeOperator(address)\":{\"custom:emits\":\"an {AuthorizedOperator} event.\",\"custom:requirements\":\" - `operator` cannot be calling address.\",\"details\":\"Make an account an operator of the caller. See {isOperatorFor}.\"},\"balanceOf(address)\":{\"details\":\"Returns the amount of tokens owned by an account (`owner`).\"},\"burn(uint256,bytes)\":{\"custom:emits\":\"a {Burned} event.\",\"custom:requirements\":\" - the caller must have at least `amount` tokens.\",\"details\":\"Destroys `amount` tokens from the caller's account, reducing the total supply. If a send hook is registered for the caller, the corresponding function will be called with `data` and empty `operatorData`. See {IERC777Sender}.\"},\"createAgreement(bytes32,bytes32[])\":{\"details\":\"Create a new agreement\",\"params\":{\"data\":\"Agreement data\",\"id\":\"Agreement ID\"}},\"decimals()\":{\"custom:note\":\"SuperToken always uses 18 decimals. This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\",\"details\":\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5,05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is called.\"},\"decreaseAllowance(address,uint256)\":{\"custom:emits\":\"an {Approval} event indicating the updated allowance.\",\"custom:requirements\":\" - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\",\"details\":\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}.\"},\"defaultOperators()\":{\"details\":\"Returns the list of default operators. These accounts are operators for all token holders, even if {authorizeOperator} was never called on them. This list is immutable, but individual holders may revoke these via {revokeOperator}, in which case {isOperatorFor} will return false.\"},\"downgrade(uint256)\":{\"details\":\"Downgrade SuperToken to ERC20.It will call transfer to send tokens\",\"params\":{\"amount\":\"Number of tokens to be downgraded\"}},\"getAccountActiveAgreements(address)\":{\"details\":\"An active agreement is one that has state for the account\",\"params\":{\"account\":\"Account to query\"},\"returns\":{\"activeAgreements\":\"List of accounts that have non-zero states for the account\"}},\"getAgreementData(address,bytes32,uint256)\":{\"details\":\"Get data of the agreement\",\"params\":{\"agreementClass\":\"Contract address of the agreement\",\"id\":\"Agreement ID\"},\"returns\":{\"data\":\"Data of the agreement\"}},\"getAgreementStateSlot(address,address,uint256,uint256)\":{\"details\":\"Get data of the slot of the state of an agreement\",\"params\":{\"account\":\"Account to query\",\"agreementClass\":\"Contract address of the agreement\",\"dataLength\":\"length of the state data\",\"slotId\":\"slot id of the state\"}},\"getHost()\":{\"details\":\"Get superfluid host contract address\"},\"getUnderlyingToken()\":{\"details\":\"Return the underlying token contract\",\"returns\":{\"tokenAddr\":\"Underlying token address\"}},\"granularity()\":{\"custom:note\":\"For super token contracts, this value is always 1\",\"details\":\"Returns the smallest part of the token that is not divisible. This means all token operations (creation, movement and destruction) must have amounts that are a multiple of this number.\"},\"increaseAllowance(address,uint256)\":{\"custom:emits\":\"an {Approval} event indicating the updated allowance.\",\"custom:requirements\":\" - `spender` cannot be the zero address.\",\"details\":\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}.\"},\"initialize(address,uint8,string,string)\":{\"details\":\"Initialize the contract\"},\"isAccountCritical(address,uint256)\":{\"details\":\"A critical account is when availableBalance < 0\",\"params\":{\"account\":\"The account to check\",\"timestamp\":\"The time we'd like to check if the account is critical (should use future)\"},\"returns\":{\"isCritical\":\"Whether the account is critical\"}},\"isAccountCriticalNow(address)\":{\"details\":\"A critical account is when availableBalance < 0\",\"params\":{\"account\":\"The account to check\"},\"returns\":{\"isCritical\":\"Whether the account is critical\"}},\"isAccountSolvent(address,uint256)\":{\"details\":\"An account is insolvent when the sum of deposits for a token can't cover the negative availableBalance\",\"params\":{\"account\":\"The account to check\",\"timestamp\":\"The time we'd like to check if the account is solvent (should use future)\"},\"returns\":{\"isSolvent\":\"True if the account is solvent, false otherwise\"}},\"isAccountSolventNow(address)\":{\"details\":\"An account is insolvent when the sum of deposits for a token can't cover the negative availableBalance\",\"params\":{\"account\":\"The account to check\"},\"returns\":{\"isSolvent\":\"True if the account is solvent, false otherwise\"}},\"isOperatorFor(address,address)\":{\"details\":\"Returns true if an account is an operator of `tokenHolder`. Operators can send and burn tokens on behalf of their owners. All accounts are their own operator. See {operatorSend} and {operatorBurn}.\"},\"makeLiquidationPayoutsV2(bytes32,bytes,address,bool,address,uint256,int256)\":{\"custom:modifiers\":\" - onlyAgreement\",\"custom:note\":\" - If a bailout is required (bailoutAmount > 0) - the actual reward (single deposit) goes to the executor, - while the reward account becomes the bailout account - total bailout include: bailout amount + reward amount - the targetAccount will be bailed out - If a bailout is not required - the targetAccount will pay the rewardAmount - the liquidator (reward account in PIC period) will receive the rewardAmount\",\"details\":\"Make liquidation payouts (v2)\",\"params\":{\"id\":\"Agreement ID\",\"liquidationTypeData\":\"Data regarding the version of the liquidation schema and the type\",\"liquidatorAccount\":\"Address of the executor of the liquidation\",\"rewardAmount\":\"The amount the rewarded account will receive\",\"targetAccount\":\"Account to be liquidated\",\"targetAccountBalanceDelta\":\"The delta amount the target account balance should change by\",\"useDefaultRewardAccount\":\"Whether or not the default reward account receives the rewardAmount\"}},\"name()\":{\"details\":\"Returns the name of the token.\"},\"operationApprove(address,address,uint256)\":{\"custom:modifiers\":\" - onlyHost\",\"details\":\"Perform ERC20 approve by host contract.\",\"params\":{\"account\":\"The account owner to be approved.\",\"amount\":\"Number of tokens to be approved.\",\"spender\":\"The spender of account owner's funds.\"}},\"operationDowngrade(address,uint256)\":{\"custom:modifiers\":\" - onlyHost\",\"details\":\"Downgrade ERC20 to SuperToken by host contract.\",\"params\":{\"account\":\"The account to be changed.\",\"amount\":\"Number of tokens to be downgraded (in 18 decimals)\"}},\"operationTransferFrom(address,address,address,uint256)\":{\"custom:modifiers\":\" - onlyHost\",\"details\":\"Perform ERC20 transfer from by host contract.\",\"params\":{\"account\":\"The account to spend sender's funds.\",\"amount\":\"Number of tokens to be transferred.\",\"recipient\":\"The recipient of thefunds.\",\"spender\":\"The account where the funds is sent from.\"}},\"operationUpgrade(address,uint256)\":{\"custom:modifiers\":\" - onlyHost\",\"details\":\"Upgrade ERC20 to SuperToken by host contract.\",\"params\":{\"account\":\"The account to be changed.\",\"amount\":\"Number of tokens to be upgraded (in 18 decimals)\"}},\"operatorBurn(address,uint256,bytes,bytes)\":{\"custom:emits\":\"a {Burned} event.\",\"custom:requirements\":\" - `account` cannot be the zero address. - `account` must have at least `amount` tokens. - the caller must be an operator for `account`.\",\"details\":\"Destroys `amount` tokens from `account`, reducing the total supply. The caller must be an operator of `account`. If a send hook is registered for `account`, the corresponding function will be called with `data` and `operatorData`. See {IERC777Sender}.\"},\"operatorSend(address,address,uint256,bytes,bytes)\":{\"custom:emits\":\"a {Sent} event.\",\"custom:requirements\":\" - `sender` cannot be the zero address. - `sender` must have at least `amount` tokens. - the caller must be an operator for `sender`. - `recipient` cannot be the zero address. - if `recipient` is a contract, it must implement the {IERC777Recipient} interface.\",\"details\":\"Moves `amount` tokens from `sender` to `recipient`. The caller must be an operator of `sender`. If send or receive hooks are registered for `sender` and `recipient`, the corresponding functions will be called with `data` and `operatorData`. See {IERC777Sender} and {IERC777Recipient}.\"},\"realtimeBalanceOf(address,uint256)\":{\"details\":\"Calculate the real balance of a user, taking in consideration all agreements of the account\",\"params\":{\"account\":\"for the query\",\"timestamp\":\"Time of balance\"},\"returns\":{\"availableBalance\":\"Real-time balance\",\"deposit\":\"Account deposit\",\"owedDeposit\":\"Account owed Deposit\"}},\"realtimeBalanceOfNow(address)\":{\"details\":\"realtimeBalanceOf with timestamp equals to block timestamp\",\"params\":{\"account\":\"for the query\"},\"returns\":{\"availableBalance\":\"Real-time balance\",\"deposit\":\"Account deposit\",\"owedDeposit\":\"Account owed Deposit\"}},\"revokeOperator(address)\":{\"custom:emits\":\"a {RevokedOperator} event.\",\"custom:requirements\":\" - `operator` cannot be calling address.\",\"details\":\"Revoke an account's operator status for the caller. See {isOperatorFor} and {defaultOperators}.\"},\"selfApproveFor(address,address,uint256)\":{\"custom:modifiers\":\" - onlySelf\",\"details\":\"Give `spender`, `amount` allowance to spend the tokens of `account`.\"},\"selfBurn(address,uint256,bytes)\":{\"custom:modifiers\":\" - onlySelf\",\"details\":\"Burn existing tokens for the account\"},\"selfMint(address,uint256,bytes)\":{\"custom:modifiers\":\" - onlySelf\",\"details\":\"Mint new tokens for the account\"},\"selfTransferFrom(address,address,address,uint256)\":{\"custom:modifiers\":\" - onlySelf\",\"details\":\"Transfer `amount` tokens from the `sender` to `recipient`. If `spender` isn't the same as `sender`, checks if `spender` has allowance to spend tokens of `sender`.\"},\"send(address,uint256,bytes)\":{\"custom:emits\":\"a {Sent} event.\",\"custom:requirements\":\" - the caller must have at least `amount` tokens. - `recipient` cannot be the zero address. - if `recipient` is a contract, it must implement the {IERC777Recipient} interface.\",\"details\":\"Moves `amount` tokens from the caller's account to `recipient`.If send or receive hooks are registered for the caller and `recipient`, the corresponding functions will be called with `data` and empty `operatorData`. See {IERC777Sender} and {IERC777Recipient}.\"},\"settleBalance(address,int256)\":{\"custom:modifiers\":\" - onlyAgreement\",\"details\":\"The agreement needs to make sure that the balance delta is balanced afterwards\",\"params\":{\"account\":\"Account to query.\",\"delta\":\"Amount of balance delta to be settled\"}},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"terminateAgreement(bytes32,uint256)\":{\"details\":\"Close the agreement\",\"params\":{\"id\":\"Agreement ID\"}},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"custom:emits\":\"a {Transfer} event.\",\"details\":\"Moves `amount` tokens from the caller's account to `recipient`.\",\"returns\":{\"_0\":\"Returns Success a boolean value indicating whether the operation succeeded.\"}},\"transferAll(address)\":{\"details\":\"Transfer all available balance from `msg.sender` to `recipient`\"},\"transferFrom(address,address,uint256)\":{\"custom:emits\":\"a {Transfer} event.\",\"details\":\"Moves `amount` tokens from `sender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance.\",\"returns\":{\"_0\":\"Returns Success a boolean value indicating whether the operation succeeded.\"}},\"updateAgreementData(bytes32,bytes32[])\":{\"details\":\"Create a new agreement\",\"params\":{\"data\":\"Agreement data\",\"id\":\"Agreement ID\"}},\"updateAgreementStateSlot(address,uint256,bytes32[])\":{\"custom:note\":\" - To clear the storage out, provide zero-ed array of intended length\",\"details\":\"Update agreement state slot\",\"params\":{\"account\":\"Account to be updated\"}},\"upgrade(uint256)\":{\"custom:note\":\"It will use `transferFrom` to get tokens. Before calling this function you should `approve` this contract\",\"details\":\"Upgrade ERC20 to SuperToken.\",\"params\":{\"amount\":\"Number of tokens to be upgraded (in 18 decimals)\"}},\"upgradeTo(address,uint256,bytes)\":{\"custom:note\":\"It will use `transferFrom` to get tokens. Before calling this function you should `approve` this contract\",\"details\":\"Upgrade ERC20 to SuperToken and transfer immediately\",\"params\":{\"amount\":\"Number of tokens to be upgraded (in 18 decimals)\",\"data\":\"User data for the TokensRecipient callback\",\"to\":\"The account to received upgraded tokens\"}}},\"title\":\"Super token (Superfluid Token + ERC20 + ERC777) interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"allowance(address,address)\":{\"notice\":\"This value changes when {approve} or {transferFrom} are called.\"},\"getAccountActiveAgreements(address)\":{\"notice\":\"Get a list of agreements that is active for the account\"},\"isAccountCritical(address,uint256)\":{\"notice\":\"Check if account is critical\"},\"isAccountCriticalNow(address)\":{\"notice\":\"Check if account is critical now (current host.getNow())\"},\"isAccountSolvent(address,uint256)\":{\"notice\":\"Check if account is solvent\"},\"isAccountSolventNow(address)\":{\"notice\":\"Check if account is solvent now\"},\"realtimeBalanceOfNow(address)\":{\"notice\":\"Calculate the realtime balance given the current host.getNow() value\"},\"settleBalance(address,int256)\":{\"notice\":\"Settle balance from an account by the agreement\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/superfluid/ISuperToken.sol\":\"ISuperToken\"},\"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\":\"0xa90ceaf9d6170243a081524df94319655aea98ff1411d696610f9533cc043019\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://5919f3d615310c66d2f9acac1f5945c26b73e9dc5513f398eb71cf3a711e4d7f\",\"dweb:/ipfs/QmQYf1rDHRbPjRBRLEXyVDjingcELLbEKTT5szXk6kc8zk\"]},\"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/TokenInfo.sol\":{\"keccak256\":\"0x70e573644a0ff271c0ccef526809e9d9ab4950ec58755ca84e833cde3b8f3df0\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://aea3709687cc37ba625f4cc882fbdb149a7bf5be5afe2b030203c8719641a77b\",\"dweb:/ipfs/QmVpvfR6ZheE5wNUK9CobaVBgVvEnEPkvjWF9cfwyZr7eQ\"]}},\"version\":1}",
|
|
1574
|
+
"metadata": "{\"compiler\":{\"version\":\"0.8.14+commit.80d49f37\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"data\",\"type\":\"bytes32[]\"}],\"name\":\"AgreementCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"penaltyAccount\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"rewardAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"}],\"name\":\"AgreementLiquidated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"liquidatorAccount\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"penaltyAccount\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"bondAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bailoutAmount\",\"type\":\"uint256\"}],\"name\":\"AgreementLiquidatedBy\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"liquidatorAccount\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"targetAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"rewardAmountReceiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"targetAccountBalanceDelta\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"liquidationTypeData\",\"type\":\"bytes\"}],\"name\":\"AgreementLiquidatedV2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slotId\",\"type\":\"uint256\"}],\"name\":\"AgreementStateUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"AgreementTerminated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"data\",\"type\":\"bytes32[]\"}],\"name\":\"AgreementUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenHolder\",\"type\":\"address\"}],\"name\":\"AuthorizedOperator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"bailoutAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bailoutAmount\",\"type\":\"uint256\"}],\"name\":\"Bailout\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"Burned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"Minted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenHolder\",\"type\":\"address\"}],\"name\":\"RevokedOperator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"Sent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TokenDowngraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TokenUpgraded\",\"type\":\"event\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"authorizeOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"data\",\"type\":\"bytes32[]\"}],\"name\":\"createAgreement\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultOperators\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"downgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getAccountActiveAgreements\",\"outputs\":[{\"internalType\":\"contract ISuperAgreement[]\",\"name\":\"activeAgreements\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"dataLength\",\"type\":\"uint256\"}],\"name\":\"getAgreementData\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"data\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"slotId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dataLength\",\"type\":\"uint256\"}],\"name\":\"getAgreementStateSlot\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"slotData\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getHost\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"host\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getUnderlyingToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"granularity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"underlyingToken\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"underlyingDecimals\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"n\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"s\",\"type\":\"string\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"isAccountCritical\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isCritical\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isAccountCriticalNow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isCritical\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"isAccountSolvent\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isSolvent\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isAccountSolventNow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isSolvent\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenHolder\",\"type\":\"address\"}],\"name\":\"isOperatorFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"liquidationTypeData\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"liquidatorAccount\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"useDefaultRewardAccount\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"targetAccount\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"targetAccountBalanceDelta\",\"type\":\"int256\"}],\"name\":\"makeLiquidationPayoutsV2\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"operationApprove\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"operationDowngrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"operationTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"operationUpgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"operatorBurn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"operatorSend\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"realtimeBalanceOf\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"availableBalance\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"deposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"owedDeposit\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"realtimeBalanceOfNow\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"availableBalance\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"deposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"owedDeposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"revokeOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"selfApproveFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"name\":\"selfBurn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"name\":\"selfMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"selfTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"send\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"int256\",\"name\":\"delta\",\"type\":\"int256\"}],\"name\":\"settleBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"dataLength\",\"type\":\"uint256\"}],\"name\":\"terminateAgreement\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"transferAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"data\",\"type\":\"bytes32[]\"}],\"name\":\"updateAgreementData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"slotId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"slotData\",\"type\":\"bytes32[]\"}],\"name\":\"updateAgreementStateSlot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Superfluid\",\"events\":{\"TokenDowngraded(address,uint256)\":{\"details\":\"Token downgrade event\",\"params\":{\"account\":\"Account whose tokens are upgraded\",\"amount\":\"Amount of tokens downgraded\"}},\"TokenUpgraded(address,uint256)\":{\"details\":\"Token upgrade event\",\"params\":{\"account\":\"Account where tokens are upgraded to\",\"amount\":\"Amount of tokens upgraded (in 18 decimals)\"}}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default.\"},\"approve(address,uint256)\":{\"custom:emits\":\"an {Approval} event.\",\"custom:note\":\"Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\",\"details\":\"Sets `amount` as the allowance of `spender` over the caller's tokens.\",\"returns\":{\"_0\":\"Returns Success a boolean value indicating whether the operation succeeded.\"}},\"authorizeOperator(address)\":{\"custom:emits\":\"an {AuthorizedOperator} event.\",\"custom:requirements\":\" - `operator` cannot be calling address.\",\"details\":\"Make an account an operator of the caller. See {isOperatorFor}.\"},\"balanceOf(address)\":{\"details\":\"Returns the amount of tokens owned by an account (`owner`).\"},\"burn(uint256,bytes)\":{\"custom:emits\":\"a {Burned} event.\",\"custom:requirements\":\" - the caller must have at least `amount` tokens.\",\"details\":\"Destroys `amount` tokens from the caller's account, reducing the total supply. If a send hook is registered for the caller, the corresponding function will be called with `data` and empty `operatorData`. See {IERC777Sender}.\"},\"createAgreement(bytes32,bytes32[])\":{\"details\":\"Create a new agreement\",\"params\":{\"data\":\"Agreement data\",\"id\":\"Agreement ID\"}},\"decimals()\":{\"custom:note\":\"SuperToken always uses 18 decimals. This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\",\"details\":\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5,05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is called.\"},\"decreaseAllowance(address,uint256)\":{\"custom:emits\":\"an {Approval} event indicating the updated allowance.\",\"custom:requirements\":\" - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\",\"details\":\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}.\"},\"defaultOperators()\":{\"details\":\"Returns the list of default operators. These accounts are operators for all token holders, even if {authorizeOperator} was never called on them. This list is immutable, but individual holders may revoke these via {revokeOperator}, in which case {isOperatorFor} will return false.\"},\"downgrade(uint256)\":{\"details\":\"Downgrade SuperToken to ERC20.It will call transfer to send tokens\",\"params\":{\"amount\":\"Number of tokens to be downgraded\"}},\"getAccountActiveAgreements(address)\":{\"details\":\"An active agreement is one that has state for the account\",\"params\":{\"account\":\"Account to query\"},\"returns\":{\"activeAgreements\":\"List of accounts that have non-zero states for the account\"}},\"getAgreementData(address,bytes32,uint256)\":{\"details\":\"Get data of the agreement\",\"params\":{\"agreementClass\":\"Contract address of the agreement\",\"id\":\"Agreement ID\"},\"returns\":{\"data\":\"Data of the agreement\"}},\"getAgreementStateSlot(address,address,uint256,uint256)\":{\"details\":\"Get data of the slot of the state of an agreement\",\"params\":{\"account\":\"Account to query\",\"agreementClass\":\"Contract address of the agreement\",\"dataLength\":\"length of the state data\",\"slotId\":\"slot id of the state\"}},\"getHost()\":{\"details\":\"Get superfluid host contract address\"},\"getUnderlyingToken()\":{\"details\":\"Return the underlying token contract\",\"returns\":{\"tokenAddr\":\"Underlying token address\"}},\"granularity()\":{\"custom:note\":\"For super token contracts, this value is always 1\",\"details\":\"Returns the smallest part of the token that is not divisible. This means all token operations (creation, movement and destruction) must have amounts that are a multiple of this number.\"},\"increaseAllowance(address,uint256)\":{\"custom:emits\":\"an {Approval} event indicating the updated allowance.\",\"custom:requirements\":\" - `spender` cannot be the zero address.\",\"details\":\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}.\"},\"initialize(address,uint8,string,string)\":{\"details\":\"Initialize the contract\"},\"isAccountCritical(address,uint256)\":{\"details\":\"A critical account is when availableBalance < 0\",\"params\":{\"account\":\"The account to check\",\"timestamp\":\"The time we'd like to check if the account is critical (should use future)\"},\"returns\":{\"isCritical\":\"Whether the account is critical\"}},\"isAccountCriticalNow(address)\":{\"details\":\"A critical account is when availableBalance < 0\",\"params\":{\"account\":\"The account to check\"},\"returns\":{\"isCritical\":\"Whether the account is critical\"}},\"isAccountSolvent(address,uint256)\":{\"details\":\"An account is insolvent when the sum of deposits for a token can't cover the negative availableBalance\",\"params\":{\"account\":\"The account to check\",\"timestamp\":\"The time we'd like to check if the account is solvent (should use future)\"},\"returns\":{\"isSolvent\":\"True if the account is solvent, false otherwise\"}},\"isAccountSolventNow(address)\":{\"details\":\"An account is insolvent when the sum of deposits for a token can't cover the negative availableBalance\",\"params\":{\"account\":\"The account to check\"},\"returns\":{\"isSolvent\":\"True if the account is solvent, false otherwise\"}},\"isOperatorFor(address,address)\":{\"details\":\"Returns true if an account is an operator of `tokenHolder`. Operators can send and burn tokens on behalf of their owners. All accounts are their own operator. See {operatorSend} and {operatorBurn}.\"},\"makeLiquidationPayoutsV2(bytes32,bytes,address,bool,address,uint256,int256)\":{\"custom:modifiers\":\" - onlyAgreement\",\"custom:note\":\" - If a bailout is required (bailoutAmount > 0) - the actual reward (single deposit) goes to the executor, - while the reward account becomes the bailout account - total bailout include: bailout amount + reward amount - the targetAccount will be bailed out - If a bailout is not required - the targetAccount will pay the rewardAmount - the liquidator (reward account in PIC period) will receive the rewardAmount\",\"details\":\"Make liquidation payouts (v2)\",\"params\":{\"id\":\"Agreement ID\",\"liquidationTypeData\":\"Data regarding the version of the liquidation schema and the type\",\"liquidatorAccount\":\"Address of the executor of the liquidation\",\"rewardAmount\":\"The amount the rewarded account will receive\",\"targetAccount\":\"Account to be liquidated\",\"targetAccountBalanceDelta\":\"The delta amount the target account balance should change by\",\"useDefaultRewardAccount\":\"Whether or not the default reward account receives the rewardAmount\"}},\"name()\":{\"details\":\"Returns the name of the token.\"},\"operationApprove(address,address,uint256)\":{\"custom:modifiers\":\" - onlyHost\",\"details\":\"Perform ERC20 approve by host contract.\",\"params\":{\"account\":\"The account owner to be approved.\",\"amount\":\"Number of tokens to be approved.\",\"spender\":\"The spender of account owner's funds.\"}},\"operationDowngrade(address,uint256)\":{\"custom:modifiers\":\" - onlyHost\",\"details\":\"Downgrade ERC20 to SuperToken by host contract.\",\"params\":{\"account\":\"The account to be changed.\",\"amount\":\"Number of tokens to be downgraded (in 18 decimals)\"}},\"operationTransferFrom(address,address,address,uint256)\":{\"custom:modifiers\":\" - onlyHost\",\"details\":\"Perform ERC20 transfer from by host contract.\",\"params\":{\"account\":\"The account to spend sender's funds.\",\"amount\":\"Number of tokens to be transferred.\",\"recipient\":\"The recipient of thefunds.\",\"spender\":\"The account where the funds is sent from.\"}},\"operationUpgrade(address,uint256)\":{\"custom:modifiers\":\" - onlyHost\",\"details\":\"Upgrade ERC20 to SuperToken by host contract.\",\"params\":{\"account\":\"The account to be changed.\",\"amount\":\"Number of tokens to be upgraded (in 18 decimals)\"}},\"operatorBurn(address,uint256,bytes,bytes)\":{\"custom:emits\":\"a {Burned} event.\",\"custom:requirements\":\" - `account` cannot be the zero address. - `account` must have at least `amount` tokens. - the caller must be an operator for `account`.\",\"details\":\"Destroys `amount` tokens from `account`, reducing the total supply. The caller must be an operator of `account`. If a send hook is registered for `account`, the corresponding function will be called with `data` and `operatorData`. See {IERC777Sender}.\"},\"operatorSend(address,address,uint256,bytes,bytes)\":{\"custom:emits\":\"a {Sent} event.\",\"custom:requirements\":\" - `sender` cannot be the zero address. - `sender` must have at least `amount` tokens. - the caller must be an operator for `sender`. - `recipient` cannot be the zero address. - if `recipient` is a contract, it must implement the {IERC777Recipient} interface.\",\"details\":\"Moves `amount` tokens from `sender` to `recipient`. The caller must be an operator of `sender`. If send or receive hooks are registered for `sender` and `recipient`, the corresponding functions will be called with `data` and `operatorData`. See {IERC777Sender} and {IERC777Recipient}.\"},\"realtimeBalanceOf(address,uint256)\":{\"details\":\"Calculate the real balance of a user, taking in consideration all agreements of the account\",\"params\":{\"account\":\"for the query\",\"timestamp\":\"Time of balance\"},\"returns\":{\"availableBalance\":\"Real-time balance\",\"deposit\":\"Account deposit\",\"owedDeposit\":\"Account owed Deposit\"}},\"realtimeBalanceOfNow(address)\":{\"details\":\"realtimeBalanceOf with timestamp equals to block timestamp\",\"params\":{\"account\":\"for the query\"},\"returns\":{\"availableBalance\":\"Real-time balance\",\"deposit\":\"Account deposit\",\"owedDeposit\":\"Account owed Deposit\"}},\"revokeOperator(address)\":{\"custom:emits\":\"a {RevokedOperator} event.\",\"custom:requirements\":\" - `operator` cannot be calling address.\",\"details\":\"Revoke an account's operator status for the caller. See {isOperatorFor} and {defaultOperators}.\"},\"selfApproveFor(address,address,uint256)\":{\"custom:modifiers\":\" - onlySelf\",\"details\":\"Give `spender`, `amount` allowance to spend the tokens of `account`.\"},\"selfBurn(address,uint256,bytes)\":{\"custom:modifiers\":\" - onlySelf\",\"details\":\"Burn existing tokens for the account\"},\"selfMint(address,uint256,bytes)\":{\"custom:modifiers\":\" - onlySelf\",\"details\":\"Mint new tokens for the account\"},\"selfTransferFrom(address,address,address,uint256)\":{\"custom:modifiers\":\" - onlySelf\",\"details\":\"Transfer `amount` tokens from the `sender` to `recipient`. If `spender` isn't the same as `sender`, checks if `spender` has allowance to spend tokens of `sender`.\"},\"send(address,uint256,bytes)\":{\"custom:emits\":\"a {Sent} event.\",\"custom:requirements\":\" - the caller must have at least `amount` tokens. - `recipient` cannot be the zero address. - if `recipient` is a contract, it must implement the {IERC777Recipient} interface.\",\"details\":\"Moves `amount` tokens from the caller's account to `recipient`.If send or receive hooks are registered for the caller and `recipient`, the corresponding functions will be called with `data` and empty `operatorData`. See {IERC777Sender} and {IERC777Recipient}.\"},\"settleBalance(address,int256)\":{\"custom:modifiers\":\" - onlyAgreement\",\"details\":\"The agreement needs to make sure that the balance delta is balanced afterwards\",\"params\":{\"account\":\"Account to query.\",\"delta\":\"Amount of balance delta to be settled\"}},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"terminateAgreement(bytes32,uint256)\":{\"details\":\"Close the agreement\",\"params\":{\"id\":\"Agreement ID\"}},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"custom:emits\":\"a {Transfer} event.\",\"details\":\"Moves `amount` tokens from the caller's account to `recipient`.\",\"returns\":{\"_0\":\"Returns Success a boolean value indicating whether the operation succeeded.\"}},\"transferAll(address)\":{\"details\":\"Transfer all available balance from `msg.sender` to `recipient`\"},\"transferFrom(address,address,uint256)\":{\"custom:emits\":\"a {Transfer} event.\",\"details\":\"Moves `amount` tokens from `sender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance.\",\"returns\":{\"_0\":\"Returns Success a boolean value indicating whether the operation succeeded.\"}},\"updateAgreementData(bytes32,bytes32[])\":{\"details\":\"Create a new agreement\",\"params\":{\"data\":\"Agreement data\",\"id\":\"Agreement ID\"}},\"updateAgreementStateSlot(address,uint256,bytes32[])\":{\"custom:note\":\" - To clear the storage out, provide zero-ed array of intended length\",\"details\":\"Update agreement state slot\",\"params\":{\"account\":\"Account to be updated\"}},\"upgrade(uint256)\":{\"custom:note\":\"It will use `transferFrom` to get tokens. Before calling this function you should `approve` this contract\",\"details\":\"Upgrade ERC20 to SuperToken.\",\"params\":{\"amount\":\"Number of tokens to be upgraded (in 18 decimals)\"}},\"upgradeTo(address,uint256,bytes)\":{\"custom:note\":\"It will use `transferFrom` to get tokens. Before calling this function you should `approve` this contract\",\"details\":\"Upgrade ERC20 to SuperToken and transfer immediately\",\"params\":{\"amount\":\"Number of tokens to be upgraded (in 18 decimals)\",\"data\":\"User data for the TokensRecipient callback\",\"to\":\"The account to received upgraded tokens\"}}},\"title\":\"Super token (Superfluid Token + ERC20 + ERC777) interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"allowance(address,address)\":{\"notice\":\"This value changes when {approve} or {transferFrom} are called.\"},\"getAccountActiveAgreements(address)\":{\"notice\":\"Get a list of agreements that is active for the account\"},\"isAccountCritical(address,uint256)\":{\"notice\":\"Check if account is critical\"},\"isAccountCriticalNow(address)\":{\"notice\":\"Check if account is critical now (current host.getNow())\"},\"isAccountSolvent(address,uint256)\":{\"notice\":\"Check if account is solvent\"},\"isAccountSolventNow(address)\":{\"notice\":\"Check if account is solvent now\"},\"realtimeBalanceOfNow(address)\":{\"notice\":\"Calculate the realtime balance given the current host.getNow() value\"},\"settleBalance(address,int256)\":{\"notice\":\"Settle balance from an account by the agreement\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/superfluid/ISuperToken.sol\":\"ISuperToken\"},\"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/TokenInfo.sol\":{\"keccak256\":\"0x70e573644a0ff271c0ccef526809e9d9ab4950ec58755ca84e833cde3b8f3df0\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://aea3709687cc37ba625f4cc882fbdb149a7bf5be5afe2b030203c8719641a77b\",\"dweb:/ipfs/QmVpvfR6ZheE5wNUK9CobaVBgVvEnEPkvjWF9cfwyZr7eQ\"]}},\"version\":1}",
|
|
1575
1575
|
"bytecode": "0x",
|
|
1576
1576
|
"deployedBytecode": "0x",
|
|
1577
1577
|
"immutableReferences": {},
|
|
@@ -1591,24 +1591,24 @@
|
|
|
1591
1591
|
2352
|
|
1592
1592
|
],
|
|
1593
1593
|
"ISuperToken": [
|
|
1594
|
-
|
|
1594
|
+
19492
|
|
1595
1595
|
],
|
|
1596
1596
|
"ISuperfluid": [
|
|
1597
|
-
|
|
1597
|
+
20053
|
|
1598
1598
|
],
|
|
1599
1599
|
"ISuperfluidToken": [
|
|
1600
|
-
|
|
1600
|
+
20450
|
|
1601
1601
|
],
|
|
1602
1602
|
"TokenInfo": [
|
|
1603
|
-
|
|
1603
|
+
20567
|
|
1604
1604
|
]
|
|
1605
1605
|
},
|
|
1606
|
-
"id":
|
|
1606
|
+
"id": 19493,
|
|
1607
1607
|
"license": "AGPLv3",
|
|
1608
1608
|
"nodeType": "SourceUnit",
|
|
1609
1609
|
"nodes": [
|
|
1610
1610
|
{
|
|
1611
|
-
"id":
|
|
1611
|
+
"id": 19118,
|
|
1612
1612
|
"literals": [
|
|
1613
1613
|
"solidity",
|
|
1614
1614
|
">=",
|
|
@@ -1621,20 +1621,20 @@
|
|
|
1621
1621
|
{
|
|
1622
1622
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluid.sol",
|
|
1623
1623
|
"file": "./ISuperfluid.sol",
|
|
1624
|
-
"id":
|
|
1624
|
+
"id": 19120,
|
|
1625
1625
|
"nameLocation": "-1:-1:-1",
|
|
1626
1626
|
"nodeType": "ImportDirective",
|
|
1627
|
-
"scope":
|
|
1628
|
-
"sourceUnit":
|
|
1627
|
+
"scope": 19493,
|
|
1628
|
+
"sourceUnit": 20054,
|
|
1629
1629
|
"src": "62:48:46",
|
|
1630
1630
|
"symbolAliases": [
|
|
1631
1631
|
{
|
|
1632
1632
|
"foreign": {
|
|
1633
|
-
"id":
|
|
1633
|
+
"id": 19119,
|
|
1634
1634
|
"name": "ISuperfluid",
|
|
1635
1635
|
"nodeType": "Identifier",
|
|
1636
1636
|
"overloadedDeclarations": [],
|
|
1637
|
-
"referencedDeclaration":
|
|
1637
|
+
"referencedDeclaration": 20053,
|
|
1638
1638
|
"src": "71:11:46",
|
|
1639
1639
|
"typeDescriptions": {}
|
|
1640
1640
|
},
|
|
@@ -1646,20 +1646,20 @@
|
|
|
1646
1646
|
{
|
|
1647
1647
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluidToken.sol",
|
|
1648
1648
|
"file": "./ISuperfluidToken.sol",
|
|
1649
|
-
"id":
|
|
1649
|
+
"id": 19122,
|
|
1650
1650
|
"nameLocation": "-1:-1:-1",
|
|
1651
1651
|
"nodeType": "ImportDirective",
|
|
1652
|
-
"scope":
|
|
1653
|
-
"sourceUnit":
|
|
1652
|
+
"scope": 19493,
|
|
1653
|
+
"sourceUnit": 20451,
|
|
1654
1654
|
"src": "111:58:46",
|
|
1655
1655
|
"symbolAliases": [
|
|
1656
1656
|
{
|
|
1657
1657
|
"foreign": {
|
|
1658
|
-
"id":
|
|
1658
|
+
"id": 19121,
|
|
1659
1659
|
"name": "ISuperfluidToken",
|
|
1660
1660
|
"nodeType": "Identifier",
|
|
1661
1661
|
"overloadedDeclarations": [],
|
|
1662
|
-
"referencedDeclaration":
|
|
1662
|
+
"referencedDeclaration": 20450,
|
|
1663
1663
|
"src": "120:16:46",
|
|
1664
1664
|
"typeDescriptions": {}
|
|
1665
1665
|
},
|
|
@@ -1671,20 +1671,20 @@
|
|
|
1671
1671
|
{
|
|
1672
1672
|
"absolutePath": "project:/contracts/interfaces/tokens/TokenInfo.sol",
|
|
1673
1673
|
"file": "../tokens/TokenInfo.sol",
|
|
1674
|
-
"id":
|
|
1674
|
+
"id": 19124,
|
|
1675
1675
|
"nameLocation": "-1:-1:-1",
|
|
1676
1676
|
"nodeType": "ImportDirective",
|
|
1677
|
-
"scope":
|
|
1678
|
-
"sourceUnit":
|
|
1677
|
+
"scope": 19493,
|
|
1678
|
+
"sourceUnit": 20568,
|
|
1679
1679
|
"src": "170:52:46",
|
|
1680
1680
|
"symbolAliases": [
|
|
1681
1681
|
{
|
|
1682
1682
|
"foreign": {
|
|
1683
|
-
"id":
|
|
1683
|
+
"id": 19123,
|
|
1684
1684
|
"name": "TokenInfo",
|
|
1685
1685
|
"nodeType": "Identifier",
|
|
1686
1686
|
"overloadedDeclarations": [],
|
|
1687
|
-
"referencedDeclaration":
|
|
1687
|
+
"referencedDeclaration": 20567,
|
|
1688
1688
|
"src": "179:9:46",
|
|
1689
1689
|
"typeDescriptions": {}
|
|
1690
1690
|
},
|
|
@@ -1696,16 +1696,16 @@
|
|
|
1696
1696
|
{
|
|
1697
1697
|
"absolutePath": "@openzeppelin/contracts/token/ERC777/IERC777.sol",
|
|
1698
1698
|
"file": "@openzeppelin/contracts/token/ERC777/IERC777.sol",
|
|
1699
|
-
"id":
|
|
1699
|
+
"id": 19126,
|
|
1700
1700
|
"nameLocation": "-1:-1:-1",
|
|
1701
1701
|
"nodeType": "ImportDirective",
|
|
1702
|
-
"scope":
|
|
1702
|
+
"scope": 19493,
|
|
1703
1703
|
"sourceUnit": 2353,
|
|
1704
1704
|
"src": "223:75:46",
|
|
1705
1705
|
"symbolAliases": [
|
|
1706
1706
|
{
|
|
1707
1707
|
"foreign": {
|
|
1708
|
-
"id":
|
|
1708
|
+
"id": 19125,
|
|
1709
1709
|
"name": "IERC777",
|
|
1710
1710
|
"nodeType": "Identifier",
|
|
1711
1711
|
"overloadedDeclarations": [],
|
|
@@ -1721,16 +1721,16 @@
|
|
|
1721
1721
|
{
|
|
1722
1722
|
"absolutePath": "@openzeppelin/contracts/token/ERC20/IERC20.sol",
|
|
1723
1723
|
"file": "@openzeppelin/contracts/token/ERC20/IERC20.sol",
|
|
1724
|
-
"id":
|
|
1724
|
+
"id": 19128,
|
|
1725
1725
|
"nameLocation": "-1:-1:-1",
|
|
1726
1726
|
"nodeType": "ImportDirective",
|
|
1727
|
-
"scope":
|
|
1727
|
+
"scope": 19493,
|
|
1728
1728
|
"sourceUnit": 1631,
|
|
1729
1729
|
"src": "299:72:46",
|
|
1730
1730
|
"symbolAliases": [
|
|
1731
1731
|
{
|
|
1732
1732
|
"foreign": {
|
|
1733
|
-
"id":
|
|
1733
|
+
"id": 19127,
|
|
1734
1734
|
"name": "IERC20",
|
|
1735
1735
|
"nodeType": "Identifier",
|
|
1736
1736
|
"overloadedDeclarations": [],
|
|
@@ -1748,49 +1748,49 @@
|
|
|
1748
1748
|
"baseContracts": [
|
|
1749
1749
|
{
|
|
1750
1750
|
"baseName": {
|
|
1751
|
-
"id":
|
|
1751
|
+
"id": 19130,
|
|
1752
1752
|
"name": "ISuperfluidToken",
|
|
1753
1753
|
"nodeType": "IdentifierPath",
|
|
1754
|
-
"referencedDeclaration":
|
|
1754
|
+
"referencedDeclaration": 20450,
|
|
1755
1755
|
"src": "496:16:46"
|
|
1756
1756
|
},
|
|
1757
|
-
"id":
|
|
1757
|
+
"id": 19131,
|
|
1758
1758
|
"nodeType": "InheritanceSpecifier",
|
|
1759
1759
|
"src": "496:16:46"
|
|
1760
1760
|
},
|
|
1761
1761
|
{
|
|
1762
1762
|
"baseName": {
|
|
1763
|
-
"id":
|
|
1763
|
+
"id": 19132,
|
|
1764
1764
|
"name": "TokenInfo",
|
|
1765
1765
|
"nodeType": "IdentifierPath",
|
|
1766
|
-
"referencedDeclaration":
|
|
1766
|
+
"referencedDeclaration": 20567,
|
|
1767
1767
|
"src": "514:9:46"
|
|
1768
1768
|
},
|
|
1769
|
-
"id":
|
|
1769
|
+
"id": 19133,
|
|
1770
1770
|
"nodeType": "InheritanceSpecifier",
|
|
1771
1771
|
"src": "514:9:46"
|
|
1772
1772
|
},
|
|
1773
1773
|
{
|
|
1774
1774
|
"baseName": {
|
|
1775
|
-
"id":
|
|
1775
|
+
"id": 19134,
|
|
1776
1776
|
"name": "IERC20",
|
|
1777
1777
|
"nodeType": "IdentifierPath",
|
|
1778
1778
|
"referencedDeclaration": 1630,
|
|
1779
1779
|
"src": "525:6:46"
|
|
1780
1780
|
},
|
|
1781
|
-
"id":
|
|
1781
|
+
"id": 19135,
|
|
1782
1782
|
"nodeType": "InheritanceSpecifier",
|
|
1783
1783
|
"src": "525:6:46"
|
|
1784
1784
|
},
|
|
1785
1785
|
{
|
|
1786
1786
|
"baseName": {
|
|
1787
|
-
"id":
|
|
1787
|
+
"id": 19136,
|
|
1788
1788
|
"name": "IERC777",
|
|
1789
1789
|
"nodeType": "IdentifierPath",
|
|
1790
1790
|
"referencedDeclaration": 2352,
|
|
1791
1791
|
"src": "533:7:46"
|
|
1792
1792
|
},
|
|
1793
|
-
"id":
|
|
1793
|
+
"id": 19137,
|
|
1794
1794
|
"nodeType": "InheritanceSpecifier",
|
|
1795
1795
|
"src": "533:7:46"
|
|
1796
1796
|
}
|
|
@@ -1799,19 +1799,19 @@
|
|
|
1799
1799
|
"contractDependencies": [],
|
|
1800
1800
|
"contractKind": "interface",
|
|
1801
1801
|
"documentation": {
|
|
1802
|
-
"id":
|
|
1802
|
+
"id": 19129,
|
|
1803
1803
|
"nodeType": "StructuredDocumentation",
|
|
1804
1804
|
"src": "373:97:46",
|
|
1805
1805
|
"text": " @title Super token (Superfluid Token + ERC20 + ERC777) interface\n @author Superfluid"
|
|
1806
1806
|
},
|
|
1807
1807
|
"fullyImplemented": false,
|
|
1808
|
-
"id":
|
|
1808
|
+
"id": 19492,
|
|
1809
1809
|
"linearizedBaseContracts": [
|
|
1810
|
-
|
|
1810
|
+
19492,
|
|
1811
1811
|
2352,
|
|
1812
1812
|
1630,
|
|
1813
|
-
|
|
1814
|
-
|
|
1813
|
+
20567,
|
|
1814
|
+
20450
|
|
1815
1815
|
],
|
|
1816
1816
|
"name": "ISuperToken",
|
|
1817
1817
|
"nameLocation": "481:11:46",
|
|
@@ -1819,13 +1819,13 @@
|
|
|
1819
1819
|
"nodes": [
|
|
1820
1820
|
{
|
|
1821
1821
|
"documentation": {
|
|
1822
|
-
"id":
|
|
1822
|
+
"id": 19138,
|
|
1823
1823
|
"nodeType": "StructuredDocumentation",
|
|
1824
1824
|
"src": "548:47:46",
|
|
1825
1825
|
"text": " @dev Initialize the contract"
|
|
1826
1826
|
},
|
|
1827
1827
|
"functionSelector": "42fe0980",
|
|
1828
|
-
"id":
|
|
1828
|
+
"id": 19150,
|
|
1829
1829
|
"implemented": false,
|
|
1830
1830
|
"kind": "function",
|
|
1831
1831
|
"modifiers": [],
|
|
@@ -1833,17 +1833,17 @@
|
|
|
1833
1833
|
"nameLocation": "609:10:46",
|
|
1834
1834
|
"nodeType": "FunctionDefinition",
|
|
1835
1835
|
"parameters": {
|
|
1836
|
-
"id":
|
|
1836
|
+
"id": 19148,
|
|
1837
1837
|
"nodeType": "ParameterList",
|
|
1838
1838
|
"parameters": [
|
|
1839
1839
|
{
|
|
1840
1840
|
"constant": false,
|
|
1841
|
-
"id":
|
|
1841
|
+
"id": 19141,
|
|
1842
1842
|
"mutability": "mutable",
|
|
1843
1843
|
"name": "underlyingToken",
|
|
1844
1844
|
"nameLocation": "636:15:46",
|
|
1845
1845
|
"nodeType": "VariableDeclaration",
|
|
1846
|
-
"scope":
|
|
1846
|
+
"scope": 19150,
|
|
1847
1847
|
"src": "629:22:46",
|
|
1848
1848
|
"stateVariable": false,
|
|
1849
1849
|
"storageLocation": "default",
|
|
@@ -1852,10 +1852,10 @@
|
|
|
1852
1852
|
"typeString": "contract IERC20"
|
|
1853
1853
|
},
|
|
1854
1854
|
"typeName": {
|
|
1855
|
-
"id":
|
|
1855
|
+
"id": 19140,
|
|
1856
1856
|
"nodeType": "UserDefinedTypeName",
|
|
1857
1857
|
"pathNode": {
|
|
1858
|
-
"id":
|
|
1858
|
+
"id": 19139,
|
|
1859
1859
|
"name": "IERC20",
|
|
1860
1860
|
"nodeType": "IdentifierPath",
|
|
1861
1861
|
"referencedDeclaration": 1630,
|
|
@@ -1872,12 +1872,12 @@
|
|
|
1872
1872
|
},
|
|
1873
1873
|
{
|
|
1874
1874
|
"constant": false,
|
|
1875
|
-
"id":
|
|
1875
|
+
"id": 19143,
|
|
1876
1876
|
"mutability": "mutable",
|
|
1877
1877
|
"name": "underlyingDecimals",
|
|
1878
1878
|
"nameLocation": "667:18:46",
|
|
1879
1879
|
"nodeType": "VariableDeclaration",
|
|
1880
|
-
"scope":
|
|
1880
|
+
"scope": 19150,
|
|
1881
1881
|
"src": "661:24:46",
|
|
1882
1882
|
"stateVariable": false,
|
|
1883
1883
|
"storageLocation": "default",
|
|
@@ -1886,7 +1886,7 @@
|
|
|
1886
1886
|
"typeString": "uint8"
|
|
1887
1887
|
},
|
|
1888
1888
|
"typeName": {
|
|
1889
|
-
"id":
|
|
1889
|
+
"id": 19142,
|
|
1890
1890
|
"name": "uint8",
|
|
1891
1891
|
"nodeType": "ElementaryTypeName",
|
|
1892
1892
|
"src": "661:5:46",
|
|
@@ -1899,12 +1899,12 @@
|
|
|
1899
1899
|
},
|
|
1900
1900
|
{
|
|
1901
1901
|
"constant": false,
|
|
1902
|
-
"id":
|
|
1902
|
+
"id": 19145,
|
|
1903
1903
|
"mutability": "mutable",
|
|
1904
1904
|
"name": "n",
|
|
1905
1905
|
"nameLocation": "711:1:46",
|
|
1906
1906
|
"nodeType": "VariableDeclaration",
|
|
1907
|
-
"scope":
|
|
1907
|
+
"scope": 19150,
|
|
1908
1908
|
"src": "695:17:46",
|
|
1909
1909
|
"stateVariable": false,
|
|
1910
1910
|
"storageLocation": "calldata",
|
|
@@ -1913,7 +1913,7 @@
|
|
|
1913
1913
|
"typeString": "string"
|
|
1914
1914
|
},
|
|
1915
1915
|
"typeName": {
|
|
1916
|
-
"id":
|
|
1916
|
+
"id": 19144,
|
|
1917
1917
|
"name": "string",
|
|
1918
1918
|
"nodeType": "ElementaryTypeName",
|
|
1919
1919
|
"src": "695:6:46",
|
|
@@ -1926,12 +1926,12 @@
|
|
|
1926
1926
|
},
|
|
1927
1927
|
{
|
|
1928
1928
|
"constant": false,
|
|
1929
|
-
"id":
|
|
1929
|
+
"id": 19147,
|
|
1930
1930
|
"mutability": "mutable",
|
|
1931
1931
|
"name": "s",
|
|
1932
1932
|
"nameLocation": "738:1:46",
|
|
1933
1933
|
"nodeType": "VariableDeclaration",
|
|
1934
|
-
"scope":
|
|
1934
|
+
"scope": 19150,
|
|
1935
1935
|
"src": "722:17:46",
|
|
1936
1936
|
"stateVariable": false,
|
|
1937
1937
|
"storageLocation": "calldata",
|
|
@@ -1940,7 +1940,7 @@
|
|
|
1940
1940
|
"typeString": "string"
|
|
1941
1941
|
},
|
|
1942
1942
|
"typeName": {
|
|
1943
|
-
"id":
|
|
1943
|
+
"id": 19146,
|
|
1944
1944
|
"name": "string",
|
|
1945
1945
|
"nodeType": "ElementaryTypeName",
|
|
1946
1946
|
"src": "722:6:46",
|
|
@@ -1955,12 +1955,12 @@
|
|
|
1955
1955
|
"src": "619:126:46"
|
|
1956
1956
|
},
|
|
1957
1957
|
"returnParameters": {
|
|
1958
|
-
"id":
|
|
1958
|
+
"id": 19149,
|
|
1959
1959
|
"nodeType": "ParameterList",
|
|
1960
1960
|
"parameters": [],
|
|
1961
1961
|
"src": "754:0:46"
|
|
1962
1962
|
},
|
|
1963
|
-
"scope":
|
|
1963
|
+
"scope": 19492,
|
|
1964
1964
|
"src": "600:155:46",
|
|
1965
1965
|
"stateMutability": "nonpayable",
|
|
1966
1966
|
"virtual": false,
|
|
@@ -1969,16 +1969,16 @@
|
|
|
1969
1969
|
{
|
|
1970
1970
|
"baseFunctions": [
|
|
1971
1971
|
2238,
|
|
1972
|
-
|
|
1972
|
+
20554
|
|
1973
1973
|
],
|
|
1974
1974
|
"documentation": {
|
|
1975
|
-
"id":
|
|
1975
|
+
"id": 19151,
|
|
1976
1976
|
"nodeType": "StructuredDocumentation",
|
|
1977
1977
|
"src": "946:54:46",
|
|
1978
1978
|
"text": " @dev Returns the name of the token."
|
|
1979
1979
|
},
|
|
1980
1980
|
"functionSelector": "06fdde03",
|
|
1981
|
-
"id":
|
|
1981
|
+
"id": 19159,
|
|
1982
1982
|
"implemented": false,
|
|
1983
1983
|
"kind": "function",
|
|
1984
1984
|
"modifiers": [],
|
|
@@ -1986,44 +1986,44 @@
|
|
|
1986
1986
|
"nameLocation": "1014:4:46",
|
|
1987
1987
|
"nodeType": "FunctionDefinition",
|
|
1988
1988
|
"overrides": {
|
|
1989
|
-
"id":
|
|
1989
|
+
"id": 19155,
|
|
1990
1990
|
"nodeType": "OverrideSpecifier",
|
|
1991
1991
|
"overrides": [
|
|
1992
1992
|
{
|
|
1993
|
-
"id":
|
|
1993
|
+
"id": 19153,
|
|
1994
1994
|
"name": "IERC777",
|
|
1995
1995
|
"nodeType": "IdentifierPath",
|
|
1996
1996
|
"referencedDeclaration": 2352,
|
|
1997
1997
|
"src": "1044:7:46"
|
|
1998
1998
|
},
|
|
1999
1999
|
{
|
|
2000
|
-
"id":
|
|
2000
|
+
"id": 19154,
|
|
2001
2001
|
"name": "TokenInfo",
|
|
2002
2002
|
"nodeType": "IdentifierPath",
|
|
2003
|
-
"referencedDeclaration":
|
|
2003
|
+
"referencedDeclaration": 20567,
|
|
2004
2004
|
"src": "1053:9:46"
|
|
2005
2005
|
}
|
|
2006
2006
|
],
|
|
2007
2007
|
"src": "1035:28:46"
|
|
2008
2008
|
},
|
|
2009
2009
|
"parameters": {
|
|
2010
|
-
"id":
|
|
2010
|
+
"id": 19152,
|
|
2011
2011
|
"nodeType": "ParameterList",
|
|
2012
2012
|
"parameters": [],
|
|
2013
2013
|
"src": "1018:2:46"
|
|
2014
2014
|
},
|
|
2015
2015
|
"returnParameters": {
|
|
2016
|
-
"id":
|
|
2016
|
+
"id": 19158,
|
|
2017
2017
|
"nodeType": "ParameterList",
|
|
2018
2018
|
"parameters": [
|
|
2019
2019
|
{
|
|
2020
2020
|
"constant": false,
|
|
2021
|
-
"id":
|
|
2021
|
+
"id": 19157,
|
|
2022
2022
|
"mutability": "mutable",
|
|
2023
2023
|
"name": "",
|
|
2024
2024
|
"nameLocation": "-1:-1:-1",
|
|
2025
2025
|
"nodeType": "VariableDeclaration",
|
|
2026
|
-
"scope":
|
|
2026
|
+
"scope": 19159,
|
|
2027
2027
|
"src": "1073:13:46",
|
|
2028
2028
|
"stateVariable": false,
|
|
2029
2029
|
"storageLocation": "memory",
|
|
@@ -2032,7 +2032,7 @@
|
|
|
2032
2032
|
"typeString": "string"
|
|
2033
2033
|
},
|
|
2034
2034
|
"typeName": {
|
|
2035
|
-
"id":
|
|
2035
|
+
"id": 19156,
|
|
2036
2036
|
"name": "string",
|
|
2037
2037
|
"nodeType": "ElementaryTypeName",
|
|
2038
2038
|
"src": "1073:6:46",
|
|
@@ -2046,7 +2046,7 @@
|
|
|
2046
2046
|
],
|
|
2047
2047
|
"src": "1072:15:46"
|
|
2048
2048
|
},
|
|
2049
|
-
"scope":
|
|
2049
|
+
"scope": 19492,
|
|
2050
2050
|
"src": "1005:83:46",
|
|
2051
2051
|
"stateMutability": "view",
|
|
2052
2052
|
"virtual": false,
|
|
@@ -2055,16 +2055,16 @@
|
|
|
2055
2055
|
{
|
|
2056
2056
|
"baseFunctions": [
|
|
2057
2057
|
2244,
|
|
2058
|
-
|
|
2058
|
+
20560
|
|
2059
2059
|
],
|
|
2060
2060
|
"documentation": {
|
|
2061
|
-
"id":
|
|
2061
|
+
"id": 19160,
|
|
2062
2062
|
"nodeType": "StructuredDocumentation",
|
|
2063
2063
|
"src": "1094:102:46",
|
|
2064
2064
|
"text": " @dev Returns the symbol of the token, usually a shorter version of the\n name."
|
|
2065
2065
|
},
|
|
2066
2066
|
"functionSelector": "95d89b41",
|
|
2067
|
-
"id":
|
|
2067
|
+
"id": 19168,
|
|
2068
2068
|
"implemented": false,
|
|
2069
2069
|
"kind": "function",
|
|
2070
2070
|
"modifiers": [],
|
|
@@ -2072,44 +2072,44 @@
|
|
|
2072
2072
|
"nameLocation": "1210:6:46",
|
|
2073
2073
|
"nodeType": "FunctionDefinition",
|
|
2074
2074
|
"overrides": {
|
|
2075
|
-
"id":
|
|
2075
|
+
"id": 19164,
|
|
2076
2076
|
"nodeType": "OverrideSpecifier",
|
|
2077
2077
|
"overrides": [
|
|
2078
2078
|
{
|
|
2079
|
-
"id":
|
|
2079
|
+
"id": 19162,
|
|
2080
2080
|
"name": "IERC777",
|
|
2081
2081
|
"nodeType": "IdentifierPath",
|
|
2082
2082
|
"referencedDeclaration": 2352,
|
|
2083
2083
|
"src": "1242:7:46"
|
|
2084
2084
|
},
|
|
2085
2085
|
{
|
|
2086
|
-
"id":
|
|
2086
|
+
"id": 19163,
|
|
2087
2087
|
"name": "TokenInfo",
|
|
2088
2088
|
"nodeType": "IdentifierPath",
|
|
2089
|
-
"referencedDeclaration":
|
|
2089
|
+
"referencedDeclaration": 20567,
|
|
2090
2090
|
"src": "1251:9:46"
|
|
2091
2091
|
}
|
|
2092
2092
|
],
|
|
2093
2093
|
"src": "1233:28:46"
|
|
2094
2094
|
},
|
|
2095
2095
|
"parameters": {
|
|
2096
|
-
"id":
|
|
2096
|
+
"id": 19161,
|
|
2097
2097
|
"nodeType": "ParameterList",
|
|
2098
2098
|
"parameters": [],
|
|
2099
2099
|
"src": "1216:2:46"
|
|
2100
2100
|
},
|
|
2101
2101
|
"returnParameters": {
|
|
2102
|
-
"id":
|
|
2102
|
+
"id": 19167,
|
|
2103
2103
|
"nodeType": "ParameterList",
|
|
2104
2104
|
"parameters": [
|
|
2105
2105
|
{
|
|
2106
2106
|
"constant": false,
|
|
2107
|
-
"id":
|
|
2107
|
+
"id": 19166,
|
|
2108
2108
|
"mutability": "mutable",
|
|
2109
2109
|
"name": "",
|
|
2110
2110
|
"nameLocation": "-1:-1:-1",
|
|
2111
2111
|
"nodeType": "VariableDeclaration",
|
|
2112
|
-
"scope":
|
|
2112
|
+
"scope": 19168,
|
|
2113
2113
|
"src": "1271:13:46",
|
|
2114
2114
|
"stateVariable": false,
|
|
2115
2115
|
"storageLocation": "memory",
|
|
@@ -2118,7 +2118,7 @@
|
|
|
2118
2118
|
"typeString": "string"
|
|
2119
2119
|
},
|
|
2120
2120
|
"typeName": {
|
|
2121
|
-
"id":
|
|
2121
|
+
"id": 19165,
|
|
2122
2122
|
"name": "string",
|
|
2123
2123
|
"nodeType": "ElementaryTypeName",
|
|
2124
2124
|
"src": "1271:6:46",
|
|
@@ -2132,7 +2132,7 @@
|
|
|
2132
2132
|
],
|
|
2133
2133
|
"src": "1270:15:46"
|
|
2134
2134
|
},
|
|
2135
|
-
"scope":
|
|
2135
|
+
"scope": 19492,
|
|
2136
2136
|
"src": "1201:85:46",
|
|
2137
2137
|
"stateMutability": "view",
|
|
2138
2138
|
"virtual": false,
|
|
@@ -2140,16 +2140,16 @@
|
|
|
2140
2140
|
},
|
|
2141
2141
|
{
|
|
2142
2142
|
"baseFunctions": [
|
|
2143
|
-
|
|
2143
|
+
20566
|
|
2144
2144
|
],
|
|
2145
2145
|
"documentation": {
|
|
2146
|
-
"id":
|
|
2146
|
+
"id": 19169,
|
|
2147
2147
|
"nodeType": "StructuredDocumentation",
|
|
2148
2148
|
"src": "1292:669:46",
|
|
2149
2149
|
"text": " @dev Returns the number of decimals used to get its user representation.\n For example, if `decimals` equals `2`, a balance of `505` tokens should\n be displayed to a user as `5,05` (`505 / 10 ** 2`).\n Tokens usually opt for a value of 18, imitating the relationship between\n Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is\n called.\n @custom:note SuperToken always uses 18 decimals.\n This information is only used for _display_ purposes: it in\n no way affects any of the arithmetic of the contract, including\n {IERC20-balanceOf} and {IERC20-transfer}."
|
|
2150
2150
|
},
|
|
2151
2151
|
"functionSelector": "313ce567",
|
|
2152
|
-
"id":
|
|
2152
|
+
"id": 19176,
|
|
2153
2153
|
"implemented": false,
|
|
2154
2154
|
"kind": "function",
|
|
2155
2155
|
"modifiers": [],
|
|
@@ -2157,37 +2157,37 @@
|
|
|
2157
2157
|
"nameLocation": "1975:8:46",
|
|
2158
2158
|
"nodeType": "FunctionDefinition",
|
|
2159
2159
|
"overrides": {
|
|
2160
|
-
"id":
|
|
2160
|
+
"id": 19172,
|
|
2161
2161
|
"nodeType": "OverrideSpecifier",
|
|
2162
2162
|
"overrides": [
|
|
2163
2163
|
{
|
|
2164
|
-
"id":
|
|
2164
|
+
"id": 19171,
|
|
2165
2165
|
"name": "TokenInfo",
|
|
2166
2166
|
"nodeType": "IdentifierPath",
|
|
2167
|
-
"referencedDeclaration":
|
|
2167
|
+
"referencedDeclaration": 20567,
|
|
2168
2168
|
"src": "2009:9:46"
|
|
2169
2169
|
}
|
|
2170
2170
|
],
|
|
2171
2171
|
"src": "2000:19:46"
|
|
2172
2172
|
},
|
|
2173
2173
|
"parameters": {
|
|
2174
|
-
"id":
|
|
2174
|
+
"id": 19170,
|
|
2175
2175
|
"nodeType": "ParameterList",
|
|
2176
2176
|
"parameters": [],
|
|
2177
2177
|
"src": "1983:2:46"
|
|
2178
2178
|
},
|
|
2179
2179
|
"returnParameters": {
|
|
2180
|
-
"id":
|
|
2180
|
+
"id": 19175,
|
|
2181
2181
|
"nodeType": "ParameterList",
|
|
2182
2182
|
"parameters": [
|
|
2183
2183
|
{
|
|
2184
2184
|
"constant": false,
|
|
2185
|
-
"id":
|
|
2185
|
+
"id": 19174,
|
|
2186
2186
|
"mutability": "mutable",
|
|
2187
2187
|
"name": "",
|
|
2188
2188
|
"nameLocation": "-1:-1:-1",
|
|
2189
2189
|
"nodeType": "VariableDeclaration",
|
|
2190
|
-
"scope":
|
|
2190
|
+
"scope": 19176,
|
|
2191
2191
|
"src": "2029:5:46",
|
|
2192
2192
|
"stateVariable": false,
|
|
2193
2193
|
"storageLocation": "default",
|
|
@@ -2196,7 +2196,7 @@
|
|
|
2196
2196
|
"typeString": "uint8"
|
|
2197
2197
|
},
|
|
2198
2198
|
"typeName": {
|
|
2199
|
-
"id":
|
|
2199
|
+
"id": 19173,
|
|
2200
2200
|
"name": "uint8",
|
|
2201
2201
|
"nodeType": "ElementaryTypeName",
|
|
2202
2202
|
"src": "2029:5:46",
|
|
@@ -2210,7 +2210,7 @@
|
|
|
2210
2210
|
],
|
|
2211
2211
|
"src": "2028:7:46"
|
|
2212
2212
|
},
|
|
2213
|
-
"scope":
|
|
2213
|
+
"scope": 19492,
|
|
2214
2214
|
"src": "1966:70:46",
|
|
2215
2215
|
"stateMutability": "view",
|
|
2216
2216
|
"virtual": false,
|
|
@@ -2222,13 +2222,13 @@
|
|
|
2222
2222
|
2256
|
|
2223
2223
|
],
|
|
2224
2224
|
"documentation": {
|
|
2225
|
-
"id":
|
|
2225
|
+
"id": 19177,
|
|
2226
2226
|
"nodeType": "StructuredDocumentation",
|
|
2227
2227
|
"src": "2223:49:46",
|
|
2228
2228
|
"text": " @dev See {IERC20-totalSupply}."
|
|
2229
2229
|
},
|
|
2230
2230
|
"functionSelector": "18160ddd",
|
|
2231
|
-
"id":
|
|
2231
|
+
"id": 19185,
|
|
2232
2232
|
"implemented": false,
|
|
2233
2233
|
"kind": "function",
|
|
2234
2234
|
"modifiers": [],
|
|
@@ -2236,18 +2236,18 @@
|
|
|
2236
2236
|
"nameLocation": "2286:11:46",
|
|
2237
2237
|
"nodeType": "FunctionDefinition",
|
|
2238
2238
|
"overrides": {
|
|
2239
|
-
"id":
|
|
2239
|
+
"id": 19181,
|
|
2240
2240
|
"nodeType": "OverrideSpecifier",
|
|
2241
2241
|
"overrides": [
|
|
2242
2242
|
{
|
|
2243
|
-
"id":
|
|
2243
|
+
"id": 19179,
|
|
2244
2244
|
"name": "IERC777",
|
|
2245
2245
|
"nodeType": "IdentifierPath",
|
|
2246
2246
|
"referencedDeclaration": 2352,
|
|
2247
2247
|
"src": "2323:7:46"
|
|
2248
2248
|
},
|
|
2249
2249
|
{
|
|
2250
|
-
"id":
|
|
2250
|
+
"id": 19180,
|
|
2251
2251
|
"name": "IERC20",
|
|
2252
2252
|
"nodeType": "IdentifierPath",
|
|
2253
2253
|
"referencedDeclaration": 1630,
|
|
@@ -2257,23 +2257,23 @@
|
|
|
2257
2257
|
"src": "2314:25:46"
|
|
2258
2258
|
},
|
|
2259
2259
|
"parameters": {
|
|
2260
|
-
"id":
|
|
2260
|
+
"id": 19178,
|
|
2261
2261
|
"nodeType": "ParameterList",
|
|
2262
2262
|
"parameters": [],
|
|
2263
2263
|
"src": "2297:2:46"
|
|
2264
2264
|
},
|
|
2265
2265
|
"returnParameters": {
|
|
2266
|
-
"id":
|
|
2266
|
+
"id": 19184,
|
|
2267
2267
|
"nodeType": "ParameterList",
|
|
2268
2268
|
"parameters": [
|
|
2269
2269
|
{
|
|
2270
2270
|
"constant": false,
|
|
2271
|
-
"id":
|
|
2271
|
+
"id": 19183,
|
|
2272
2272
|
"mutability": "mutable",
|
|
2273
2273
|
"name": "",
|
|
2274
2274
|
"nameLocation": "-1:-1:-1",
|
|
2275
2275
|
"nodeType": "VariableDeclaration",
|
|
2276
|
-
"scope":
|
|
2276
|
+
"scope": 19185,
|
|
2277
2277
|
"src": "2349:7:46",
|
|
2278
2278
|
"stateVariable": false,
|
|
2279
2279
|
"storageLocation": "default",
|
|
@@ -2282,7 +2282,7 @@
|
|
|
2282
2282
|
"typeString": "uint256"
|
|
2283
2283
|
},
|
|
2284
2284
|
"typeName": {
|
|
2285
|
-
"id":
|
|
2285
|
+
"id": 19182,
|
|
2286
2286
|
"name": "uint256",
|
|
2287
2287
|
"nodeType": "ElementaryTypeName",
|
|
2288
2288
|
"src": "2349:7:46",
|
|
@@ -2296,7 +2296,7 @@
|
|
|
2296
2296
|
],
|
|
2297
2297
|
"src": "2348:9:46"
|
|
2298
2298
|
},
|
|
2299
|
-
"scope":
|
|
2299
|
+
"scope": 19492,
|
|
2300
2300
|
"src": "2277:81:46",
|
|
2301
2301
|
"stateMutability": "view",
|
|
2302
2302
|
"virtual": false,
|
|
@@ -2308,13 +2308,13 @@
|
|
|
2308
2308
|
2264
|
|
2309
2309
|
],
|
|
2310
2310
|
"documentation": {
|
|
2311
|
-
"id":
|
|
2311
|
+
"id": 19186,
|
|
2312
2312
|
"nodeType": "StructuredDocumentation",
|
|
2313
2313
|
"src": "2364:83:46",
|
|
2314
2314
|
"text": " @dev Returns the amount of tokens owned by an account (`owner`)."
|
|
2315
2315
|
},
|
|
2316
2316
|
"functionSelector": "70a08231",
|
|
2317
|
-
"id":
|
|
2317
|
+
"id": 19196,
|
|
2318
2318
|
"implemented": false,
|
|
2319
2319
|
"kind": "function",
|
|
2320
2320
|
"modifiers": [],
|
|
@@ -2322,18 +2322,18 @@
|
|
|
2322
2322
|
"nameLocation": "2461:9:46",
|
|
2323
2323
|
"nodeType": "FunctionDefinition",
|
|
2324
2324
|
"overrides": {
|
|
2325
|
-
"id":
|
|
2325
|
+
"id": 19192,
|
|
2326
2326
|
"nodeType": "OverrideSpecifier",
|
|
2327
2327
|
"overrides": [
|
|
2328
2328
|
{
|
|
2329
|
-
"id":
|
|
2329
|
+
"id": 19190,
|
|
2330
2330
|
"name": "IERC777",
|
|
2331
2331
|
"nodeType": "IdentifierPath",
|
|
2332
2332
|
"referencedDeclaration": 2352,
|
|
2333
2333
|
"src": "2511:7:46"
|
|
2334
2334
|
},
|
|
2335
2335
|
{
|
|
2336
|
-
"id":
|
|
2336
|
+
"id": 19191,
|
|
2337
2337
|
"name": "IERC20",
|
|
2338
2338
|
"nodeType": "IdentifierPath",
|
|
2339
2339
|
"referencedDeclaration": 1630,
|
|
@@ -2343,17 +2343,17 @@
|
|
|
2343
2343
|
"src": "2502:25:46"
|
|
2344
2344
|
},
|
|
2345
2345
|
"parameters": {
|
|
2346
|
-
"id":
|
|
2346
|
+
"id": 19189,
|
|
2347
2347
|
"nodeType": "ParameterList",
|
|
2348
2348
|
"parameters": [
|
|
2349
2349
|
{
|
|
2350
2350
|
"constant": false,
|
|
2351
|
-
"id":
|
|
2351
|
+
"id": 19188,
|
|
2352
2352
|
"mutability": "mutable",
|
|
2353
2353
|
"name": "account",
|
|
2354
2354
|
"nameLocation": "2479:7:46",
|
|
2355
2355
|
"nodeType": "VariableDeclaration",
|
|
2356
|
-
"scope":
|
|
2356
|
+
"scope": 19196,
|
|
2357
2357
|
"src": "2471:15:46",
|
|
2358
2358
|
"stateVariable": false,
|
|
2359
2359
|
"storageLocation": "default",
|
|
@@ -2362,7 +2362,7 @@
|
|
|
2362
2362
|
"typeString": "address"
|
|
2363
2363
|
},
|
|
2364
2364
|
"typeName": {
|
|
2365
|
-
"id":
|
|
2365
|
+
"id": 19187,
|
|
2366
2366
|
"name": "address",
|
|
2367
2367
|
"nodeType": "ElementaryTypeName",
|
|
2368
2368
|
"src": "2471:7:46",
|
|
@@ -2378,17 +2378,17 @@
|
|
|
2378
2378
|
"src": "2470:17:46"
|
|
2379
2379
|
},
|
|
2380
2380
|
"returnParameters": {
|
|
2381
|
-
"id":
|
|
2381
|
+
"id": 19195,
|
|
2382
2382
|
"nodeType": "ParameterList",
|
|
2383
2383
|
"parameters": [
|
|
2384
2384
|
{
|
|
2385
2385
|
"constant": false,
|
|
2386
|
-
"id":
|
|
2386
|
+
"id": 19194,
|
|
2387
2387
|
"mutability": "mutable",
|
|
2388
2388
|
"name": "balance",
|
|
2389
2389
|
"nameLocation": "2544:7:46",
|
|
2390
2390
|
"nodeType": "VariableDeclaration",
|
|
2391
|
-
"scope":
|
|
2391
|
+
"scope": 19196,
|
|
2392
2392
|
"src": "2536:15:46",
|
|
2393
2393
|
"stateVariable": false,
|
|
2394
2394
|
"storageLocation": "default",
|
|
@@ -2397,7 +2397,7 @@
|
|
|
2397
2397
|
"typeString": "uint256"
|
|
2398
2398
|
},
|
|
2399
2399
|
"typeName": {
|
|
2400
|
-
"id":
|
|
2400
|
+
"id": 19193,
|
|
2401
2401
|
"name": "uint256",
|
|
2402
2402
|
"nodeType": "ElementaryTypeName",
|
|
2403
2403
|
"src": "2536:7:46",
|
|
@@ -2411,7 +2411,7 @@
|
|
|
2411
2411
|
],
|
|
2412
2412
|
"src": "2535:17:46"
|
|
2413
2413
|
},
|
|
2414
|
-
"scope":
|
|
2414
|
+
"scope": 19492,
|
|
2415
2415
|
"src": "2452:101:46",
|
|
2416
2416
|
"stateMutability": "view",
|
|
2417
2417
|
"virtual": false,
|
|
@@ -2422,13 +2422,13 @@
|
|
|
2422
2422
|
1597
|
|
2423
2423
|
],
|
|
2424
2424
|
"documentation": {
|
|
2425
|
-
"id":
|
|
2425
|
+
"id": 19197,
|
|
2426
2426
|
"nodeType": "StructuredDocumentation",
|
|
2427
2427
|
"src": "2731:233:46",
|
|
2428
2428
|
"text": " @dev Moves `amount` tokens from the caller's account to `recipient`.\n @return Returns Success a boolean value indicating whether the operation succeeded.\n @custom:emits a {Transfer} event."
|
|
2429
2429
|
},
|
|
2430
2430
|
"functionSelector": "a9059cbb",
|
|
2431
|
-
"id":
|
|
2431
|
+
"id": 19208,
|
|
2432
2432
|
"implemented": false,
|
|
2433
2433
|
"kind": "function",
|
|
2434
2434
|
"modifiers": [],
|
|
@@ -2436,11 +2436,11 @@
|
|
|
2436
2436
|
"nameLocation": "2978:8:46",
|
|
2437
2437
|
"nodeType": "FunctionDefinition",
|
|
2438
2438
|
"overrides": {
|
|
2439
|
-
"id":
|
|
2439
|
+
"id": 19204,
|
|
2440
2440
|
"nodeType": "OverrideSpecifier",
|
|
2441
2441
|
"overrides": [
|
|
2442
2442
|
{
|
|
2443
|
-
"id":
|
|
2443
|
+
"id": 19203,
|
|
2444
2444
|
"name": "IERC20",
|
|
2445
2445
|
"nodeType": "IdentifierPath",
|
|
2446
2446
|
"referencedDeclaration": 1630,
|
|
@@ -2450,17 +2450,17 @@
|
|
|
2450
2450
|
"src": "3031:16:46"
|
|
2451
2451
|
},
|
|
2452
2452
|
"parameters": {
|
|
2453
|
-
"id":
|
|
2453
|
+
"id": 19202,
|
|
2454
2454
|
"nodeType": "ParameterList",
|
|
2455
2455
|
"parameters": [
|
|
2456
2456
|
{
|
|
2457
2457
|
"constant": false,
|
|
2458
|
-
"id":
|
|
2458
|
+
"id": 19199,
|
|
2459
2459
|
"mutability": "mutable",
|
|
2460
2460
|
"name": "recipient",
|
|
2461
2461
|
"nameLocation": "2995:9:46",
|
|
2462
2462
|
"nodeType": "VariableDeclaration",
|
|
2463
|
-
"scope":
|
|
2463
|
+
"scope": 19208,
|
|
2464
2464
|
"src": "2987:17:46",
|
|
2465
2465
|
"stateVariable": false,
|
|
2466
2466
|
"storageLocation": "default",
|
|
@@ -2469,7 +2469,7 @@
|
|
|
2469
2469
|
"typeString": "address"
|
|
2470
2470
|
},
|
|
2471
2471
|
"typeName": {
|
|
2472
|
-
"id":
|
|
2472
|
+
"id": 19198,
|
|
2473
2473
|
"name": "address",
|
|
2474
2474
|
"nodeType": "ElementaryTypeName",
|
|
2475
2475
|
"src": "2987:7:46",
|
|
@@ -2483,12 +2483,12 @@
|
|
|
2483
2483
|
},
|
|
2484
2484
|
{
|
|
2485
2485
|
"constant": false,
|
|
2486
|
-
"id":
|
|
2486
|
+
"id": 19201,
|
|
2487
2487
|
"mutability": "mutable",
|
|
2488
2488
|
"name": "amount",
|
|
2489
2489
|
"nameLocation": "3014:6:46",
|
|
2490
2490
|
"nodeType": "VariableDeclaration",
|
|
2491
|
-
"scope":
|
|
2491
|
+
"scope": 19208,
|
|
2492
2492
|
"src": "3006:14:46",
|
|
2493
2493
|
"stateVariable": false,
|
|
2494
2494
|
"storageLocation": "default",
|
|
@@ -2497,7 +2497,7 @@
|
|
|
2497
2497
|
"typeString": "uint256"
|
|
2498
2498
|
},
|
|
2499
2499
|
"typeName": {
|
|
2500
|
-
"id":
|
|
2500
|
+
"id": 19200,
|
|
2501
2501
|
"name": "uint256",
|
|
2502
2502
|
"nodeType": "ElementaryTypeName",
|
|
2503
2503
|
"src": "3006:7:46",
|
|
@@ -2512,17 +2512,17 @@
|
|
|
2512
2512
|
"src": "2986:35:46"
|
|
2513
2513
|
},
|
|
2514
2514
|
"returnParameters": {
|
|
2515
|
-
"id":
|
|
2515
|
+
"id": 19207,
|
|
2516
2516
|
"nodeType": "ParameterList",
|
|
2517
2517
|
"parameters": [
|
|
2518
2518
|
{
|
|
2519
2519
|
"constant": false,
|
|
2520
|
-
"id":
|
|
2520
|
+
"id": 19206,
|
|
2521
2521
|
"mutability": "mutable",
|
|
2522
2522
|
"name": "",
|
|
2523
2523
|
"nameLocation": "-1:-1:-1",
|
|
2524
2524
|
"nodeType": "VariableDeclaration",
|
|
2525
|
-
"scope":
|
|
2525
|
+
"scope": 19208,
|
|
2526
2526
|
"src": "3057:4:46",
|
|
2527
2527
|
"stateVariable": false,
|
|
2528
2528
|
"storageLocation": "default",
|
|
@@ -2531,7 +2531,7 @@
|
|
|
2531
2531
|
"typeString": "bool"
|
|
2532
2532
|
},
|
|
2533
2533
|
"typeName": {
|
|
2534
|
-
"id":
|
|
2534
|
+
"id": 19205,
|
|
2535
2535
|
"name": "bool",
|
|
2536
2536
|
"nodeType": "ElementaryTypeName",
|
|
2537
2537
|
"src": "3057:4:46",
|
|
@@ -2545,7 +2545,7 @@
|
|
|
2545
2545
|
],
|
|
2546
2546
|
"src": "3056:6:46"
|
|
2547
2547
|
},
|
|
2548
|
-
"scope":
|
|
2548
|
+
"scope": 19492,
|
|
2549
2549
|
"src": "2969:94:46",
|
|
2550
2550
|
"stateMutability": "nonpayable",
|
|
2551
2551
|
"virtual": false,
|
|
@@ -2556,13 +2556,13 @@
|
|
|
2556
2556
|
1607
|
|
2557
2557
|
],
|
|
2558
2558
|
"documentation": {
|
|
2559
|
-
"id":
|
|
2559
|
+
"id": 19209,
|
|
2560
2560
|
"nodeType": "StructuredDocumentation",
|
|
2561
2561
|
"src": "3069:288:46",
|
|
2562
2562
|
"text": " @dev Returns the remaining number of tokens that `spender` will be\n allowed to spend on behalf of `owner` through {transferFrom}. This is\n zero by default.\n @notice This value changes when {approve} or {transferFrom} are called."
|
|
2563
2563
|
},
|
|
2564
2564
|
"functionSelector": "dd62ed3e",
|
|
2565
|
-
"id":
|
|
2565
|
+
"id": 19220,
|
|
2566
2566
|
"implemented": false,
|
|
2567
2567
|
"kind": "function",
|
|
2568
2568
|
"modifiers": [],
|
|
@@ -2570,11 +2570,11 @@
|
|
|
2570
2570
|
"nameLocation": "3371:9:46",
|
|
2571
2571
|
"nodeType": "FunctionDefinition",
|
|
2572
2572
|
"overrides": {
|
|
2573
|
-
"id":
|
|
2573
|
+
"id": 19216,
|
|
2574
2574
|
"nodeType": "OverrideSpecifier",
|
|
2575
2575
|
"overrides": [
|
|
2576
2576
|
{
|
|
2577
|
-
"id":
|
|
2577
|
+
"id": 19215,
|
|
2578
2578
|
"name": "IERC20",
|
|
2579
2579
|
"nodeType": "IdentifierPath",
|
|
2580
2580
|
"referencedDeclaration": 1630,
|
|
@@ -2584,17 +2584,17 @@
|
|
|
2584
2584
|
"src": "3422:16:46"
|
|
2585
2585
|
},
|
|
2586
2586
|
"parameters": {
|
|
2587
|
-
"id":
|
|
2587
|
+
"id": 19214,
|
|
2588
2588
|
"nodeType": "ParameterList",
|
|
2589
2589
|
"parameters": [
|
|
2590
2590
|
{
|
|
2591
2591
|
"constant": false,
|
|
2592
|
-
"id":
|
|
2592
|
+
"id": 19211,
|
|
2593
2593
|
"mutability": "mutable",
|
|
2594
2594
|
"name": "owner",
|
|
2595
2595
|
"nameLocation": "3389:5:46",
|
|
2596
2596
|
"nodeType": "VariableDeclaration",
|
|
2597
|
-
"scope":
|
|
2597
|
+
"scope": 19220,
|
|
2598
2598
|
"src": "3381:13:46",
|
|
2599
2599
|
"stateVariable": false,
|
|
2600
2600
|
"storageLocation": "default",
|
|
@@ -2603,7 +2603,7 @@
|
|
|
2603
2603
|
"typeString": "address"
|
|
2604
2604
|
},
|
|
2605
2605
|
"typeName": {
|
|
2606
|
-
"id":
|
|
2606
|
+
"id": 19210,
|
|
2607
2607
|
"name": "address",
|
|
2608
2608
|
"nodeType": "ElementaryTypeName",
|
|
2609
2609
|
"src": "3381:7:46",
|
|
@@ -2617,12 +2617,12 @@
|
|
|
2617
2617
|
},
|
|
2618
2618
|
{
|
|
2619
2619
|
"constant": false,
|
|
2620
|
-
"id":
|
|
2620
|
+
"id": 19213,
|
|
2621
2621
|
"mutability": "mutable",
|
|
2622
2622
|
"name": "spender",
|
|
2623
2623
|
"nameLocation": "3404:7:46",
|
|
2624
2624
|
"nodeType": "VariableDeclaration",
|
|
2625
|
-
"scope":
|
|
2625
|
+
"scope": 19220,
|
|
2626
2626
|
"src": "3396:15:46",
|
|
2627
2627
|
"stateVariable": false,
|
|
2628
2628
|
"storageLocation": "default",
|
|
@@ -2631,7 +2631,7 @@
|
|
|
2631
2631
|
"typeString": "address"
|
|
2632
2632
|
},
|
|
2633
2633
|
"typeName": {
|
|
2634
|
-
"id":
|
|
2634
|
+
"id": 19212,
|
|
2635
2635
|
"name": "address",
|
|
2636
2636
|
"nodeType": "ElementaryTypeName",
|
|
2637
2637
|
"src": "3396:7:46",
|
|
@@ -2647,17 +2647,17 @@
|
|
|
2647
2647
|
"src": "3380:32:46"
|
|
2648
2648
|
},
|
|
2649
2649
|
"returnParameters": {
|
|
2650
|
-
"id":
|
|
2650
|
+
"id": 19219,
|
|
2651
2651
|
"nodeType": "ParameterList",
|
|
2652
2652
|
"parameters": [
|
|
2653
2653
|
{
|
|
2654
2654
|
"constant": false,
|
|
2655
|
-
"id":
|
|
2655
|
+
"id": 19218,
|
|
2656
2656
|
"mutability": "mutable",
|
|
2657
2657
|
"name": "",
|
|
2658
2658
|
"nameLocation": "-1:-1:-1",
|
|
2659
2659
|
"nodeType": "VariableDeclaration",
|
|
2660
|
-
"scope":
|
|
2660
|
+
"scope": 19220,
|
|
2661
2661
|
"src": "3453:7:46",
|
|
2662
2662
|
"stateVariable": false,
|
|
2663
2663
|
"storageLocation": "default",
|
|
@@ -2666,7 +2666,7 @@
|
|
|
2666
2666
|
"typeString": "uint256"
|
|
2667
2667
|
},
|
|
2668
2668
|
"typeName": {
|
|
2669
|
-
"id":
|
|
2669
|
+
"id": 19217,
|
|
2670
2670
|
"name": "uint256",
|
|
2671
2671
|
"nodeType": "ElementaryTypeName",
|
|
2672
2672
|
"src": "3453:7:46",
|
|
@@ -2680,7 +2680,7 @@
|
|
|
2680
2680
|
],
|
|
2681
2681
|
"src": "3452:9:46"
|
|
2682
2682
|
},
|
|
2683
|
-
"scope":
|
|
2683
|
+
"scope": 19492,
|
|
2684
2684
|
"src": "3362:100:46",
|
|
2685
2685
|
"stateMutability": "view",
|
|
2686
2686
|
"virtual": false,
|
|
@@ -2691,13 +2691,13 @@
|
|
|
2691
2691
|
1617
|
|
2692
2692
|
],
|
|
2693
2693
|
"documentation": {
|
|
2694
|
-
"id":
|
|
2694
|
+
"id": 19221,
|
|
2695
2695
|
"nodeType": "StructuredDocumentation",
|
|
2696
2696
|
"src": "3468:668:46",
|
|
2697
2697
|
"text": " @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n @return Returns Success a boolean value indicating whether the operation succeeded.\n @custom:note Beware that changing an allowance with this method brings the risk\n that someone may use both the old and the new allowance by unfortunate\n transaction ordering. One possible solution to mitigate this race\n condition is to first reduce the spender's allowance to 0 and set the\n desired value afterwards:\n https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n @custom:emits an {Approval} event."
|
|
2698
2698
|
},
|
|
2699
2699
|
"functionSelector": "095ea7b3",
|
|
2700
|
-
"id":
|
|
2700
|
+
"id": 19232,
|
|
2701
2701
|
"implemented": false,
|
|
2702
2702
|
"kind": "function",
|
|
2703
2703
|
"modifiers": [],
|
|
@@ -2705,11 +2705,11 @@
|
|
|
2705
2705
|
"nameLocation": "4150:7:46",
|
|
2706
2706
|
"nodeType": "FunctionDefinition",
|
|
2707
2707
|
"overrides": {
|
|
2708
|
-
"id":
|
|
2708
|
+
"id": 19228,
|
|
2709
2709
|
"nodeType": "OverrideSpecifier",
|
|
2710
2710
|
"overrides": [
|
|
2711
2711
|
{
|
|
2712
|
-
"id":
|
|
2712
|
+
"id": 19227,
|
|
2713
2713
|
"name": "IERC20",
|
|
2714
2714
|
"nodeType": "IdentifierPath",
|
|
2715
2715
|
"referencedDeclaration": 1630,
|
|
@@ -2719,17 +2719,17 @@
|
|
|
2719
2719
|
"src": "4200:16:46"
|
|
2720
2720
|
},
|
|
2721
2721
|
"parameters": {
|
|
2722
|
-
"id":
|
|
2722
|
+
"id": 19226,
|
|
2723
2723
|
"nodeType": "ParameterList",
|
|
2724
2724
|
"parameters": [
|
|
2725
2725
|
{
|
|
2726
2726
|
"constant": false,
|
|
2727
|
-
"id":
|
|
2727
|
+
"id": 19223,
|
|
2728
2728
|
"mutability": "mutable",
|
|
2729
2729
|
"name": "spender",
|
|
2730
2730
|
"nameLocation": "4166:7:46",
|
|
2731
2731
|
"nodeType": "VariableDeclaration",
|
|
2732
|
-
"scope":
|
|
2732
|
+
"scope": 19232,
|
|
2733
2733
|
"src": "4158:15:46",
|
|
2734
2734
|
"stateVariable": false,
|
|
2735
2735
|
"storageLocation": "default",
|
|
@@ -2738,7 +2738,7 @@
|
|
|
2738
2738
|
"typeString": "address"
|
|
2739
2739
|
},
|
|
2740
2740
|
"typeName": {
|
|
2741
|
-
"id":
|
|
2741
|
+
"id": 19222,
|
|
2742
2742
|
"name": "address",
|
|
2743
2743
|
"nodeType": "ElementaryTypeName",
|
|
2744
2744
|
"src": "4158:7:46",
|
|
@@ -2752,12 +2752,12 @@
|
|
|
2752
2752
|
},
|
|
2753
2753
|
{
|
|
2754
2754
|
"constant": false,
|
|
2755
|
-
"id":
|
|
2755
|
+
"id": 19225,
|
|
2756
2756
|
"mutability": "mutable",
|
|
2757
2757
|
"name": "amount",
|
|
2758
2758
|
"nameLocation": "4183:6:46",
|
|
2759
2759
|
"nodeType": "VariableDeclaration",
|
|
2760
|
-
"scope":
|
|
2760
|
+
"scope": 19232,
|
|
2761
2761
|
"src": "4175:14:46",
|
|
2762
2762
|
"stateVariable": false,
|
|
2763
2763
|
"storageLocation": "default",
|
|
@@ -2766,7 +2766,7 @@
|
|
|
2766
2766
|
"typeString": "uint256"
|
|
2767
2767
|
},
|
|
2768
2768
|
"typeName": {
|
|
2769
|
-
"id":
|
|
2769
|
+
"id": 19224,
|
|
2770
2770
|
"name": "uint256",
|
|
2771
2771
|
"nodeType": "ElementaryTypeName",
|
|
2772
2772
|
"src": "4175:7:46",
|
|
@@ -2781,17 +2781,17 @@
|
|
|
2781
2781
|
"src": "4157:33:46"
|
|
2782
2782
|
},
|
|
2783
2783
|
"returnParameters": {
|
|
2784
|
-
"id":
|
|
2784
|
+
"id": 19231,
|
|
2785
2785
|
"nodeType": "ParameterList",
|
|
2786
2786
|
"parameters": [
|
|
2787
2787
|
{
|
|
2788
2788
|
"constant": false,
|
|
2789
|
-
"id":
|
|
2789
|
+
"id": 19230,
|
|
2790
2790
|
"mutability": "mutable",
|
|
2791
2791
|
"name": "",
|
|
2792
2792
|
"nameLocation": "-1:-1:-1",
|
|
2793
2793
|
"nodeType": "VariableDeclaration",
|
|
2794
|
-
"scope":
|
|
2794
|
+
"scope": 19232,
|
|
2795
2795
|
"src": "4226:4:46",
|
|
2796
2796
|
"stateVariable": false,
|
|
2797
2797
|
"storageLocation": "default",
|
|
@@ -2800,7 +2800,7 @@
|
|
|
2800
2800
|
"typeString": "bool"
|
|
2801
2801
|
},
|
|
2802
2802
|
"typeName": {
|
|
2803
|
-
"id":
|
|
2803
|
+
"id": 19229,
|
|
2804
2804
|
"name": "bool",
|
|
2805
2805
|
"nodeType": "ElementaryTypeName",
|
|
2806
2806
|
"src": "4226:4:46",
|
|
@@ -2814,7 +2814,7 @@
|
|
|
2814
2814
|
],
|
|
2815
2815
|
"src": "4225:6:46"
|
|
2816
2816
|
},
|
|
2817
|
-
"scope":
|
|
2817
|
+
"scope": 19492,
|
|
2818
2818
|
"src": "4141:91:46",
|
|
2819
2819
|
"stateMutability": "nonpayable",
|
|
2820
2820
|
"virtual": false,
|
|
@@ -2825,13 +2825,13 @@
|
|
|
2825
2825
|
1629
|
|
2826
2826
|
],
|
|
2827
2827
|
"documentation": {
|
|
2828
|
-
"id":
|
|
2828
|
+
"id": 19233,
|
|
2829
2829
|
"nodeType": "StructuredDocumentation",
|
|
2830
2830
|
"src": "4238:336:46",
|
|
2831
2831
|
"text": " @dev Moves `amount` tokens from `sender` to `recipient` using the\n allowance mechanism. `amount` is then deducted from the caller's\n allowance.\n @return Returns Success a boolean value indicating whether the operation succeeded.\n @custom:emits a {Transfer} event."
|
|
2832
2832
|
},
|
|
2833
2833
|
"functionSelector": "23b872dd",
|
|
2834
|
-
"id":
|
|
2834
|
+
"id": 19246,
|
|
2835
2835
|
"implemented": false,
|
|
2836
2836
|
"kind": "function",
|
|
2837
2837
|
"modifiers": [],
|
|
@@ -2839,11 +2839,11 @@
|
|
|
2839
2839
|
"nameLocation": "4588:12:46",
|
|
2840
2840
|
"nodeType": "FunctionDefinition",
|
|
2841
2841
|
"overrides": {
|
|
2842
|
-
"id":
|
|
2842
|
+
"id": 19242,
|
|
2843
2843
|
"nodeType": "OverrideSpecifier",
|
|
2844
2844
|
"overrides": [
|
|
2845
2845
|
{
|
|
2846
|
-
"id":
|
|
2846
|
+
"id": 19241,
|
|
2847
2847
|
"name": "IERC20",
|
|
2848
2848
|
"nodeType": "IdentifierPath",
|
|
2849
2849
|
"referencedDeclaration": 1630,
|
|
@@ -2853,17 +2853,17 @@
|
|
|
2853
2853
|
"src": "4661:16:46"
|
|
2854
2854
|
},
|
|
2855
2855
|
"parameters": {
|
|
2856
|
-
"id":
|
|
2856
|
+
"id": 19240,
|
|
2857
2857
|
"nodeType": "ParameterList",
|
|
2858
2858
|
"parameters": [
|
|
2859
2859
|
{
|
|
2860
2860
|
"constant": false,
|
|
2861
|
-
"id":
|
|
2861
|
+
"id": 19235,
|
|
2862
2862
|
"mutability": "mutable",
|
|
2863
2863
|
"name": "sender",
|
|
2864
2864
|
"nameLocation": "4609:6:46",
|
|
2865
2865
|
"nodeType": "VariableDeclaration",
|
|
2866
|
-
"scope":
|
|
2866
|
+
"scope": 19246,
|
|
2867
2867
|
"src": "4601:14:46",
|
|
2868
2868
|
"stateVariable": false,
|
|
2869
2869
|
"storageLocation": "default",
|
|
@@ -2872,7 +2872,7 @@
|
|
|
2872
2872
|
"typeString": "address"
|
|
2873
2873
|
},
|
|
2874
2874
|
"typeName": {
|
|
2875
|
-
"id":
|
|
2875
|
+
"id": 19234,
|
|
2876
2876
|
"name": "address",
|
|
2877
2877
|
"nodeType": "ElementaryTypeName",
|
|
2878
2878
|
"src": "4601:7:46",
|
|
@@ -2886,12 +2886,12 @@
|
|
|
2886
2886
|
},
|
|
2887
2887
|
{
|
|
2888
2888
|
"constant": false,
|
|
2889
|
-
"id":
|
|
2889
|
+
"id": 19237,
|
|
2890
2890
|
"mutability": "mutable",
|
|
2891
2891
|
"name": "recipient",
|
|
2892
2892
|
"nameLocation": "4625:9:46",
|
|
2893
2893
|
"nodeType": "VariableDeclaration",
|
|
2894
|
-
"scope":
|
|
2894
|
+
"scope": 19246,
|
|
2895
2895
|
"src": "4617:17:46",
|
|
2896
2896
|
"stateVariable": false,
|
|
2897
2897
|
"storageLocation": "default",
|
|
@@ -2900,7 +2900,7 @@
|
|
|
2900
2900
|
"typeString": "address"
|
|
2901
2901
|
},
|
|
2902
2902
|
"typeName": {
|
|
2903
|
-
"id":
|
|
2903
|
+
"id": 19236,
|
|
2904
2904
|
"name": "address",
|
|
2905
2905
|
"nodeType": "ElementaryTypeName",
|
|
2906
2906
|
"src": "4617:7:46",
|
|
@@ -2914,12 +2914,12 @@
|
|
|
2914
2914
|
},
|
|
2915
2915
|
{
|
|
2916
2916
|
"constant": false,
|
|
2917
|
-
"id":
|
|
2917
|
+
"id": 19239,
|
|
2918
2918
|
"mutability": "mutable",
|
|
2919
2919
|
"name": "amount",
|
|
2920
2920
|
"nameLocation": "4644:6:46",
|
|
2921
2921
|
"nodeType": "VariableDeclaration",
|
|
2922
|
-
"scope":
|
|
2922
|
+
"scope": 19246,
|
|
2923
2923
|
"src": "4636:14:46",
|
|
2924
2924
|
"stateVariable": false,
|
|
2925
2925
|
"storageLocation": "default",
|
|
@@ -2928,7 +2928,7 @@
|
|
|
2928
2928
|
"typeString": "uint256"
|
|
2929
2929
|
},
|
|
2930
2930
|
"typeName": {
|
|
2931
|
-
"id":
|
|
2931
|
+
"id": 19238,
|
|
2932
2932
|
"name": "uint256",
|
|
2933
2933
|
"nodeType": "ElementaryTypeName",
|
|
2934
2934
|
"src": "4636:7:46",
|
|
@@ -2943,17 +2943,17 @@
|
|
|
2943
2943
|
"src": "4600:51:46"
|
|
2944
2944
|
},
|
|
2945
2945
|
"returnParameters": {
|
|
2946
|
-
"id":
|
|
2946
|
+
"id": 19245,
|
|
2947
2947
|
"nodeType": "ParameterList",
|
|
2948
2948
|
"parameters": [
|
|
2949
2949
|
{
|
|
2950
2950
|
"constant": false,
|
|
2951
|
-
"id":
|
|
2951
|
+
"id": 19244,
|
|
2952
2952
|
"mutability": "mutable",
|
|
2953
2953
|
"name": "",
|
|
2954
2954
|
"nameLocation": "-1:-1:-1",
|
|
2955
2955
|
"nodeType": "VariableDeclaration",
|
|
2956
|
-
"scope":
|
|
2956
|
+
"scope": 19246,
|
|
2957
2957
|
"src": "4687:4:46",
|
|
2958
2958
|
"stateVariable": false,
|
|
2959
2959
|
"storageLocation": "default",
|
|
@@ -2962,7 +2962,7 @@
|
|
|
2962
2962
|
"typeString": "bool"
|
|
2963
2963
|
},
|
|
2964
2964
|
"typeName": {
|
|
2965
|
-
"id":
|
|
2965
|
+
"id": 19243,
|
|
2966
2966
|
"name": "bool",
|
|
2967
2967
|
"nodeType": "ElementaryTypeName",
|
|
2968
2968
|
"src": "4687:4:46",
|
|
@@ -2976,7 +2976,7 @@
|
|
|
2976
2976
|
],
|
|
2977
2977
|
"src": "4686:6:46"
|
|
2978
2978
|
},
|
|
2979
|
-
"scope":
|
|
2979
|
+
"scope": 19492,
|
|
2980
2980
|
"src": "4579:114:46",
|
|
2981
2981
|
"stateMutability": "nonpayable",
|
|
2982
2982
|
"virtual": false,
|
|
@@ -2984,13 +2984,13 @@
|
|
|
2984
2984
|
},
|
|
2985
2985
|
{
|
|
2986
2986
|
"documentation": {
|
|
2987
|
-
"id":
|
|
2987
|
+
"id": 19247,
|
|
2988
2988
|
"nodeType": "StructuredDocumentation",
|
|
2989
2989
|
"src": "4699:393:46",
|
|
2990
2990
|
"text": " @dev Atomically increases the allowance granted to `spender` by the caller.\n This is an alternative to {approve} that can be used as a mitigation for\n problems described in {IERC20-approve}.\n @custom:emits an {Approval} event indicating the updated allowance.\n @custom:requirements \n - `spender` cannot be the zero address."
|
|
2991
2991
|
},
|
|
2992
2992
|
"functionSelector": "39509351",
|
|
2993
|
-
"id":
|
|
2993
|
+
"id": 19256,
|
|
2994
2994
|
"implemented": false,
|
|
2995
2995
|
"kind": "function",
|
|
2996
2996
|
"modifiers": [],
|
|
@@ -2998,17 +2998,17 @@
|
|
|
2998
2998
|
"nameLocation": "5106:17:46",
|
|
2999
2999
|
"nodeType": "FunctionDefinition",
|
|
3000
3000
|
"parameters": {
|
|
3001
|
-
"id":
|
|
3001
|
+
"id": 19252,
|
|
3002
3002
|
"nodeType": "ParameterList",
|
|
3003
3003
|
"parameters": [
|
|
3004
3004
|
{
|
|
3005
3005
|
"constant": false,
|
|
3006
|
-
"id":
|
|
3006
|
+
"id": 19249,
|
|
3007
3007
|
"mutability": "mutable",
|
|
3008
3008
|
"name": "spender",
|
|
3009
3009
|
"nameLocation": "5132:7:46",
|
|
3010
3010
|
"nodeType": "VariableDeclaration",
|
|
3011
|
-
"scope":
|
|
3011
|
+
"scope": 19256,
|
|
3012
3012
|
"src": "5124:15:46",
|
|
3013
3013
|
"stateVariable": false,
|
|
3014
3014
|
"storageLocation": "default",
|
|
@@ -3017,7 +3017,7 @@
|
|
|
3017
3017
|
"typeString": "address"
|
|
3018
3018
|
},
|
|
3019
3019
|
"typeName": {
|
|
3020
|
-
"id":
|
|
3020
|
+
"id": 19248,
|
|
3021
3021
|
"name": "address",
|
|
3022
3022
|
"nodeType": "ElementaryTypeName",
|
|
3023
3023
|
"src": "5124:7:46",
|
|
@@ -3031,12 +3031,12 @@
|
|
|
3031
3031
|
},
|
|
3032
3032
|
{
|
|
3033
3033
|
"constant": false,
|
|
3034
|
-
"id":
|
|
3034
|
+
"id": 19251,
|
|
3035
3035
|
"mutability": "mutable",
|
|
3036
3036
|
"name": "addedValue",
|
|
3037
3037
|
"nameLocation": "5149:10:46",
|
|
3038
3038
|
"nodeType": "VariableDeclaration",
|
|
3039
|
-
"scope":
|
|
3039
|
+
"scope": 19256,
|
|
3040
3040
|
"src": "5141:18:46",
|
|
3041
3041
|
"stateVariable": false,
|
|
3042
3042
|
"storageLocation": "default",
|
|
@@ -3045,7 +3045,7 @@
|
|
|
3045
3045
|
"typeString": "uint256"
|
|
3046
3046
|
},
|
|
3047
3047
|
"typeName": {
|
|
3048
|
-
"id":
|
|
3048
|
+
"id": 19250,
|
|
3049
3049
|
"name": "uint256",
|
|
3050
3050
|
"nodeType": "ElementaryTypeName",
|
|
3051
3051
|
"src": "5141:7:46",
|
|
@@ -3060,17 +3060,17 @@
|
|
|
3060
3060
|
"src": "5123:37:46"
|
|
3061
3061
|
},
|
|
3062
3062
|
"returnParameters": {
|
|
3063
|
-
"id":
|
|
3063
|
+
"id": 19255,
|
|
3064
3064
|
"nodeType": "ParameterList",
|
|
3065
3065
|
"parameters": [
|
|
3066
3066
|
{
|
|
3067
3067
|
"constant": false,
|
|
3068
|
-
"id":
|
|
3068
|
+
"id": 19254,
|
|
3069
3069
|
"mutability": "mutable",
|
|
3070
3070
|
"name": "",
|
|
3071
3071
|
"nameLocation": "-1:-1:-1",
|
|
3072
3072
|
"nodeType": "VariableDeclaration",
|
|
3073
|
-
"scope":
|
|
3073
|
+
"scope": 19256,
|
|
3074
3074
|
"src": "5179:4:46",
|
|
3075
3075
|
"stateVariable": false,
|
|
3076
3076
|
"storageLocation": "default",
|
|
@@ -3079,7 +3079,7 @@
|
|
|
3079
3079
|
"typeString": "bool"
|
|
3080
3080
|
},
|
|
3081
3081
|
"typeName": {
|
|
3082
|
-
"id":
|
|
3082
|
+
"id": 19253,
|
|
3083
3083
|
"name": "bool",
|
|
3084
3084
|
"nodeType": "ElementaryTypeName",
|
|
3085
3085
|
"src": "5179:4:46",
|
|
@@ -3093,7 +3093,7 @@
|
|
|
3093
3093
|
],
|
|
3094
3094
|
"src": "5178:6:46"
|
|
3095
3095
|
},
|
|
3096
|
-
"scope":
|
|
3096
|
+
"scope": 19492,
|
|
3097
3097
|
"src": "5097:88:46",
|
|
3098
3098
|
"stateMutability": "nonpayable",
|
|
3099
3099
|
"virtual": false,
|
|
@@ -3101,13 +3101,13 @@
|
|
|
3101
3101
|
},
|
|
3102
3102
|
{
|
|
3103
3103
|
"documentation": {
|
|
3104
|
-
"id":
|
|
3104
|
+
"id": 19257,
|
|
3105
3105
|
"nodeType": "StructuredDocumentation",
|
|
3106
3106
|
"src": "5191:485:46",
|
|
3107
3107
|
"text": " @dev Atomically decreases the allowance granted to `spender` by the caller.\n This is an alternative to {approve} that can be used as a mitigation for\n problems described in {IERC20-approve}.\n @custom:emits an {Approval} event indicating the updated allowance.\n @custom:requirements \n - `spender` cannot be the zero address.\n - `spender` must have allowance for the caller of at least\n `subtractedValue`."
|
|
3108
3108
|
},
|
|
3109
3109
|
"functionSelector": "a457c2d7",
|
|
3110
|
-
"id":
|
|
3110
|
+
"id": 19266,
|
|
3111
3111
|
"implemented": false,
|
|
3112
3112
|
"kind": "function",
|
|
3113
3113
|
"modifiers": [],
|
|
@@ -3115,17 +3115,17 @@
|
|
|
3115
3115
|
"nameLocation": "5691:17:46",
|
|
3116
3116
|
"nodeType": "FunctionDefinition",
|
|
3117
3117
|
"parameters": {
|
|
3118
|
-
"id":
|
|
3118
|
+
"id": 19262,
|
|
3119
3119
|
"nodeType": "ParameterList",
|
|
3120
3120
|
"parameters": [
|
|
3121
3121
|
{
|
|
3122
3122
|
"constant": false,
|
|
3123
|
-
"id":
|
|
3123
|
+
"id": 19259,
|
|
3124
3124
|
"mutability": "mutable",
|
|
3125
3125
|
"name": "spender",
|
|
3126
3126
|
"nameLocation": "5717:7:46",
|
|
3127
3127
|
"nodeType": "VariableDeclaration",
|
|
3128
|
-
"scope":
|
|
3128
|
+
"scope": 19266,
|
|
3129
3129
|
"src": "5709:15:46",
|
|
3130
3130
|
"stateVariable": false,
|
|
3131
3131
|
"storageLocation": "default",
|
|
@@ -3134,7 +3134,7 @@
|
|
|
3134
3134
|
"typeString": "address"
|
|
3135
3135
|
},
|
|
3136
3136
|
"typeName": {
|
|
3137
|
-
"id":
|
|
3137
|
+
"id": 19258,
|
|
3138
3138
|
"name": "address",
|
|
3139
3139
|
"nodeType": "ElementaryTypeName",
|
|
3140
3140
|
"src": "5709:7:46",
|
|
@@ -3148,12 +3148,12 @@
|
|
|
3148
3148
|
},
|
|
3149
3149
|
{
|
|
3150
3150
|
"constant": false,
|
|
3151
|
-
"id":
|
|
3151
|
+
"id": 19261,
|
|
3152
3152
|
"mutability": "mutable",
|
|
3153
3153
|
"name": "subtractedValue",
|
|
3154
3154
|
"nameLocation": "5734:15:46",
|
|
3155
3155
|
"nodeType": "VariableDeclaration",
|
|
3156
|
-
"scope":
|
|
3156
|
+
"scope": 19266,
|
|
3157
3157
|
"src": "5726:23:46",
|
|
3158
3158
|
"stateVariable": false,
|
|
3159
3159
|
"storageLocation": "default",
|
|
@@ -3162,7 +3162,7 @@
|
|
|
3162
3162
|
"typeString": "uint256"
|
|
3163
3163
|
},
|
|
3164
3164
|
"typeName": {
|
|
3165
|
-
"id":
|
|
3165
|
+
"id": 19260,
|
|
3166
3166
|
"name": "uint256",
|
|
3167
3167
|
"nodeType": "ElementaryTypeName",
|
|
3168
3168
|
"src": "5726:7:46",
|
|
@@ -3177,17 +3177,17 @@
|
|
|
3177
3177
|
"src": "5708:42:46"
|
|
3178
3178
|
},
|
|
3179
3179
|
"returnParameters": {
|
|
3180
|
-
"id":
|
|
3180
|
+
"id": 19265,
|
|
3181
3181
|
"nodeType": "ParameterList",
|
|
3182
3182
|
"parameters": [
|
|
3183
3183
|
{
|
|
3184
3184
|
"constant": false,
|
|
3185
|
-
"id":
|
|
3185
|
+
"id": 19264,
|
|
3186
3186
|
"mutability": "mutable",
|
|
3187
3187
|
"name": "",
|
|
3188
3188
|
"nameLocation": "-1:-1:-1",
|
|
3189
3189
|
"nodeType": "VariableDeclaration",
|
|
3190
|
-
"scope":
|
|
3190
|
+
"scope": 19266,
|
|
3191
3191
|
"src": "5769:4:46",
|
|
3192
3192
|
"stateVariable": false,
|
|
3193
3193
|
"storageLocation": "default",
|
|
@@ -3196,7 +3196,7 @@
|
|
|
3196
3196
|
"typeString": "bool"
|
|
3197
3197
|
},
|
|
3198
3198
|
"typeName": {
|
|
3199
|
-
"id":
|
|
3199
|
+
"id": 19263,
|
|
3200
3200
|
"name": "bool",
|
|
3201
3201
|
"nodeType": "ElementaryTypeName",
|
|
3202
3202
|
"src": "5769:4:46",
|
|
@@ -3210,7 +3210,7 @@
|
|
|
3210
3210
|
],
|
|
3211
3211
|
"src": "5768:6:46"
|
|
3212
3212
|
},
|
|
3213
|
-
"scope":
|
|
3213
|
+
"scope": 19492,
|
|
3214
3214
|
"src": "5682:93:46",
|
|
3215
3215
|
"stateMutability": "nonpayable",
|
|
3216
3216
|
"virtual": false,
|
|
@@ -3221,13 +3221,13 @@
|
|
|
3221
3221
|
2250
|
|
3222
3222
|
],
|
|
3223
3223
|
"documentation": {
|
|
3224
|
-
"id":
|
|
3224
|
+
"id": 19267,
|
|
3225
3225
|
"nodeType": "StructuredDocumentation",
|
|
3226
3226
|
"src": "5954:315:46",
|
|
3227
3227
|
"text": " @dev Returns the smallest part of the token that is not divisible. This\n means all token operations (creation, movement and destruction) must have\n amounts that are a multiple of this number.\n @custom:note For super token contracts, this value is always 1"
|
|
3228
3228
|
},
|
|
3229
3229
|
"functionSelector": "556f0dc7",
|
|
3230
|
-
"id":
|
|
3230
|
+
"id": 19274,
|
|
3231
3231
|
"implemented": false,
|
|
3232
3232
|
"kind": "function",
|
|
3233
3233
|
"modifiers": [],
|
|
@@ -3235,11 +3235,11 @@
|
|
|
3235
3235
|
"nameLocation": "6283:11:46",
|
|
3236
3236
|
"nodeType": "FunctionDefinition",
|
|
3237
3237
|
"overrides": {
|
|
3238
|
-
"id":
|
|
3238
|
+
"id": 19270,
|
|
3239
3239
|
"nodeType": "OverrideSpecifier",
|
|
3240
3240
|
"overrides": [
|
|
3241
3241
|
{
|
|
3242
|
-
"id":
|
|
3242
|
+
"id": 19269,
|
|
3243
3243
|
"name": "IERC777",
|
|
3244
3244
|
"nodeType": "IdentifierPath",
|
|
3245
3245
|
"referencedDeclaration": 2352,
|
|
@@ -3249,23 +3249,23 @@
|
|
|
3249
3249
|
"src": "6311:17:46"
|
|
3250
3250
|
},
|
|
3251
3251
|
"parameters": {
|
|
3252
|
-
"id":
|
|
3252
|
+
"id": 19268,
|
|
3253
3253
|
"nodeType": "ParameterList",
|
|
3254
3254
|
"parameters": [],
|
|
3255
3255
|
"src": "6294:2:46"
|
|
3256
3256
|
},
|
|
3257
3257
|
"returnParameters": {
|
|
3258
|
-
"id":
|
|
3258
|
+
"id": 19273,
|
|
3259
3259
|
"nodeType": "ParameterList",
|
|
3260
3260
|
"parameters": [
|
|
3261
3261
|
{
|
|
3262
3262
|
"constant": false,
|
|
3263
|
-
"id":
|
|
3263
|
+
"id": 19272,
|
|
3264
3264
|
"mutability": "mutable",
|
|
3265
3265
|
"name": "",
|
|
3266
3266
|
"nameLocation": "-1:-1:-1",
|
|
3267
3267
|
"nodeType": "VariableDeclaration",
|
|
3268
|
-
"scope":
|
|
3268
|
+
"scope": 19274,
|
|
3269
3269
|
"src": "6338:7:46",
|
|
3270
3270
|
"stateVariable": false,
|
|
3271
3271
|
"storageLocation": "default",
|
|
@@ -3274,7 +3274,7 @@
|
|
|
3274
3274
|
"typeString": "uint256"
|
|
3275
3275
|
},
|
|
3276
3276
|
"typeName": {
|
|
3277
|
-
"id":
|
|
3277
|
+
"id": 19271,
|
|
3278
3278
|
"name": "uint256",
|
|
3279
3279
|
"nodeType": "ElementaryTypeName",
|
|
3280
3280
|
"src": "6338:7:46",
|
|
@@ -3288,7 +3288,7 @@
|
|
|
3288
3288
|
],
|
|
3289
3289
|
"src": "6337:9:46"
|
|
3290
3290
|
},
|
|
3291
|
-
"scope":
|
|
3291
|
+
"scope": 19492,
|
|
3292
3292
|
"src": "6274:73:46",
|
|
3293
3293
|
"stateMutability": "view",
|
|
3294
3294
|
"virtual": false,
|
|
@@ -3299,13 +3299,13 @@
|
|
|
3299
3299
|
2274
|
|
3300
3300
|
],
|
|
3301
3301
|
"documentation": {
|
|
3302
|
-
"id":
|
|
3302
|
+
"id": 19275,
|
|
3303
3303
|
"nodeType": "StructuredDocumentation",
|
|
3304
3304
|
"src": "6353:610:46",
|
|
3305
3305
|
"text": " @dev Moves `amount` tokens from the caller's account to `recipient`.\n @dev If send or receive hooks are registered for the caller and `recipient`,\n the corresponding functions will be called with `data` and empty\n `operatorData`. See {IERC777Sender} and {IERC777Recipient}.\n @custom:emits a {Sent} event.\n @custom:requirements \n - the caller must have at least `amount` tokens.\n - `recipient` cannot be the zero address.\n - if `recipient` is a contract, it must implement the {IERC777Recipient}\n interface."
|
|
3306
3306
|
},
|
|
3307
3307
|
"functionSelector": "9bd9bbc6",
|
|
3308
|
-
"id":
|
|
3308
|
+
"id": 19286,
|
|
3309
3309
|
"implemented": false,
|
|
3310
3310
|
"kind": "function",
|
|
3311
3311
|
"modifiers": [],
|
|
@@ -3313,11 +3313,11 @@
|
|
|
3313
3313
|
"nameLocation": "6977:4:46",
|
|
3314
3314
|
"nodeType": "FunctionDefinition",
|
|
3315
3315
|
"overrides": {
|
|
3316
|
-
"id":
|
|
3316
|
+
"id": 19284,
|
|
3317
3317
|
"nodeType": "OverrideSpecifier",
|
|
3318
3318
|
"overrides": [
|
|
3319
3319
|
{
|
|
3320
|
-
"id":
|
|
3320
|
+
"id": 19283,
|
|
3321
3321
|
"name": "IERC777",
|
|
3322
3322
|
"nodeType": "IdentifierPath",
|
|
3323
3323
|
"referencedDeclaration": 2352,
|
|
@@ -3327,17 +3327,17 @@
|
|
|
3327
3327
|
"src": "7047:17:46"
|
|
3328
3328
|
},
|
|
3329
3329
|
"parameters": {
|
|
3330
|
-
"id":
|
|
3330
|
+
"id": 19282,
|
|
3331
3331
|
"nodeType": "ParameterList",
|
|
3332
3332
|
"parameters": [
|
|
3333
3333
|
{
|
|
3334
3334
|
"constant": false,
|
|
3335
|
-
"id":
|
|
3335
|
+
"id": 19277,
|
|
3336
3336
|
"mutability": "mutable",
|
|
3337
3337
|
"name": "recipient",
|
|
3338
3338
|
"nameLocation": "6990:9:46",
|
|
3339
3339
|
"nodeType": "VariableDeclaration",
|
|
3340
|
-
"scope":
|
|
3340
|
+
"scope": 19286,
|
|
3341
3341
|
"src": "6982:17:46",
|
|
3342
3342
|
"stateVariable": false,
|
|
3343
3343
|
"storageLocation": "default",
|
|
@@ -3346,7 +3346,7 @@
|
|
|
3346
3346
|
"typeString": "address"
|
|
3347
3347
|
},
|
|
3348
3348
|
"typeName": {
|
|
3349
|
-
"id":
|
|
3349
|
+
"id": 19276,
|
|
3350
3350
|
"name": "address",
|
|
3351
3351
|
"nodeType": "ElementaryTypeName",
|
|
3352
3352
|
"src": "6982:7:46",
|
|
@@ -3360,12 +3360,12 @@
|
|
|
3360
3360
|
},
|
|
3361
3361
|
{
|
|
3362
3362
|
"constant": false,
|
|
3363
|
-
"id":
|
|
3363
|
+
"id": 19279,
|
|
3364
3364
|
"mutability": "mutable",
|
|
3365
3365
|
"name": "amount",
|
|
3366
3366
|
"nameLocation": "7009:6:46",
|
|
3367
3367
|
"nodeType": "VariableDeclaration",
|
|
3368
|
-
"scope":
|
|
3368
|
+
"scope": 19286,
|
|
3369
3369
|
"src": "7001:14:46",
|
|
3370
3370
|
"stateVariable": false,
|
|
3371
3371
|
"storageLocation": "default",
|
|
@@ -3374,7 +3374,7 @@
|
|
|
3374
3374
|
"typeString": "uint256"
|
|
3375
3375
|
},
|
|
3376
3376
|
"typeName": {
|
|
3377
|
-
"id":
|
|
3377
|
+
"id": 19278,
|
|
3378
3378
|
"name": "uint256",
|
|
3379
3379
|
"nodeType": "ElementaryTypeName",
|
|
3380
3380
|
"src": "7001:7:46",
|
|
@@ -3387,12 +3387,12 @@
|
|
|
3387
3387
|
},
|
|
3388
3388
|
{
|
|
3389
3389
|
"constant": false,
|
|
3390
|
-
"id":
|
|
3390
|
+
"id": 19281,
|
|
3391
3391
|
"mutability": "mutable",
|
|
3392
3392
|
"name": "data",
|
|
3393
3393
|
"nameLocation": "7032:4:46",
|
|
3394
3394
|
"nodeType": "VariableDeclaration",
|
|
3395
|
-
"scope":
|
|
3395
|
+
"scope": 19286,
|
|
3396
3396
|
"src": "7017:19:46",
|
|
3397
3397
|
"stateVariable": false,
|
|
3398
3398
|
"storageLocation": "calldata",
|
|
@@ -3401,7 +3401,7 @@
|
|
|
3401
3401
|
"typeString": "bytes"
|
|
3402
3402
|
},
|
|
3403
3403
|
"typeName": {
|
|
3404
|
-
"id":
|
|
3404
|
+
"id": 19280,
|
|
3405
3405
|
"name": "bytes",
|
|
3406
3406
|
"nodeType": "ElementaryTypeName",
|
|
3407
3407
|
"src": "7017:5:46",
|
|
@@ -3416,12 +3416,12 @@
|
|
|
3416
3416
|
"src": "6981:56:46"
|
|
3417
3417
|
},
|
|
3418
3418
|
"returnParameters": {
|
|
3419
|
-
"id":
|
|
3419
|
+
"id": 19285,
|
|
3420
3420
|
"nodeType": "ParameterList",
|
|
3421
3421
|
"parameters": [],
|
|
3422
3422
|
"src": "7064:0:46"
|
|
3423
3423
|
},
|
|
3424
|
-
"scope":
|
|
3424
|
+
"scope": 19492,
|
|
3425
3425
|
"src": "6968:97:46",
|
|
3426
3426
|
"stateMutability": "nonpayable",
|
|
3427
3427
|
"virtual": false,
|
|
@@ -3432,13 +3432,13 @@
|
|
|
3432
3432
|
2282
|
|
3433
3433
|
],
|
|
3434
3434
|
"documentation": {
|
|
3435
|
-
"id":
|
|
3435
|
+
"id": 19287,
|
|
3436
3436
|
"nodeType": "StructuredDocumentation",
|
|
3437
3437
|
"src": "7071:414:46",
|
|
3438
3438
|
"text": " @dev Destroys `amount` tokens from the caller's account, reducing the\n total supply.\n If a send hook is registered for the caller, the corresponding function\n will be called with `data` and empty `operatorData`. See {IERC777Sender}.\n @custom:emits a {Burned} event.\n @custom:requirements \n - the caller must have at least `amount` tokens."
|
|
3439
3439
|
},
|
|
3440
3440
|
"functionSelector": "fe9d9303",
|
|
3441
|
-
"id":
|
|
3441
|
+
"id": 19296,
|
|
3442
3442
|
"implemented": false,
|
|
3443
3443
|
"kind": "function",
|
|
3444
3444
|
"modifiers": [],
|
|
@@ -3446,11 +3446,11 @@
|
|
|
3446
3446
|
"nameLocation": "7499:4:46",
|
|
3447
3447
|
"nodeType": "FunctionDefinition",
|
|
3448
3448
|
"overrides": {
|
|
3449
|
-
"id":
|
|
3449
|
+
"id": 19294,
|
|
3450
3450
|
"nodeType": "OverrideSpecifier",
|
|
3451
3451
|
"overrides": [
|
|
3452
3452
|
{
|
|
3453
|
-
"id":
|
|
3453
|
+
"id": 19293,
|
|
3454
3454
|
"name": "IERC777",
|
|
3455
3455
|
"nodeType": "IdentifierPath",
|
|
3456
3456
|
"referencedDeclaration": 2352,
|
|
@@ -3460,17 +3460,17 @@
|
|
|
3460
3460
|
"src": "7550:17:46"
|
|
3461
3461
|
},
|
|
3462
3462
|
"parameters": {
|
|
3463
|
-
"id":
|
|
3463
|
+
"id": 19292,
|
|
3464
3464
|
"nodeType": "ParameterList",
|
|
3465
3465
|
"parameters": [
|
|
3466
3466
|
{
|
|
3467
3467
|
"constant": false,
|
|
3468
|
-
"id":
|
|
3468
|
+
"id": 19289,
|
|
3469
3469
|
"mutability": "mutable",
|
|
3470
3470
|
"name": "amount",
|
|
3471
3471
|
"nameLocation": "7512:6:46",
|
|
3472
3472
|
"nodeType": "VariableDeclaration",
|
|
3473
|
-
"scope":
|
|
3473
|
+
"scope": 19296,
|
|
3474
3474
|
"src": "7504:14:46",
|
|
3475
3475
|
"stateVariable": false,
|
|
3476
3476
|
"storageLocation": "default",
|
|
@@ -3479,7 +3479,7 @@
|
|
|
3479
3479
|
"typeString": "uint256"
|
|
3480
3480
|
},
|
|
3481
3481
|
"typeName": {
|
|
3482
|
-
"id":
|
|
3482
|
+
"id": 19288,
|
|
3483
3483
|
"name": "uint256",
|
|
3484
3484
|
"nodeType": "ElementaryTypeName",
|
|
3485
3485
|
"src": "7504:7:46",
|
|
@@ -3492,12 +3492,12 @@
|
|
|
3492
3492
|
},
|
|
3493
3493
|
{
|
|
3494
3494
|
"constant": false,
|
|
3495
|
-
"id":
|
|
3495
|
+
"id": 19291,
|
|
3496
3496
|
"mutability": "mutable",
|
|
3497
3497
|
"name": "data",
|
|
3498
3498
|
"nameLocation": "7535:4:46",
|
|
3499
3499
|
"nodeType": "VariableDeclaration",
|
|
3500
|
-
"scope":
|
|
3500
|
+
"scope": 19296,
|
|
3501
3501
|
"src": "7520:19:46",
|
|
3502
3502
|
"stateVariable": false,
|
|
3503
3503
|
"storageLocation": "calldata",
|
|
@@ -3506,7 +3506,7 @@
|
|
|
3506
3506
|
"typeString": "bytes"
|
|
3507
3507
|
},
|
|
3508
3508
|
"typeName": {
|
|
3509
|
-
"id":
|
|
3509
|
+
"id": 19290,
|
|
3510
3510
|
"name": "bytes",
|
|
3511
3511
|
"nodeType": "ElementaryTypeName",
|
|
3512
3512
|
"src": "7520:5:46",
|
|
@@ -3521,12 +3521,12 @@
|
|
|
3521
3521
|
"src": "7503:37:46"
|
|
3522
3522
|
},
|
|
3523
3523
|
"returnParameters": {
|
|
3524
|
-
"id":
|
|
3524
|
+
"id": 19295,
|
|
3525
3525
|
"nodeType": "ParameterList",
|
|
3526
3526
|
"parameters": [],
|
|
3527
3527
|
"src": "7567:0:46"
|
|
3528
3528
|
},
|
|
3529
|
-
"scope":
|
|
3529
|
+
"scope": 19492,
|
|
3530
3530
|
"src": "7490:78:46",
|
|
3531
3531
|
"stateMutability": "nonpayable",
|
|
3532
3532
|
"virtual": false,
|
|
@@ -3537,13 +3537,13 @@
|
|
|
3537
3537
|
2292
|
|
3538
3538
|
],
|
|
3539
3539
|
"documentation": {
|
|
3540
|
-
"id":
|
|
3540
|
+
"id": 19297,
|
|
3541
3541
|
"nodeType": "StructuredDocumentation",
|
|
3542
3542
|
"src": "7574:249:46",
|
|
3543
3543
|
"text": " @dev Returns true if an account is an operator of `tokenHolder`.\n Operators can send and burn tokens on behalf of their owners. All\n accounts are their own operator.\n See {operatorSend} and {operatorBurn}."
|
|
3544
3544
|
},
|
|
3545
3545
|
"functionSelector": "d95b6371",
|
|
3546
|
-
"id":
|
|
3546
|
+
"id": 19308,
|
|
3547
3547
|
"implemented": false,
|
|
3548
3548
|
"kind": "function",
|
|
3549
3549
|
"modifiers": [],
|
|
@@ -3551,11 +3551,11 @@
|
|
|
3551
3551
|
"nameLocation": "7837:13:46",
|
|
3552
3552
|
"nodeType": "FunctionDefinition",
|
|
3553
3553
|
"overrides": {
|
|
3554
|
-
"id":
|
|
3554
|
+
"id": 19304,
|
|
3555
3555
|
"nodeType": "OverrideSpecifier",
|
|
3556
3556
|
"overrides": [
|
|
3557
3557
|
{
|
|
3558
|
-
"id":
|
|
3558
|
+
"id": 19303,
|
|
3559
3559
|
"name": "IERC777",
|
|
3560
3560
|
"nodeType": "IdentifierPath",
|
|
3561
3561
|
"referencedDeclaration": 2352,
|
|
@@ -3565,17 +3565,17 @@
|
|
|
3565
3565
|
"src": "7899:17:46"
|
|
3566
3566
|
},
|
|
3567
3567
|
"parameters": {
|
|
3568
|
-
"id":
|
|
3568
|
+
"id": 19302,
|
|
3569
3569
|
"nodeType": "ParameterList",
|
|
3570
3570
|
"parameters": [
|
|
3571
3571
|
{
|
|
3572
3572
|
"constant": false,
|
|
3573
|
-
"id":
|
|
3573
|
+
"id": 19299,
|
|
3574
3574
|
"mutability": "mutable",
|
|
3575
3575
|
"name": "operator",
|
|
3576
3576
|
"nameLocation": "7859:8:46",
|
|
3577
3577
|
"nodeType": "VariableDeclaration",
|
|
3578
|
-
"scope":
|
|
3578
|
+
"scope": 19308,
|
|
3579
3579
|
"src": "7851:16:46",
|
|
3580
3580
|
"stateVariable": false,
|
|
3581
3581
|
"storageLocation": "default",
|
|
@@ -3584,7 +3584,7 @@
|
|
|
3584
3584
|
"typeString": "address"
|
|
3585
3585
|
},
|
|
3586
3586
|
"typeName": {
|
|
3587
|
-
"id":
|
|
3587
|
+
"id": 19298,
|
|
3588
3588
|
"name": "address",
|
|
3589
3589
|
"nodeType": "ElementaryTypeName",
|
|
3590
3590
|
"src": "7851:7:46",
|
|
@@ -3598,12 +3598,12 @@
|
|
|
3598
3598
|
},
|
|
3599
3599
|
{
|
|
3600
3600
|
"constant": false,
|
|
3601
|
-
"id":
|
|
3601
|
+
"id": 19301,
|
|
3602
3602
|
"mutability": "mutable",
|
|
3603
3603
|
"name": "tokenHolder",
|
|
3604
3604
|
"nameLocation": "7877:11:46",
|
|
3605
3605
|
"nodeType": "VariableDeclaration",
|
|
3606
|
-
"scope":
|
|
3606
|
+
"scope": 19308,
|
|
3607
3607
|
"src": "7869:19:46",
|
|
3608
3608
|
"stateVariable": false,
|
|
3609
3609
|
"storageLocation": "default",
|
|
@@ -3612,7 +3612,7 @@
|
|
|
3612
3612
|
"typeString": "address"
|
|
3613
3613
|
},
|
|
3614
3614
|
"typeName": {
|
|
3615
|
-
"id":
|
|
3615
|
+
"id": 19300,
|
|
3616
3616
|
"name": "address",
|
|
3617
3617
|
"nodeType": "ElementaryTypeName",
|
|
3618
3618
|
"src": "7869:7:46",
|
|
@@ -3628,17 +3628,17 @@
|
|
|
3628
3628
|
"src": "7850:39:46"
|
|
3629
3629
|
},
|
|
3630
3630
|
"returnParameters": {
|
|
3631
|
-
"id":
|
|
3631
|
+
"id": 19307,
|
|
3632
3632
|
"nodeType": "ParameterList",
|
|
3633
3633
|
"parameters": [
|
|
3634
3634
|
{
|
|
3635
3635
|
"constant": false,
|
|
3636
|
-
"id":
|
|
3636
|
+
"id": 19306,
|
|
3637
3637
|
"mutability": "mutable",
|
|
3638
3638
|
"name": "",
|
|
3639
3639
|
"nameLocation": "-1:-1:-1",
|
|
3640
3640
|
"nodeType": "VariableDeclaration",
|
|
3641
|
-
"scope":
|
|
3641
|
+
"scope": 19308,
|
|
3642
3642
|
"src": "7931:4:46",
|
|
3643
3643
|
"stateVariable": false,
|
|
3644
3644
|
"storageLocation": "default",
|
|
@@ -3647,7 +3647,7 @@
|
|
|
3647
3647
|
"typeString": "bool"
|
|
3648
3648
|
},
|
|
3649
3649
|
"typeName": {
|
|
3650
|
-
"id":
|
|
3650
|
+
"id": 19305,
|
|
3651
3651
|
"name": "bool",
|
|
3652
3652
|
"nodeType": "ElementaryTypeName",
|
|
3653
3653
|
"src": "7931:4:46",
|
|
@@ -3661,7 +3661,7 @@
|
|
|
3661
3661
|
],
|
|
3662
3662
|
"src": "7930:6:46"
|
|
3663
3663
|
},
|
|
3664
|
-
"scope":
|
|
3664
|
+
"scope": 19492,
|
|
3665
3665
|
"src": "7828:109:46",
|
|
3666
3666
|
"stateMutability": "view",
|
|
3667
3667
|
"virtual": false,
|
|
@@ -3672,13 +3672,13 @@
|
|
|
3672
3672
|
2298
|
|
3673
3673
|
],
|
|
3674
3674
|
"documentation": {
|
|
3675
|
-
"id":
|
|
3675
|
+
"id": 19309,
|
|
3676
3676
|
"nodeType": "StructuredDocumentation",
|
|
3677
3677
|
"src": "7943:243:46",
|
|
3678
3678
|
"text": " @dev Make an account an operator of the caller.\n See {isOperatorFor}.\n @custom:emits an {AuthorizedOperator} event.\n @custom:requirements \n - `operator` cannot be calling address."
|
|
3679
3679
|
},
|
|
3680
3680
|
"functionSelector": "959b8c3f",
|
|
3681
|
-
"id":
|
|
3681
|
+
"id": 19316,
|
|
3682
3682
|
"implemented": false,
|
|
3683
3683
|
"kind": "function",
|
|
3684
3684
|
"modifiers": [],
|
|
@@ -3686,11 +3686,11 @@
|
|
|
3686
3686
|
"nameLocation": "8200:17:46",
|
|
3687
3687
|
"nodeType": "FunctionDefinition",
|
|
3688
3688
|
"overrides": {
|
|
3689
|
-
"id":
|
|
3689
|
+
"id": 19314,
|
|
3690
3690
|
"nodeType": "OverrideSpecifier",
|
|
3691
3691
|
"overrides": [
|
|
3692
3692
|
{
|
|
3693
|
-
"id":
|
|
3693
|
+
"id": 19313,
|
|
3694
3694
|
"name": "IERC777",
|
|
3695
3695
|
"nodeType": "IdentifierPath",
|
|
3696
3696
|
"referencedDeclaration": 2352,
|
|
@@ -3700,17 +3700,17 @@
|
|
|
3700
3700
|
"src": "8245:17:46"
|
|
3701
3701
|
},
|
|
3702
3702
|
"parameters": {
|
|
3703
|
-
"id":
|
|
3703
|
+
"id": 19312,
|
|
3704
3704
|
"nodeType": "ParameterList",
|
|
3705
3705
|
"parameters": [
|
|
3706
3706
|
{
|
|
3707
3707
|
"constant": false,
|
|
3708
|
-
"id":
|
|
3708
|
+
"id": 19311,
|
|
3709
3709
|
"mutability": "mutable",
|
|
3710
3710
|
"name": "operator",
|
|
3711
3711
|
"nameLocation": "8226:8:46",
|
|
3712
3712
|
"nodeType": "VariableDeclaration",
|
|
3713
|
-
"scope":
|
|
3713
|
+
"scope": 19316,
|
|
3714
3714
|
"src": "8218:16:46",
|
|
3715
3715
|
"stateVariable": false,
|
|
3716
3716
|
"storageLocation": "default",
|
|
@@ -3719,7 +3719,7 @@
|
|
|
3719
3719
|
"typeString": "address"
|
|
3720
3720
|
},
|
|
3721
3721
|
"typeName": {
|
|
3722
|
-
"id":
|
|
3722
|
+
"id": 19310,
|
|
3723
3723
|
"name": "address",
|
|
3724
3724
|
"nodeType": "ElementaryTypeName",
|
|
3725
3725
|
"src": "8218:7:46",
|
|
@@ -3735,12 +3735,12 @@
|
|
|
3735
3735
|
"src": "8217:18:46"
|
|
3736
3736
|
},
|
|
3737
3737
|
"returnParameters": {
|
|
3738
|
-
"id":
|
|
3738
|
+
"id": 19315,
|
|
3739
3739
|
"nodeType": "ParameterList",
|
|
3740
3740
|
"parameters": [],
|
|
3741
3741
|
"src": "8262:0:46"
|
|
3742
3742
|
},
|
|
3743
|
-
"scope":
|
|
3743
|
+
"scope": 19492,
|
|
3744
3744
|
"src": "8191:72:46",
|
|
3745
3745
|
"stateMutability": "nonpayable",
|
|
3746
3746
|
"virtual": false,
|
|
@@ -3751,13 +3751,13 @@
|
|
|
3751
3751
|
2304
|
|
3752
3752
|
],
|
|
3753
3753
|
"documentation": {
|
|
3754
|
-
"id":
|
|
3754
|
+
"id": 19317,
|
|
3755
3755
|
"nodeType": "StructuredDocumentation",
|
|
3756
3756
|
"src": "8269:271:46",
|
|
3757
3757
|
"text": " @dev Revoke an account's operator status for the caller.\n See {isOperatorFor} and {defaultOperators}.\n @custom:emits a {RevokedOperator} event.\n @custom:requirements \n - `operator` cannot be calling address."
|
|
3758
3758
|
},
|
|
3759
3759
|
"functionSelector": "fad8b32a",
|
|
3760
|
-
"id":
|
|
3760
|
+
"id": 19324,
|
|
3761
3761
|
"implemented": false,
|
|
3762
3762
|
"kind": "function",
|
|
3763
3763
|
"modifiers": [],
|
|
@@ -3765,11 +3765,11 @@
|
|
|
3765
3765
|
"nameLocation": "8554:14:46",
|
|
3766
3766
|
"nodeType": "FunctionDefinition",
|
|
3767
3767
|
"overrides": {
|
|
3768
|
-
"id":
|
|
3768
|
+
"id": 19322,
|
|
3769
3769
|
"nodeType": "OverrideSpecifier",
|
|
3770
3770
|
"overrides": [
|
|
3771
3771
|
{
|
|
3772
|
-
"id":
|
|
3772
|
+
"id": 19321,
|
|
3773
3773
|
"name": "IERC777",
|
|
3774
3774
|
"nodeType": "IdentifierPath",
|
|
3775
3775
|
"referencedDeclaration": 2352,
|
|
@@ -3779,17 +3779,17 @@
|
|
|
3779
3779
|
"src": "8596:17:46"
|
|
3780
3780
|
},
|
|
3781
3781
|
"parameters": {
|
|
3782
|
-
"id":
|
|
3782
|
+
"id": 19320,
|
|
3783
3783
|
"nodeType": "ParameterList",
|
|
3784
3784
|
"parameters": [
|
|
3785
3785
|
{
|
|
3786
3786
|
"constant": false,
|
|
3787
|
-
"id":
|
|
3787
|
+
"id": 19319,
|
|
3788
3788
|
"mutability": "mutable",
|
|
3789
3789
|
"name": "operator",
|
|
3790
3790
|
"nameLocation": "8577:8:46",
|
|
3791
3791
|
"nodeType": "VariableDeclaration",
|
|
3792
|
-
"scope":
|
|
3792
|
+
"scope": 19324,
|
|
3793
3793
|
"src": "8569:16:46",
|
|
3794
3794
|
"stateVariable": false,
|
|
3795
3795
|
"storageLocation": "default",
|
|
@@ -3798,7 +3798,7 @@
|
|
|
3798
3798
|
"typeString": "address"
|
|
3799
3799
|
},
|
|
3800
3800
|
"typeName": {
|
|
3801
|
-
"id":
|
|
3801
|
+
"id": 19318,
|
|
3802
3802
|
"name": "address",
|
|
3803
3803
|
"nodeType": "ElementaryTypeName",
|
|
3804
3804
|
"src": "8569:7:46",
|
|
@@ -3814,12 +3814,12 @@
|
|
|
3814
3814
|
"src": "8568:18:46"
|
|
3815
3815
|
},
|
|
3816
3816
|
"returnParameters": {
|
|
3817
|
-
"id":
|
|
3817
|
+
"id": 19323,
|
|
3818
3818
|
"nodeType": "ParameterList",
|
|
3819
3819
|
"parameters": [],
|
|
3820
3820
|
"src": "8613:0:46"
|
|
3821
3821
|
},
|
|
3822
|
-
"scope":
|
|
3822
|
+
"scope": 19492,
|
|
3823
3823
|
"src": "8545:69:46",
|
|
3824
3824
|
"stateMutability": "nonpayable",
|
|
3825
3825
|
"virtual": false,
|
|
@@ -3830,13 +3830,13 @@
|
|
|
3830
3830
|
2311
|
|
3831
3831
|
],
|
|
3832
3832
|
"documentation": {
|
|
3833
|
-
"id":
|
|
3833
|
+
"id": 19325,
|
|
3834
3834
|
"nodeType": "StructuredDocumentation",
|
|
3835
3835
|
"src": "8620:338:46",
|
|
3836
3836
|
"text": " @dev Returns the list of default operators. These accounts are operators\n for all token holders, even if {authorizeOperator} was never called on\n them.\n This list is immutable, but individual holders may revoke these via\n {revokeOperator}, in which case {isOperatorFor} will return false."
|
|
3837
3837
|
},
|
|
3838
3838
|
"functionSelector": "06e48538",
|
|
3839
|
-
"id":
|
|
3839
|
+
"id": 19333,
|
|
3840
3840
|
"implemented": false,
|
|
3841
3841
|
"kind": "function",
|
|
3842
3842
|
"modifiers": [],
|
|
@@ -3844,11 +3844,11 @@
|
|
|
3844
3844
|
"nameLocation": "8972:16:46",
|
|
3845
3845
|
"nodeType": "FunctionDefinition",
|
|
3846
3846
|
"overrides": {
|
|
3847
|
-
"id":
|
|
3847
|
+
"id": 19328,
|
|
3848
3848
|
"nodeType": "OverrideSpecifier",
|
|
3849
3849
|
"overrides": [
|
|
3850
3850
|
{
|
|
3851
|
-
"id":
|
|
3851
|
+
"id": 19327,
|
|
3852
3852
|
"name": "IERC777",
|
|
3853
3853
|
"nodeType": "IdentifierPath",
|
|
3854
3854
|
"referencedDeclaration": 2352,
|
|
@@ -3858,23 +3858,23 @@
|
|
|
3858
3858
|
"src": "9000:17:46"
|
|
3859
3859
|
},
|
|
3860
3860
|
"parameters": {
|
|
3861
|
-
"id":
|
|
3861
|
+
"id": 19326,
|
|
3862
3862
|
"nodeType": "ParameterList",
|
|
3863
3863
|
"parameters": [],
|
|
3864
3864
|
"src": "8988:2:46"
|
|
3865
3865
|
},
|
|
3866
3866
|
"returnParameters": {
|
|
3867
|
-
"id":
|
|
3867
|
+
"id": 19332,
|
|
3868
3868
|
"nodeType": "ParameterList",
|
|
3869
3869
|
"parameters": [
|
|
3870
3870
|
{
|
|
3871
3871
|
"constant": false,
|
|
3872
|
-
"id":
|
|
3872
|
+
"id": 19331,
|
|
3873
3873
|
"mutability": "mutable",
|
|
3874
3874
|
"name": "",
|
|
3875
3875
|
"nameLocation": "-1:-1:-1",
|
|
3876
3876
|
"nodeType": "VariableDeclaration",
|
|
3877
|
-
"scope":
|
|
3877
|
+
"scope": 19333,
|
|
3878
3878
|
"src": "9032:16:46",
|
|
3879
3879
|
"stateVariable": false,
|
|
3880
3880
|
"storageLocation": "memory",
|
|
@@ -3884,7 +3884,7 @@
|
|
|
3884
3884
|
},
|
|
3885
3885
|
"typeName": {
|
|
3886
3886
|
"baseType": {
|
|
3887
|
-
"id":
|
|
3887
|
+
"id": 19329,
|
|
3888
3888
|
"name": "address",
|
|
3889
3889
|
"nodeType": "ElementaryTypeName",
|
|
3890
3890
|
"src": "9032:7:46",
|
|
@@ -3894,7 +3894,7 @@
|
|
|
3894
3894
|
"typeString": "address"
|
|
3895
3895
|
}
|
|
3896
3896
|
},
|
|
3897
|
-
"id":
|
|
3897
|
+
"id": 19330,
|
|
3898
3898
|
"nodeType": "ArrayTypeName",
|
|
3899
3899
|
"src": "9032:9:46",
|
|
3900
3900
|
"typeDescriptions": {
|
|
@@ -3907,7 +3907,7 @@
|
|
|
3907
3907
|
],
|
|
3908
3908
|
"src": "9031:18:46"
|
|
3909
3909
|
},
|
|
3910
|
-
"scope":
|
|
3910
|
+
"scope": 19492,
|
|
3911
3911
|
"src": "8963:87:46",
|
|
3912
3912
|
"stateMutability": "view",
|
|
3913
3913
|
"virtual": false,
|
|
@@ -3918,13 +3918,13 @@
|
|
|
3918
3918
|
2325
|
|
3919
3919
|
],
|
|
3920
3920
|
"documentation": {
|
|
3921
|
-
"id":
|
|
3921
|
+
"id": 19334,
|
|
3922
3922
|
"nodeType": "StructuredDocumentation",
|
|
3923
3923
|
"src": "9056:724:46",
|
|
3924
3924
|
"text": " @dev Moves `amount` tokens from `sender` to `recipient`. The caller must\n be an operator of `sender`.\n If send or receive hooks are registered for `sender` and `recipient`,\n the corresponding functions will be called with `data` and\n `operatorData`. See {IERC777Sender} and {IERC777Recipient}.\n @custom:emits a {Sent} event.\n @custom:requirements \n - `sender` cannot be the zero address.\n - `sender` must have at least `amount` tokens.\n - the caller must be an operator for `sender`.\n - `recipient` cannot be the zero address.\n - if `recipient` is a contract, it must implement the {IERC777Recipient}\n interface."
|
|
3925
3925
|
},
|
|
3926
3926
|
"functionSelector": "62ad1b83",
|
|
3927
|
-
"id":
|
|
3927
|
+
"id": 19349,
|
|
3928
3928
|
"implemented": false,
|
|
3929
3929
|
"kind": "function",
|
|
3930
3930
|
"modifiers": [],
|
|
@@ -3932,11 +3932,11 @@
|
|
|
3932
3932
|
"nameLocation": "9794:12:46",
|
|
3933
3933
|
"nodeType": "FunctionDefinition",
|
|
3934
3934
|
"overrides": {
|
|
3935
|
-
"id":
|
|
3935
|
+
"id": 19347,
|
|
3936
3936
|
"nodeType": "OverrideSpecifier",
|
|
3937
3937
|
"overrides": [
|
|
3938
3938
|
{
|
|
3939
|
-
"id":
|
|
3939
|
+
"id": 19346,
|
|
3940
3940
|
"name": "IERC777",
|
|
3941
3941
|
"nodeType": "IdentifierPath",
|
|
3942
3942
|
"referencedDeclaration": 2352,
|
|
@@ -3946,17 +3946,17 @@
|
|
|
3946
3946
|
"src": "9963:17:46"
|
|
3947
3947
|
},
|
|
3948
3948
|
"parameters": {
|
|
3949
|
-
"id":
|
|
3949
|
+
"id": 19345,
|
|
3950
3950
|
"nodeType": "ParameterList",
|
|
3951
3951
|
"parameters": [
|
|
3952
3952
|
{
|
|
3953
3953
|
"constant": false,
|
|
3954
|
-
"id":
|
|
3954
|
+
"id": 19336,
|
|
3955
3955
|
"mutability": "mutable",
|
|
3956
3956
|
"name": "sender",
|
|
3957
3957
|
"nameLocation": "9824:6:46",
|
|
3958
3958
|
"nodeType": "VariableDeclaration",
|
|
3959
|
-
"scope":
|
|
3959
|
+
"scope": 19349,
|
|
3960
3960
|
"src": "9816:14:46",
|
|
3961
3961
|
"stateVariable": false,
|
|
3962
3962
|
"storageLocation": "default",
|
|
@@ -3965,7 +3965,7 @@
|
|
|
3965
3965
|
"typeString": "address"
|
|
3966
3966
|
},
|
|
3967
3967
|
"typeName": {
|
|
3968
|
-
"id":
|
|
3968
|
+
"id": 19335,
|
|
3969
3969
|
"name": "address",
|
|
3970
3970
|
"nodeType": "ElementaryTypeName",
|
|
3971
3971
|
"src": "9816:7:46",
|
|
@@ -3979,12 +3979,12 @@
|
|
|
3979
3979
|
},
|
|
3980
3980
|
{
|
|
3981
3981
|
"constant": false,
|
|
3982
|
-
"id":
|
|
3982
|
+
"id": 19338,
|
|
3983
3983
|
"mutability": "mutable",
|
|
3984
3984
|
"name": "recipient",
|
|
3985
3985
|
"nameLocation": "9848:9:46",
|
|
3986
3986
|
"nodeType": "VariableDeclaration",
|
|
3987
|
-
"scope":
|
|
3987
|
+
"scope": 19349,
|
|
3988
3988
|
"src": "9840:17:46",
|
|
3989
3989
|
"stateVariable": false,
|
|
3990
3990
|
"storageLocation": "default",
|
|
@@ -3993,7 +3993,7 @@
|
|
|
3993
3993
|
"typeString": "address"
|
|
3994
3994
|
},
|
|
3995
3995
|
"typeName": {
|
|
3996
|
-
"id":
|
|
3996
|
+
"id": 19337,
|
|
3997
3997
|
"name": "address",
|
|
3998
3998
|
"nodeType": "ElementaryTypeName",
|
|
3999
3999
|
"src": "9840:7:46",
|
|
@@ -4007,12 +4007,12 @@
|
|
|
4007
4007
|
},
|
|
4008
4008
|
{
|
|
4009
4009
|
"constant": false,
|
|
4010
|
-
"id":
|
|
4010
|
+
"id": 19340,
|
|
4011
4011
|
"mutability": "mutable",
|
|
4012
4012
|
"name": "amount",
|
|
4013
4013
|
"nameLocation": "9875:6:46",
|
|
4014
4014
|
"nodeType": "VariableDeclaration",
|
|
4015
|
-
"scope":
|
|
4015
|
+
"scope": 19349,
|
|
4016
4016
|
"src": "9867:14:46",
|
|
4017
4017
|
"stateVariable": false,
|
|
4018
4018
|
"storageLocation": "default",
|
|
@@ -4021,7 +4021,7 @@
|
|
|
4021
4021
|
"typeString": "uint256"
|
|
4022
4022
|
},
|
|
4023
4023
|
"typeName": {
|
|
4024
|
-
"id":
|
|
4024
|
+
"id": 19339,
|
|
4025
4025
|
"name": "uint256",
|
|
4026
4026
|
"nodeType": "ElementaryTypeName",
|
|
4027
4027
|
"src": "9867:7:46",
|
|
@@ -4034,12 +4034,12 @@
|
|
|
4034
4034
|
},
|
|
4035
4035
|
{
|
|
4036
4036
|
"constant": false,
|
|
4037
|
-
"id":
|
|
4037
|
+
"id": 19342,
|
|
4038
4038
|
"mutability": "mutable",
|
|
4039
4039
|
"name": "data",
|
|
4040
4040
|
"nameLocation": "9906:4:46",
|
|
4041
4041
|
"nodeType": "VariableDeclaration",
|
|
4042
|
-
"scope":
|
|
4042
|
+
"scope": 19349,
|
|
4043
4043
|
"src": "9891:19:46",
|
|
4044
4044
|
"stateVariable": false,
|
|
4045
4045
|
"storageLocation": "calldata",
|
|
@@ -4048,7 +4048,7 @@
|
|
|
4048
4048
|
"typeString": "bytes"
|
|
4049
4049
|
},
|
|
4050
4050
|
"typeName": {
|
|
4051
|
-
"id":
|
|
4051
|
+
"id": 19341,
|
|
4052
4052
|
"name": "bytes",
|
|
4053
4053
|
"nodeType": "ElementaryTypeName",
|
|
4054
4054
|
"src": "9891:5:46",
|
|
@@ -4061,12 +4061,12 @@
|
|
|
4061
4061
|
},
|
|
4062
4062
|
{
|
|
4063
4063
|
"constant": false,
|
|
4064
|
-
"id":
|
|
4064
|
+
"id": 19344,
|
|
4065
4065
|
"mutability": "mutable",
|
|
4066
4066
|
"name": "operatorData",
|
|
4067
4067
|
"nameLocation": "9935:12:46",
|
|
4068
4068
|
"nodeType": "VariableDeclaration",
|
|
4069
|
-
"scope":
|
|
4069
|
+
"scope": 19349,
|
|
4070
4070
|
"src": "9920:27:46",
|
|
4071
4071
|
"stateVariable": false,
|
|
4072
4072
|
"storageLocation": "calldata",
|
|
@@ -4075,7 +4075,7 @@
|
|
|
4075
4075
|
"typeString": "bytes"
|
|
4076
4076
|
},
|
|
4077
4077
|
"typeName": {
|
|
4078
|
-
"id":
|
|
4078
|
+
"id": 19343,
|
|
4079
4079
|
"name": "bytes",
|
|
4080
4080
|
"nodeType": "ElementaryTypeName",
|
|
4081
4081
|
"src": "9920:5:46",
|
|
@@ -4090,12 +4090,12 @@
|
|
|
4090
4090
|
"src": "9806:147:46"
|
|
4091
4091
|
},
|
|
4092
4092
|
"returnParameters": {
|
|
4093
|
-
"id":
|
|
4093
|
+
"id": 19348,
|
|
4094
4094
|
"nodeType": "ParameterList",
|
|
4095
4095
|
"parameters": [],
|
|
4096
4096
|
"src": "9980:0:46"
|
|
4097
4097
|
},
|
|
4098
|
-
"scope":
|
|
4098
|
+
"scope": 19492,
|
|
4099
4099
|
"src": "9785:196:46",
|
|
4100
4100
|
"stateMutability": "nonpayable",
|
|
4101
4101
|
"virtual": false,
|
|
@@ -4106,13 +4106,13 @@
|
|
|
4106
4106
|
2337
|
|
4107
4107
|
],
|
|
4108
4108
|
"documentation": {
|
|
4109
|
-
"id":
|
|
4109
|
+
"id": 19350,
|
|
4110
4110
|
"nodeType": "StructuredDocumentation",
|
|
4111
4111
|
"src": "9987:542:46",
|
|
4112
4112
|
"text": " @dev Destroys `amount` tokens from `account`, reducing the total supply.\n The caller must be an operator of `account`.\n If a send hook is registered for `account`, the corresponding function\n will be called with `data` and `operatorData`. See {IERC777Sender}.\n @custom:emits a {Burned} event.\n @custom:requirements \n - `account` cannot be the zero address.\n - `account` must have at least `amount` tokens.\n - the caller must be an operator for `account`."
|
|
4113
4113
|
},
|
|
4114
4114
|
"functionSelector": "fc673c4f",
|
|
4115
|
-
"id":
|
|
4115
|
+
"id": 19363,
|
|
4116
4116
|
"implemented": false,
|
|
4117
4117
|
"kind": "function",
|
|
4118
4118
|
"modifiers": [],
|
|
@@ -4120,11 +4120,11 @@
|
|
|
4120
4120
|
"nameLocation": "10543:12:46",
|
|
4121
4121
|
"nodeType": "FunctionDefinition",
|
|
4122
4122
|
"overrides": {
|
|
4123
|
-
"id":
|
|
4123
|
+
"id": 19361,
|
|
4124
4124
|
"nodeType": "OverrideSpecifier",
|
|
4125
4125
|
"overrides": [
|
|
4126
4126
|
{
|
|
4127
|
-
"id":
|
|
4127
|
+
"id": 19360,
|
|
4128
4128
|
"name": "IERC777",
|
|
4129
4129
|
"nodeType": "IdentifierPath",
|
|
4130
4130
|
"referencedDeclaration": 2352,
|
|
@@ -4134,17 +4134,17 @@
|
|
|
4134
4134
|
"src": "10686:17:46"
|
|
4135
4135
|
},
|
|
4136
4136
|
"parameters": {
|
|
4137
|
-
"id":
|
|
4137
|
+
"id": 19359,
|
|
4138
4138
|
"nodeType": "ParameterList",
|
|
4139
4139
|
"parameters": [
|
|
4140
4140
|
{
|
|
4141
4141
|
"constant": false,
|
|
4142
|
-
"id":
|
|
4142
|
+
"id": 19352,
|
|
4143
4143
|
"mutability": "mutable",
|
|
4144
4144
|
"name": "account",
|
|
4145
4145
|
"nameLocation": "10573:7:46",
|
|
4146
4146
|
"nodeType": "VariableDeclaration",
|
|
4147
|
-
"scope":
|
|
4147
|
+
"scope": 19363,
|
|
4148
4148
|
"src": "10565:15:46",
|
|
4149
4149
|
"stateVariable": false,
|
|
4150
4150
|
"storageLocation": "default",
|
|
@@ -4153,7 +4153,7 @@
|
|
|
4153
4153
|
"typeString": "address"
|
|
4154
4154
|
},
|
|
4155
4155
|
"typeName": {
|
|
4156
|
-
"id":
|
|
4156
|
+
"id": 19351,
|
|
4157
4157
|
"name": "address",
|
|
4158
4158
|
"nodeType": "ElementaryTypeName",
|
|
4159
4159
|
"src": "10565:7:46",
|
|
@@ -4167,12 +4167,12 @@
|
|
|
4167
4167
|
},
|
|
4168
4168
|
{
|
|
4169
4169
|
"constant": false,
|
|
4170
|
-
"id":
|
|
4170
|
+
"id": 19354,
|
|
4171
4171
|
"mutability": "mutable",
|
|
4172
4172
|
"name": "amount",
|
|
4173
4173
|
"nameLocation": "10598:6:46",
|
|
4174
4174
|
"nodeType": "VariableDeclaration",
|
|
4175
|
-
"scope":
|
|
4175
|
+
"scope": 19363,
|
|
4176
4176
|
"src": "10590:14:46",
|
|
4177
4177
|
"stateVariable": false,
|
|
4178
4178
|
"storageLocation": "default",
|
|
@@ -4181,7 +4181,7 @@
|
|
|
4181
4181
|
"typeString": "uint256"
|
|
4182
4182
|
},
|
|
4183
4183
|
"typeName": {
|
|
4184
|
-
"id":
|
|
4184
|
+
"id": 19353,
|
|
4185
4185
|
"name": "uint256",
|
|
4186
4186
|
"nodeType": "ElementaryTypeName",
|
|
4187
4187
|
"src": "10590:7:46",
|
|
@@ -4194,12 +4194,12 @@
|
|
|
4194
4194
|
},
|
|
4195
4195
|
{
|
|
4196
4196
|
"constant": false,
|
|
4197
|
-
"id":
|
|
4197
|
+
"id": 19356,
|
|
4198
4198
|
"mutability": "mutable",
|
|
4199
4199
|
"name": "data",
|
|
4200
4200
|
"nameLocation": "10629:4:46",
|
|
4201
4201
|
"nodeType": "VariableDeclaration",
|
|
4202
|
-
"scope":
|
|
4202
|
+
"scope": 19363,
|
|
4203
4203
|
"src": "10614:19:46",
|
|
4204
4204
|
"stateVariable": false,
|
|
4205
4205
|
"storageLocation": "calldata",
|
|
@@ -4208,7 +4208,7 @@
|
|
|
4208
4208
|
"typeString": "bytes"
|
|
4209
4209
|
},
|
|
4210
4210
|
"typeName": {
|
|
4211
|
-
"id":
|
|
4211
|
+
"id": 19355,
|
|
4212
4212
|
"name": "bytes",
|
|
4213
4213
|
"nodeType": "ElementaryTypeName",
|
|
4214
4214
|
"src": "10614:5:46",
|
|
@@ -4221,12 +4221,12 @@
|
|
|
4221
4221
|
},
|
|
4222
4222
|
{
|
|
4223
4223
|
"constant": false,
|
|
4224
|
-
"id":
|
|
4224
|
+
"id": 19358,
|
|
4225
4225
|
"mutability": "mutable",
|
|
4226
4226
|
"name": "operatorData",
|
|
4227
4227
|
"nameLocation": "10658:12:46",
|
|
4228
4228
|
"nodeType": "VariableDeclaration",
|
|
4229
|
-
"scope":
|
|
4229
|
+
"scope": 19363,
|
|
4230
4230
|
"src": "10643:27:46",
|
|
4231
4231
|
"stateVariable": false,
|
|
4232
4232
|
"storageLocation": "calldata",
|
|
@@ -4235,7 +4235,7 @@
|
|
|
4235
4235
|
"typeString": "bytes"
|
|
4236
4236
|
},
|
|
4237
4237
|
"typeName": {
|
|
4238
|
-
"id":
|
|
4238
|
+
"id": 19357,
|
|
4239
4239
|
"name": "bytes",
|
|
4240
4240
|
"nodeType": "ElementaryTypeName",
|
|
4241
4241
|
"src": "10643:5:46",
|
|
@@ -4250,12 +4250,12 @@
|
|
|
4250
4250
|
"src": "10555:121:46"
|
|
4251
4251
|
},
|
|
4252
4252
|
"returnParameters": {
|
|
4253
|
-
"id":
|
|
4253
|
+
"id": 19362,
|
|
4254
4254
|
"nodeType": "ParameterList",
|
|
4255
4255
|
"parameters": [],
|
|
4256
4256
|
"src": "10703:0:46"
|
|
4257
4257
|
},
|
|
4258
|
-
"scope":
|
|
4258
|
+
"scope": 19492,
|
|
4259
4259
|
"src": "10534:170:46",
|
|
4260
4260
|
"stateMutability": "nonpayable",
|
|
4261
4261
|
"virtual": false,
|
|
@@ -4263,13 +4263,13 @@
|
|
|
4263
4263
|
},
|
|
4264
4264
|
{
|
|
4265
4265
|
"documentation": {
|
|
4266
|
-
"id":
|
|
4266
|
+
"id": 19364,
|
|
4267
4267
|
"nodeType": "StructuredDocumentation",
|
|
4268
4268
|
"src": "10912:107:46",
|
|
4269
4269
|
"text": " @dev Mint new tokens for the account\n @custom:modifiers \n - onlySelf"
|
|
4270
4270
|
},
|
|
4271
4271
|
"functionSelector": "c68d4283",
|
|
4272
|
-
"id":
|
|
4272
|
+
"id": 19373,
|
|
4273
4273
|
"implemented": false,
|
|
4274
4274
|
"kind": "function",
|
|
4275
4275
|
"modifiers": [],
|
|
@@ -4277,17 +4277,17 @@
|
|
|
4277
4277
|
"nameLocation": "11033:8:46",
|
|
4278
4278
|
"nodeType": "FunctionDefinition",
|
|
4279
4279
|
"parameters": {
|
|
4280
|
-
"id":
|
|
4280
|
+
"id": 19371,
|
|
4281
4281
|
"nodeType": "ParameterList",
|
|
4282
4282
|
"parameters": [
|
|
4283
4283
|
{
|
|
4284
4284
|
"constant": false,
|
|
4285
|
-
"id":
|
|
4285
|
+
"id": 19366,
|
|
4286
4286
|
"mutability": "mutable",
|
|
4287
4287
|
"name": "account",
|
|
4288
4288
|
"nameLocation": "11059:7:46",
|
|
4289
4289
|
"nodeType": "VariableDeclaration",
|
|
4290
|
-
"scope":
|
|
4290
|
+
"scope": 19373,
|
|
4291
4291
|
"src": "11051:15:46",
|
|
4292
4292
|
"stateVariable": false,
|
|
4293
4293
|
"storageLocation": "default",
|
|
@@ -4296,7 +4296,7 @@
|
|
|
4296
4296
|
"typeString": "address"
|
|
4297
4297
|
},
|
|
4298
4298
|
"typeName": {
|
|
4299
|
-
"id":
|
|
4299
|
+
"id": 19365,
|
|
4300
4300
|
"name": "address",
|
|
4301
4301
|
"nodeType": "ElementaryTypeName",
|
|
4302
4302
|
"src": "11051:7:46",
|
|
@@ -4310,12 +4310,12 @@
|
|
|
4310
4310
|
},
|
|
4311
4311
|
{
|
|
4312
4312
|
"constant": false,
|
|
4313
|
-
"id":
|
|
4313
|
+
"id": 19368,
|
|
4314
4314
|
"mutability": "mutable",
|
|
4315
4315
|
"name": "amount",
|
|
4316
4316
|
"nameLocation": "11084:6:46",
|
|
4317
4317
|
"nodeType": "VariableDeclaration",
|
|
4318
|
-
"scope":
|
|
4318
|
+
"scope": 19373,
|
|
4319
4319
|
"src": "11076:14:46",
|
|
4320
4320
|
"stateVariable": false,
|
|
4321
4321
|
"storageLocation": "default",
|
|
@@ -4324,7 +4324,7 @@
|
|
|
4324
4324
|
"typeString": "uint256"
|
|
4325
4325
|
},
|
|
4326
4326
|
"typeName": {
|
|
4327
|
-
"id":
|
|
4327
|
+
"id": 19367,
|
|
4328
4328
|
"name": "uint256",
|
|
4329
4329
|
"nodeType": "ElementaryTypeName",
|
|
4330
4330
|
"src": "11076:7:46",
|
|
@@ -4337,12 +4337,12 @@
|
|
|
4337
4337
|
},
|
|
4338
4338
|
{
|
|
4339
4339
|
"constant": false,
|
|
4340
|
-
"id":
|
|
4340
|
+
"id": 19370,
|
|
4341
4341
|
"mutability": "mutable",
|
|
4342
4342
|
"name": "userData",
|
|
4343
4343
|
"nameLocation": "11113:8:46",
|
|
4344
4344
|
"nodeType": "VariableDeclaration",
|
|
4345
|
-
"scope":
|
|
4345
|
+
"scope": 19373,
|
|
4346
4346
|
"src": "11100:21:46",
|
|
4347
4347
|
"stateVariable": false,
|
|
4348
4348
|
"storageLocation": "memory",
|
|
@@ -4351,7 +4351,7 @@
|
|
|
4351
4351
|
"typeString": "bytes"
|
|
4352
4352
|
},
|
|
4353
4353
|
"typeName": {
|
|
4354
|
-
"id":
|
|
4354
|
+
"id": 19369,
|
|
4355
4355
|
"name": "bytes",
|
|
4356
4356
|
"nodeType": "ElementaryTypeName",
|
|
4357
4357
|
"src": "11100:5:46",
|
|
@@ -4366,12 +4366,12 @@
|
|
|
4366
4366
|
"src": "11041:86:46"
|
|
4367
4367
|
},
|
|
4368
4368
|
"returnParameters": {
|
|
4369
|
-
"id":
|
|
4369
|
+
"id": 19372,
|
|
4370
4370
|
"nodeType": "ParameterList",
|
|
4371
4371
|
"parameters": [],
|
|
4372
4372
|
"src": "11136:0:46"
|
|
4373
4373
|
},
|
|
4374
|
-
"scope":
|
|
4374
|
+
"scope": 19492,
|
|
4375
4375
|
"src": "11024:113:46",
|
|
4376
4376
|
"stateMutability": "nonpayable",
|
|
4377
4377
|
"virtual": false,
|
|
@@ -4379,13 +4379,13 @@
|
|
|
4379
4379
|
},
|
|
4380
4380
|
{
|
|
4381
4381
|
"documentation": {
|
|
4382
|
-
"id":
|
|
4382
|
+
"id": 19374,
|
|
4383
4383
|
"nodeType": "StructuredDocumentation",
|
|
4384
4384
|
"src": "11142:107:46",
|
|
4385
4385
|
"text": " @dev Burn existing tokens for the account\n @custom:modifiers \n - onlySelf"
|
|
4386
4386
|
},
|
|
4387
4387
|
"functionSelector": "9d876741",
|
|
4388
|
-
"id":
|
|
4388
|
+
"id": 19383,
|
|
4389
4389
|
"implemented": false,
|
|
4390
4390
|
"kind": "function",
|
|
4391
4391
|
"modifiers": [],
|
|
@@ -4393,17 +4393,17 @@
|
|
|
4393
4393
|
"nameLocation": "11262:8:46",
|
|
4394
4394
|
"nodeType": "FunctionDefinition",
|
|
4395
4395
|
"parameters": {
|
|
4396
|
-
"id":
|
|
4396
|
+
"id": 19381,
|
|
4397
4397
|
"nodeType": "ParameterList",
|
|
4398
4398
|
"parameters": [
|
|
4399
4399
|
{
|
|
4400
4400
|
"constant": false,
|
|
4401
|
-
"id":
|
|
4401
|
+
"id": 19376,
|
|
4402
4402
|
"mutability": "mutable",
|
|
4403
4403
|
"name": "account",
|
|
4404
4404
|
"nameLocation": "11287:7:46",
|
|
4405
4405
|
"nodeType": "VariableDeclaration",
|
|
4406
|
-
"scope":
|
|
4406
|
+
"scope": 19383,
|
|
4407
4407
|
"src": "11279:15:46",
|
|
4408
4408
|
"stateVariable": false,
|
|
4409
4409
|
"storageLocation": "default",
|
|
@@ -4412,7 +4412,7 @@
|
|
|
4412
4412
|
"typeString": "address"
|
|
4413
4413
|
},
|
|
4414
4414
|
"typeName": {
|
|
4415
|
-
"id":
|
|
4415
|
+
"id": 19375,
|
|
4416
4416
|
"name": "address",
|
|
4417
4417
|
"nodeType": "ElementaryTypeName",
|
|
4418
4418
|
"src": "11279:7:46",
|
|
@@ -4426,12 +4426,12 @@
|
|
|
4426
4426
|
},
|
|
4427
4427
|
{
|
|
4428
4428
|
"constant": false,
|
|
4429
|
-
"id":
|
|
4429
|
+
"id": 19378,
|
|
4430
4430
|
"mutability": "mutable",
|
|
4431
4431
|
"name": "amount",
|
|
4432
4432
|
"nameLocation": "11311:6:46",
|
|
4433
4433
|
"nodeType": "VariableDeclaration",
|
|
4434
|
-
"scope":
|
|
4434
|
+
"scope": 19383,
|
|
4435
4435
|
"src": "11303:14:46",
|
|
4436
4436
|
"stateVariable": false,
|
|
4437
4437
|
"storageLocation": "default",
|
|
@@ -4440,7 +4440,7 @@
|
|
|
4440
4440
|
"typeString": "uint256"
|
|
4441
4441
|
},
|
|
4442
4442
|
"typeName": {
|
|
4443
|
-
"id":
|
|
4443
|
+
"id": 19377,
|
|
4444
4444
|
"name": "uint256",
|
|
4445
4445
|
"nodeType": "ElementaryTypeName",
|
|
4446
4446
|
"src": "11303:7:46",
|
|
@@ -4453,12 +4453,12 @@
|
|
|
4453
4453
|
},
|
|
4454
4454
|
{
|
|
4455
4455
|
"constant": false,
|
|
4456
|
-
"id":
|
|
4456
|
+
"id": 19380,
|
|
4457
4457
|
"mutability": "mutable",
|
|
4458
4458
|
"name": "userData",
|
|
4459
4459
|
"nameLocation": "11339:8:46",
|
|
4460
4460
|
"nodeType": "VariableDeclaration",
|
|
4461
|
-
"scope":
|
|
4461
|
+
"scope": 19383,
|
|
4462
4462
|
"src": "11326:21:46",
|
|
4463
4463
|
"stateVariable": false,
|
|
4464
4464
|
"storageLocation": "memory",
|
|
@@ -4467,7 +4467,7 @@
|
|
|
4467
4467
|
"typeString": "bytes"
|
|
4468
4468
|
},
|
|
4469
4469
|
"typeName": {
|
|
4470
|
-
"id":
|
|
4470
|
+
"id": 19379,
|
|
4471
4471
|
"name": "bytes",
|
|
4472
4472
|
"nodeType": "ElementaryTypeName",
|
|
4473
4473
|
"src": "11326:5:46",
|
|
@@ -4482,12 +4482,12 @@
|
|
|
4482
4482
|
"src": "11270:82:46"
|
|
4483
4483
|
},
|
|
4484
4484
|
"returnParameters": {
|
|
4485
|
-
"id":
|
|
4485
|
+
"id": 19382,
|
|
4486
4486
|
"nodeType": "ParameterList",
|
|
4487
4487
|
"parameters": [],
|
|
4488
4488
|
"src": "11361:0:46"
|
|
4489
4489
|
},
|
|
4490
|
-
"scope":
|
|
4490
|
+
"scope": 19492,
|
|
4491
4491
|
"src": "11253:109:46",
|
|
4492
4492
|
"stateMutability": "nonpayable",
|
|
4493
4493
|
"virtual": false,
|
|
@@ -4495,13 +4495,13 @@
|
|
|
4495
4495
|
},
|
|
4496
4496
|
{
|
|
4497
4497
|
"documentation": {
|
|
4498
|
-
"id":
|
|
4498
|
+
"id": 19384,
|
|
4499
4499
|
"nodeType": "StructuredDocumentation",
|
|
4500
4500
|
"src": "11367:245:46",
|
|
4501
4501
|
"text": " @dev Transfer `amount` tokens from the `sender` to `recipient`.\n If `spender` isn't the same as `sender`, checks if `spender` has allowance to\n spend tokens of `sender`.\n @custom:modifiers \n - onlySelf"
|
|
4502
4502
|
},
|
|
4503
4503
|
"functionSelector": "41b706be",
|
|
4504
|
-
"id":
|
|
4504
|
+
"id": 19395,
|
|
4505
4505
|
"implemented": false,
|
|
4506
4506
|
"kind": "function",
|
|
4507
4507
|
"modifiers": [],
|
|
@@ -4509,17 +4509,17 @@
|
|
|
4509
4509
|
"nameLocation": "11625:16:46",
|
|
4510
4510
|
"nodeType": "FunctionDefinition",
|
|
4511
4511
|
"parameters": {
|
|
4512
|
-
"id":
|
|
4512
|
+
"id": 19393,
|
|
4513
4513
|
"nodeType": "ParameterList",
|
|
4514
4514
|
"parameters": [
|
|
4515
4515
|
{
|
|
4516
4516
|
"constant": false,
|
|
4517
|
-
"id":
|
|
4517
|
+
"id": 19386,
|
|
4518
4518
|
"mutability": "mutable",
|
|
4519
4519
|
"name": "sender",
|
|
4520
4520
|
"nameLocation": "11659:6:46",
|
|
4521
4521
|
"nodeType": "VariableDeclaration",
|
|
4522
|
-
"scope":
|
|
4522
|
+
"scope": 19395,
|
|
4523
4523
|
"src": "11651:14:46",
|
|
4524
4524
|
"stateVariable": false,
|
|
4525
4525
|
"storageLocation": "default",
|
|
@@ -4528,7 +4528,7 @@
|
|
|
4528
4528
|
"typeString": "address"
|
|
4529
4529
|
},
|
|
4530
4530
|
"typeName": {
|
|
4531
|
-
"id":
|
|
4531
|
+
"id": 19385,
|
|
4532
4532
|
"name": "address",
|
|
4533
4533
|
"nodeType": "ElementaryTypeName",
|
|
4534
4534
|
"src": "11651:7:46",
|
|
@@ -4542,12 +4542,12 @@
|
|
|
4542
4542
|
},
|
|
4543
4543
|
{
|
|
4544
4544
|
"constant": false,
|
|
4545
|
-
"id":
|
|
4545
|
+
"id": 19388,
|
|
4546
4546
|
"mutability": "mutable",
|
|
4547
4547
|
"name": "spender",
|
|
4548
4548
|
"nameLocation": "11683:7:46",
|
|
4549
4549
|
"nodeType": "VariableDeclaration",
|
|
4550
|
-
"scope":
|
|
4550
|
+
"scope": 19395,
|
|
4551
4551
|
"src": "11675:15:46",
|
|
4552
4552
|
"stateVariable": false,
|
|
4553
4553
|
"storageLocation": "default",
|
|
@@ -4556,7 +4556,7 @@
|
|
|
4556
4556
|
"typeString": "address"
|
|
4557
4557
|
},
|
|
4558
4558
|
"typeName": {
|
|
4559
|
-
"id":
|
|
4559
|
+
"id": 19387,
|
|
4560
4560
|
"name": "address",
|
|
4561
4561
|
"nodeType": "ElementaryTypeName",
|
|
4562
4562
|
"src": "11675:7:46",
|
|
@@ -4570,12 +4570,12 @@
|
|
|
4570
4570
|
},
|
|
4571
4571
|
{
|
|
4572
4572
|
"constant": false,
|
|
4573
|
-
"id":
|
|
4573
|
+
"id": 19390,
|
|
4574
4574
|
"mutability": "mutable",
|
|
4575
4575
|
"name": "recipient",
|
|
4576
4576
|
"nameLocation": "11708:9:46",
|
|
4577
4577
|
"nodeType": "VariableDeclaration",
|
|
4578
|
-
"scope":
|
|
4578
|
+
"scope": 19395,
|
|
4579
4579
|
"src": "11700:17:46",
|
|
4580
4580
|
"stateVariable": false,
|
|
4581
4581
|
"storageLocation": "default",
|
|
@@ -4584,7 +4584,7 @@
|
|
|
4584
4584
|
"typeString": "address"
|
|
4585
4585
|
},
|
|
4586
4586
|
"typeName": {
|
|
4587
|
-
"id":
|
|
4587
|
+
"id": 19389,
|
|
4588
4588
|
"name": "address",
|
|
4589
4589
|
"nodeType": "ElementaryTypeName",
|
|
4590
4590
|
"src": "11700:7:46",
|
|
@@ -4598,12 +4598,12 @@
|
|
|
4598
4598
|
},
|
|
4599
4599
|
{
|
|
4600
4600
|
"constant": false,
|
|
4601
|
-
"id":
|
|
4601
|
+
"id": 19392,
|
|
4602
4602
|
"mutability": "mutable",
|
|
4603
4603
|
"name": "amount",
|
|
4604
4604
|
"nameLocation": "11735:6:46",
|
|
4605
4605
|
"nodeType": "VariableDeclaration",
|
|
4606
|
-
"scope":
|
|
4606
|
+
"scope": 19395,
|
|
4607
4607
|
"src": "11727:14:46",
|
|
4608
4608
|
"stateVariable": false,
|
|
4609
4609
|
"storageLocation": "default",
|
|
@@ -4612,7 +4612,7 @@
|
|
|
4612
4612
|
"typeString": "uint256"
|
|
4613
4613
|
},
|
|
4614
4614
|
"typeName": {
|
|
4615
|
-
"id":
|
|
4615
|
+
"id": 19391,
|
|
4616
4616
|
"name": "uint256",
|
|
4617
4617
|
"nodeType": "ElementaryTypeName",
|
|
4618
4618
|
"src": "11727:7:46",
|
|
@@ -4627,12 +4627,12 @@
|
|
|
4627
4627
|
"src": "11641:105:46"
|
|
4628
4628
|
},
|
|
4629
4629
|
"returnParameters": {
|
|
4630
|
-
"id":
|
|
4630
|
+
"id": 19394,
|
|
4631
4631
|
"nodeType": "ParameterList",
|
|
4632
4632
|
"parameters": [],
|
|
4633
4633
|
"src": "11755:0:46"
|
|
4634
4634
|
},
|
|
4635
|
-
"scope":
|
|
4635
|
+
"scope": 19492,
|
|
4636
4636
|
"src": "11616:140:46",
|
|
4637
4637
|
"stateMutability": "nonpayable",
|
|
4638
4638
|
"virtual": false,
|
|
@@ -4640,13 +4640,13 @@
|
|
|
4640
4640
|
},
|
|
4641
4641
|
{
|
|
4642
4642
|
"documentation": {
|
|
4643
|
-
"id":
|
|
4643
|
+
"id": 19396,
|
|
4644
4644
|
"nodeType": "StructuredDocumentation",
|
|
4645
4645
|
"src": "11761:145:46",
|
|
4646
4646
|
"text": " @dev Give `spender`, `amount` allowance to spend the tokens of\n `account`.\n @custom:modifiers \n - onlySelf"
|
|
4647
4647
|
},
|
|
4648
4648
|
"functionSelector": "66a12fb6",
|
|
4649
|
-
"id":
|
|
4649
|
+
"id": 19405,
|
|
4650
4650
|
"implemented": false,
|
|
4651
4651
|
"kind": "function",
|
|
4652
4652
|
"modifiers": [],
|
|
@@ -4654,17 +4654,17 @@
|
|
|
4654
4654
|
"nameLocation": "11919:14:46",
|
|
4655
4655
|
"nodeType": "FunctionDefinition",
|
|
4656
4656
|
"parameters": {
|
|
4657
|
-
"id":
|
|
4657
|
+
"id": 19403,
|
|
4658
4658
|
"nodeType": "ParameterList",
|
|
4659
4659
|
"parameters": [
|
|
4660
4660
|
{
|
|
4661
4661
|
"constant": false,
|
|
4662
|
-
"id":
|
|
4662
|
+
"id": 19398,
|
|
4663
4663
|
"mutability": "mutable",
|
|
4664
4664
|
"name": "account",
|
|
4665
4665
|
"nameLocation": "11951:7:46",
|
|
4666
4666
|
"nodeType": "VariableDeclaration",
|
|
4667
|
-
"scope":
|
|
4667
|
+
"scope": 19405,
|
|
4668
4668
|
"src": "11943:15:46",
|
|
4669
4669
|
"stateVariable": false,
|
|
4670
4670
|
"storageLocation": "default",
|
|
@@ -4673,7 +4673,7 @@
|
|
|
4673
4673
|
"typeString": "address"
|
|
4674
4674
|
},
|
|
4675
4675
|
"typeName": {
|
|
4676
|
-
"id":
|
|
4676
|
+
"id": 19397,
|
|
4677
4677
|
"name": "address",
|
|
4678
4678
|
"nodeType": "ElementaryTypeName",
|
|
4679
4679
|
"src": "11943:7:46",
|
|
@@ -4687,12 +4687,12 @@
|
|
|
4687
4687
|
},
|
|
4688
4688
|
{
|
|
4689
4689
|
"constant": false,
|
|
4690
|
-
"id":
|
|
4690
|
+
"id": 19400,
|
|
4691
4691
|
"mutability": "mutable",
|
|
4692
4692
|
"name": "spender",
|
|
4693
4693
|
"nameLocation": "11976:7:46",
|
|
4694
4694
|
"nodeType": "VariableDeclaration",
|
|
4695
|
-
"scope":
|
|
4695
|
+
"scope": 19405,
|
|
4696
4696
|
"src": "11968:15:46",
|
|
4697
4697
|
"stateVariable": false,
|
|
4698
4698
|
"storageLocation": "default",
|
|
@@ -4701,7 +4701,7 @@
|
|
|
4701
4701
|
"typeString": "address"
|
|
4702
4702
|
},
|
|
4703
4703
|
"typeName": {
|
|
4704
|
-
"id":
|
|
4704
|
+
"id": 19399,
|
|
4705
4705
|
"name": "address",
|
|
4706
4706
|
"nodeType": "ElementaryTypeName",
|
|
4707
4707
|
"src": "11968:7:46",
|
|
@@ -4715,12 +4715,12 @@
|
|
|
4715
4715
|
},
|
|
4716
4716
|
{
|
|
4717
4717
|
"constant": false,
|
|
4718
|
-
"id":
|
|
4718
|
+
"id": 19402,
|
|
4719
4719
|
"mutability": "mutable",
|
|
4720
4720
|
"name": "amount",
|
|
4721
4721
|
"nameLocation": "12001:6:46",
|
|
4722
4722
|
"nodeType": "VariableDeclaration",
|
|
4723
|
-
"scope":
|
|
4723
|
+
"scope": 19405,
|
|
4724
4724
|
"src": "11993:14:46",
|
|
4725
4725
|
"stateVariable": false,
|
|
4726
4726
|
"storageLocation": "default",
|
|
@@ -4729,7 +4729,7 @@
|
|
|
4729
4729
|
"typeString": "uint256"
|
|
4730
4730
|
},
|
|
4731
4731
|
"typeName": {
|
|
4732
|
-
"id":
|
|
4732
|
+
"id": 19401,
|
|
4733
4733
|
"name": "uint256",
|
|
4734
4734
|
"nodeType": "ElementaryTypeName",
|
|
4735
4735
|
"src": "11993:7:46",
|
|
@@ -4744,12 +4744,12 @@
|
|
|
4744
4744
|
"src": "11933:79:46"
|
|
4745
4745
|
},
|
|
4746
4746
|
"returnParameters": {
|
|
4747
|
-
"id":
|
|
4747
|
+
"id": 19404,
|
|
4748
4748
|
"nodeType": "ParameterList",
|
|
4749
4749
|
"parameters": [],
|
|
4750
4750
|
"src": "12021:0:46"
|
|
4751
4751
|
},
|
|
4752
|
-
"scope":
|
|
4752
|
+
"scope": 19492,
|
|
4753
4753
|
"src": "11910:112:46",
|
|
4754
4754
|
"stateMutability": "nonpayable",
|
|
4755
4755
|
"virtual": false,
|
|
@@ -4757,13 +4757,13 @@
|
|
|
4757
4757
|
},
|
|
4758
4758
|
{
|
|
4759
4759
|
"documentation": {
|
|
4760
|
-
"id":
|
|
4760
|
+
"id": 19406,
|
|
4761
4761
|
"nodeType": "StructuredDocumentation",
|
|
4762
4762
|
"src": "12223:87:46",
|
|
4763
4763
|
"text": " @dev Transfer all available balance from `msg.sender` to `recipient`"
|
|
4764
4764
|
},
|
|
4765
4765
|
"functionSelector": "a3a7e7f3",
|
|
4766
|
-
"id":
|
|
4766
|
+
"id": 19411,
|
|
4767
4767
|
"implemented": false,
|
|
4768
4768
|
"kind": "function",
|
|
4769
4769
|
"modifiers": [],
|
|
@@ -4771,17 +4771,17 @@
|
|
|
4771
4771
|
"nameLocation": "12324:11:46",
|
|
4772
4772
|
"nodeType": "FunctionDefinition",
|
|
4773
4773
|
"parameters": {
|
|
4774
|
-
"id":
|
|
4774
|
+
"id": 19409,
|
|
4775
4775
|
"nodeType": "ParameterList",
|
|
4776
4776
|
"parameters": [
|
|
4777
4777
|
{
|
|
4778
4778
|
"constant": false,
|
|
4779
|
-
"id":
|
|
4779
|
+
"id": 19408,
|
|
4780
4780
|
"mutability": "mutable",
|
|
4781
4781
|
"name": "recipient",
|
|
4782
4782
|
"nameLocation": "12344:9:46",
|
|
4783
4783
|
"nodeType": "VariableDeclaration",
|
|
4784
|
-
"scope":
|
|
4784
|
+
"scope": 19411,
|
|
4785
4785
|
"src": "12336:17:46",
|
|
4786
4786
|
"stateVariable": false,
|
|
4787
4787
|
"storageLocation": "default",
|
|
@@ -4790,7 +4790,7 @@
|
|
|
4790
4790
|
"typeString": "address"
|
|
4791
4791
|
},
|
|
4792
4792
|
"typeName": {
|
|
4793
|
-
"id":
|
|
4793
|
+
"id": 19407,
|
|
4794
4794
|
"name": "address",
|
|
4795
4795
|
"nodeType": "ElementaryTypeName",
|
|
4796
4796
|
"src": "12336:7:46",
|
|
@@ -4806,12 +4806,12 @@
|
|
|
4806
4806
|
"src": "12335:19:46"
|
|
4807
4807
|
},
|
|
4808
4808
|
"returnParameters": {
|
|
4809
|
-
"id":
|
|
4809
|
+
"id": 19410,
|
|
4810
4810
|
"nodeType": "ParameterList",
|
|
4811
4811
|
"parameters": [],
|
|
4812
4812
|
"src": "12363:0:46"
|
|
4813
4813
|
},
|
|
4814
|
-
"scope":
|
|
4814
|
+
"scope": 19492,
|
|
4815
4815
|
"src": "12315:49:46",
|
|
4816
4816
|
"stateMutability": "nonpayable",
|
|
4817
4817
|
"virtual": false,
|
|
@@ -4819,13 +4819,13 @@
|
|
|
4819
4819
|
},
|
|
4820
4820
|
{
|
|
4821
4821
|
"documentation": {
|
|
4822
|
-
"id":
|
|
4822
|
+
"id": 19412,
|
|
4823
4823
|
"nodeType": "StructuredDocumentation",
|
|
4824
4824
|
"src": "12553:110:46",
|
|
4825
4825
|
"text": " @dev Return the underlying token contract\n @return tokenAddr Underlying token address"
|
|
4826
4826
|
},
|
|
4827
4827
|
"functionSelector": "ee719bc8",
|
|
4828
|
-
"id":
|
|
4828
|
+
"id": 19417,
|
|
4829
4829
|
"implemented": false,
|
|
4830
4830
|
"kind": "function",
|
|
4831
4831
|
"modifiers": [],
|
|
@@ -4833,23 +4833,23 @@
|
|
|
4833
4833
|
"nameLocation": "12677:18:46",
|
|
4834
4834
|
"nodeType": "FunctionDefinition",
|
|
4835
4835
|
"parameters": {
|
|
4836
|
-
"id":
|
|
4836
|
+
"id": 19413,
|
|
4837
4837
|
"nodeType": "ParameterList",
|
|
4838
4838
|
"parameters": [],
|
|
4839
4839
|
"src": "12695:2:46"
|
|
4840
4840
|
},
|
|
4841
4841
|
"returnParameters": {
|
|
4842
|
-
"id":
|
|
4842
|
+
"id": 19416,
|
|
4843
4843
|
"nodeType": "ParameterList",
|
|
4844
4844
|
"parameters": [
|
|
4845
4845
|
{
|
|
4846
4846
|
"constant": false,
|
|
4847
|
-
"id":
|
|
4847
|
+
"id": 19415,
|
|
4848
4848
|
"mutability": "mutable",
|
|
4849
4849
|
"name": "tokenAddr",
|
|
4850
4850
|
"nameLocation": "12728:9:46",
|
|
4851
4851
|
"nodeType": "VariableDeclaration",
|
|
4852
|
-
"scope":
|
|
4852
|
+
"scope": 19417,
|
|
4853
4853
|
"src": "12720:17:46",
|
|
4854
4854
|
"stateVariable": false,
|
|
4855
4855
|
"storageLocation": "default",
|
|
@@ -4858,7 +4858,7 @@
|
|
|
4858
4858
|
"typeString": "address"
|
|
4859
4859
|
},
|
|
4860
4860
|
"typeName": {
|
|
4861
|
-
"id":
|
|
4861
|
+
"id": 19414,
|
|
4862
4862
|
"name": "address",
|
|
4863
4863
|
"nodeType": "ElementaryTypeName",
|
|
4864
4864
|
"src": "12720:7:46",
|
|
@@ -4873,7 +4873,7 @@
|
|
|
4873
4873
|
],
|
|
4874
4874
|
"src": "12719:19:46"
|
|
4875
4875
|
},
|
|
4876
|
-
"scope":
|
|
4876
|
+
"scope": 19492,
|
|
4877
4877
|
"src": "12668:71:46",
|
|
4878
4878
|
"stateMutability": "view",
|
|
4879
4879
|
"virtual": false,
|
|
@@ -4881,13 +4881,13 @@
|
|
|
4881
4881
|
},
|
|
4882
4882
|
{
|
|
4883
4883
|
"documentation": {
|
|
4884
|
-
"id":
|
|
4884
|
+
"id": 19418,
|
|
4885
4885
|
"nodeType": "StructuredDocumentation",
|
|
4886
4886
|
"src": "12745:262:46",
|
|
4887
4887
|
"text": " @dev Upgrade ERC20 to SuperToken.\n @param amount Number of tokens to be upgraded (in 18 decimals)\n @custom:note It will use `transferFrom` to get tokens. Before calling this\n function you should `approve` this contract"
|
|
4888
4888
|
},
|
|
4889
4889
|
"functionSelector": "45977d03",
|
|
4890
|
-
"id":
|
|
4890
|
+
"id": 19423,
|
|
4891
4891
|
"implemented": false,
|
|
4892
4892
|
"kind": "function",
|
|
4893
4893
|
"modifiers": [],
|
|
@@ -4895,17 +4895,17 @@
|
|
|
4895
4895
|
"nameLocation": "13021:7:46",
|
|
4896
4896
|
"nodeType": "FunctionDefinition",
|
|
4897
4897
|
"parameters": {
|
|
4898
|
-
"id":
|
|
4898
|
+
"id": 19421,
|
|
4899
4899
|
"nodeType": "ParameterList",
|
|
4900
4900
|
"parameters": [
|
|
4901
4901
|
{
|
|
4902
4902
|
"constant": false,
|
|
4903
|
-
"id":
|
|
4903
|
+
"id": 19420,
|
|
4904
4904
|
"mutability": "mutable",
|
|
4905
4905
|
"name": "amount",
|
|
4906
4906
|
"nameLocation": "13037:6:46",
|
|
4907
4907
|
"nodeType": "VariableDeclaration",
|
|
4908
|
-
"scope":
|
|
4908
|
+
"scope": 19423,
|
|
4909
4909
|
"src": "13029:14:46",
|
|
4910
4910
|
"stateVariable": false,
|
|
4911
4911
|
"storageLocation": "default",
|
|
@@ -4914,7 +4914,7 @@
|
|
|
4914
4914
|
"typeString": "uint256"
|
|
4915
4915
|
},
|
|
4916
4916
|
"typeName": {
|
|
4917
|
-
"id":
|
|
4917
|
+
"id": 19419,
|
|
4918
4918
|
"name": "uint256",
|
|
4919
4919
|
"nodeType": "ElementaryTypeName",
|
|
4920
4920
|
"src": "13029:7:46",
|
|
@@ -4929,12 +4929,12 @@
|
|
|
4929
4929
|
"src": "13028:16:46"
|
|
4930
4930
|
},
|
|
4931
4931
|
"returnParameters": {
|
|
4932
|
-
"id":
|
|
4932
|
+
"id": 19422,
|
|
4933
4933
|
"nodeType": "ParameterList",
|
|
4934
4934
|
"parameters": [],
|
|
4935
4935
|
"src": "13053:0:46"
|
|
4936
4936
|
},
|
|
4937
|
-
"scope":
|
|
4937
|
+
"scope": 19492,
|
|
4938
4938
|
"src": "13012:42:46",
|
|
4939
4939
|
"stateMutability": "nonpayable",
|
|
4940
4940
|
"virtual": false,
|
|
@@ -4942,13 +4942,13 @@
|
|
|
4942
4942
|
},
|
|
4943
4943
|
{
|
|
4944
4944
|
"documentation": {
|
|
4945
|
-
"id":
|
|
4945
|
+
"id": 19424,
|
|
4946
4946
|
"nodeType": "StructuredDocumentation",
|
|
4947
4947
|
"src": "13060:405:46",
|
|
4948
4948
|
"text": " @dev Upgrade ERC20 to SuperToken and transfer immediately\n @param to The account to received upgraded tokens\n @param amount Number of tokens to be upgraded (in 18 decimals)\n @param data User data for the TokensRecipient callback\n @custom:note It will use `transferFrom` to get tokens. Before calling this\n function you should `approve` this contract"
|
|
4949
4949
|
},
|
|
4950
4950
|
"functionSelector": "5b9d09cc",
|
|
4951
|
-
"id":
|
|
4951
|
+
"id": 19433,
|
|
4952
4952
|
"implemented": false,
|
|
4953
4953
|
"kind": "function",
|
|
4954
4954
|
"modifiers": [],
|
|
@@ -4956,17 +4956,17 @@
|
|
|
4956
4956
|
"nameLocation": "13479:9:46",
|
|
4957
4957
|
"nodeType": "FunctionDefinition",
|
|
4958
4958
|
"parameters": {
|
|
4959
|
-
"id":
|
|
4959
|
+
"id": 19431,
|
|
4960
4960
|
"nodeType": "ParameterList",
|
|
4961
4961
|
"parameters": [
|
|
4962
4962
|
{
|
|
4963
4963
|
"constant": false,
|
|
4964
|
-
"id":
|
|
4964
|
+
"id": 19426,
|
|
4965
4965
|
"mutability": "mutable",
|
|
4966
4966
|
"name": "to",
|
|
4967
4967
|
"nameLocation": "13497:2:46",
|
|
4968
4968
|
"nodeType": "VariableDeclaration",
|
|
4969
|
-
"scope":
|
|
4969
|
+
"scope": 19433,
|
|
4970
4970
|
"src": "13489:10:46",
|
|
4971
4971
|
"stateVariable": false,
|
|
4972
4972
|
"storageLocation": "default",
|
|
@@ -4975,7 +4975,7 @@
|
|
|
4975
4975
|
"typeString": "address"
|
|
4976
4976
|
},
|
|
4977
4977
|
"typeName": {
|
|
4978
|
-
"id":
|
|
4978
|
+
"id": 19425,
|
|
4979
4979
|
"name": "address",
|
|
4980
4980
|
"nodeType": "ElementaryTypeName",
|
|
4981
4981
|
"src": "13489:7:46",
|
|
@@ -4989,12 +4989,12 @@
|
|
|
4989
4989
|
},
|
|
4990
4990
|
{
|
|
4991
4991
|
"constant": false,
|
|
4992
|
-
"id":
|
|
4992
|
+
"id": 19428,
|
|
4993
4993
|
"mutability": "mutable",
|
|
4994
4994
|
"name": "amount",
|
|
4995
4995
|
"nameLocation": "13509:6:46",
|
|
4996
4996
|
"nodeType": "VariableDeclaration",
|
|
4997
|
-
"scope":
|
|
4997
|
+
"scope": 19433,
|
|
4998
4998
|
"src": "13501:14:46",
|
|
4999
4999
|
"stateVariable": false,
|
|
5000
5000
|
"storageLocation": "default",
|
|
@@ -5003,7 +5003,7 @@
|
|
|
5003
5003
|
"typeString": "uint256"
|
|
5004
5004
|
},
|
|
5005
5005
|
"typeName": {
|
|
5006
|
-
"id":
|
|
5006
|
+
"id": 19427,
|
|
5007
5007
|
"name": "uint256",
|
|
5008
5008
|
"nodeType": "ElementaryTypeName",
|
|
5009
5009
|
"src": "13501:7:46",
|
|
@@ -5016,12 +5016,12 @@
|
|
|
5016
5016
|
},
|
|
5017
5017
|
{
|
|
5018
5018
|
"constant": false,
|
|
5019
|
-
"id":
|
|
5019
|
+
"id": 19430,
|
|
5020
5020
|
"mutability": "mutable",
|
|
5021
5021
|
"name": "data",
|
|
5022
5022
|
"nameLocation": "13532:4:46",
|
|
5023
5023
|
"nodeType": "VariableDeclaration",
|
|
5024
|
-
"scope":
|
|
5024
|
+
"scope": 19433,
|
|
5025
5025
|
"src": "13517:19:46",
|
|
5026
5026
|
"stateVariable": false,
|
|
5027
5027
|
"storageLocation": "calldata",
|
|
@@ -5030,7 +5030,7 @@
|
|
|
5030
5030
|
"typeString": "bytes"
|
|
5031
5031
|
},
|
|
5032
5032
|
"typeName": {
|
|
5033
|
-
"id":
|
|
5033
|
+
"id": 19429,
|
|
5034
5034
|
"name": "bytes",
|
|
5035
5035
|
"nodeType": "ElementaryTypeName",
|
|
5036
5036
|
"src": "13517:5:46",
|
|
@@ -5045,12 +5045,12 @@
|
|
|
5045
5045
|
"src": "13488:49:46"
|
|
5046
5046
|
},
|
|
5047
5047
|
"returnParameters": {
|
|
5048
|
-
"id":
|
|
5048
|
+
"id": 19432,
|
|
5049
5049
|
"nodeType": "ParameterList",
|
|
5050
5050
|
"parameters": [],
|
|
5051
5051
|
"src": "13546:0:46"
|
|
5052
5052
|
},
|
|
5053
|
-
"scope":
|
|
5053
|
+
"scope": 19492,
|
|
5054
5054
|
"src": "13470:77:46",
|
|
5055
5055
|
"stateMutability": "nonpayable",
|
|
5056
5056
|
"virtual": false,
|
|
@@ -5059,29 +5059,29 @@
|
|
|
5059
5059
|
{
|
|
5060
5060
|
"anonymous": false,
|
|
5061
5061
|
"documentation": {
|
|
5062
|
-
"id":
|
|
5062
|
+
"id": 19434,
|
|
5063
5063
|
"nodeType": "StructuredDocumentation",
|
|
5064
5064
|
"src": "13553:166:46",
|
|
5065
5065
|
"text": " @dev Token upgrade event\n @param account Account where tokens are upgraded to\n @param amount Amount of tokens upgraded (in 18 decimals)"
|
|
5066
5066
|
},
|
|
5067
5067
|
"eventSelector": "25ca84076773b0455db53621c459ddc84fe40840e4932a62706a032566f399df",
|
|
5068
|
-
"id":
|
|
5068
|
+
"id": 19440,
|
|
5069
5069
|
"name": "TokenUpgraded",
|
|
5070
5070
|
"nameLocation": "13730:13:46",
|
|
5071
5071
|
"nodeType": "EventDefinition",
|
|
5072
5072
|
"parameters": {
|
|
5073
|
-
"id":
|
|
5073
|
+
"id": 19439,
|
|
5074
5074
|
"nodeType": "ParameterList",
|
|
5075
5075
|
"parameters": [
|
|
5076
5076
|
{
|
|
5077
5077
|
"constant": false,
|
|
5078
|
-
"id":
|
|
5078
|
+
"id": 19436,
|
|
5079
5079
|
"indexed": true,
|
|
5080
5080
|
"mutability": "mutable",
|
|
5081
5081
|
"name": "account",
|
|
5082
5082
|
"nameLocation": "13769:7:46",
|
|
5083
5083
|
"nodeType": "VariableDeclaration",
|
|
5084
|
-
"scope":
|
|
5084
|
+
"scope": 19440,
|
|
5085
5085
|
"src": "13753:23:46",
|
|
5086
5086
|
"stateVariable": false,
|
|
5087
5087
|
"storageLocation": "default",
|
|
@@ -5090,7 +5090,7 @@
|
|
|
5090
5090
|
"typeString": "address"
|
|
5091
5091
|
},
|
|
5092
5092
|
"typeName": {
|
|
5093
|
-
"id":
|
|
5093
|
+
"id": 19435,
|
|
5094
5094
|
"name": "address",
|
|
5095
5095
|
"nodeType": "ElementaryTypeName",
|
|
5096
5096
|
"src": "13753:7:46",
|
|
@@ -5104,13 +5104,13 @@
|
|
|
5104
5104
|
},
|
|
5105
5105
|
{
|
|
5106
5106
|
"constant": false,
|
|
5107
|
-
"id":
|
|
5107
|
+
"id": 19438,
|
|
5108
5108
|
"indexed": false,
|
|
5109
5109
|
"mutability": "mutable",
|
|
5110
5110
|
"name": "amount",
|
|
5111
5111
|
"nameLocation": "13794:6:46",
|
|
5112
5112
|
"nodeType": "VariableDeclaration",
|
|
5113
|
-
"scope":
|
|
5113
|
+
"scope": 19440,
|
|
5114
5114
|
"src": "13786:14:46",
|
|
5115
5115
|
"stateVariable": false,
|
|
5116
5116
|
"storageLocation": "default",
|
|
@@ -5119,7 +5119,7 @@
|
|
|
5119
5119
|
"typeString": "uint256"
|
|
5120
5120
|
},
|
|
5121
5121
|
"typeName": {
|
|
5122
|
-
"id":
|
|
5122
|
+
"id": 19437,
|
|
5123
5123
|
"name": "uint256",
|
|
5124
5124
|
"nodeType": "ElementaryTypeName",
|
|
5125
5125
|
"src": "13786:7:46",
|
|
@@ -5137,13 +5137,13 @@
|
|
|
5137
5137
|
},
|
|
5138
5138
|
{
|
|
5139
5139
|
"documentation": {
|
|
5140
|
-
"id":
|
|
5140
|
+
"id": 19441,
|
|
5141
5141
|
"nodeType": "StructuredDocumentation",
|
|
5142
5142
|
"src": "13813:158:46",
|
|
5143
5143
|
"text": " @dev Downgrade SuperToken to ERC20.\n @dev It will call transfer to send tokens\n @param amount Number of tokens to be downgraded"
|
|
5144
5144
|
},
|
|
5145
5145
|
"functionSelector": "11bcc81e",
|
|
5146
|
-
"id":
|
|
5146
|
+
"id": 19446,
|
|
5147
5147
|
"implemented": false,
|
|
5148
5148
|
"kind": "function",
|
|
5149
5149
|
"modifiers": [],
|
|
@@ -5151,17 +5151,17 @@
|
|
|
5151
5151
|
"nameLocation": "13985:9:46",
|
|
5152
5152
|
"nodeType": "FunctionDefinition",
|
|
5153
5153
|
"parameters": {
|
|
5154
|
-
"id":
|
|
5154
|
+
"id": 19444,
|
|
5155
5155
|
"nodeType": "ParameterList",
|
|
5156
5156
|
"parameters": [
|
|
5157
5157
|
{
|
|
5158
5158
|
"constant": false,
|
|
5159
|
-
"id":
|
|
5159
|
+
"id": 19443,
|
|
5160
5160
|
"mutability": "mutable",
|
|
5161
5161
|
"name": "amount",
|
|
5162
5162
|
"nameLocation": "14003:6:46",
|
|
5163
5163
|
"nodeType": "VariableDeclaration",
|
|
5164
|
-
"scope":
|
|
5164
|
+
"scope": 19446,
|
|
5165
5165
|
"src": "13995:14:46",
|
|
5166
5166
|
"stateVariable": false,
|
|
5167
5167
|
"storageLocation": "default",
|
|
@@ -5170,7 +5170,7 @@
|
|
|
5170
5170
|
"typeString": "uint256"
|
|
5171
5171
|
},
|
|
5172
5172
|
"typeName": {
|
|
5173
|
-
"id":
|
|
5173
|
+
"id": 19442,
|
|
5174
5174
|
"name": "uint256",
|
|
5175
5175
|
"nodeType": "ElementaryTypeName",
|
|
5176
5176
|
"src": "13995:7:46",
|
|
@@ -5185,12 +5185,12 @@
|
|
|
5185
5185
|
"src": "13994:16:46"
|
|
5186
5186
|
},
|
|
5187
5187
|
"returnParameters": {
|
|
5188
|
-
"id":
|
|
5188
|
+
"id": 19445,
|
|
5189
5189
|
"nodeType": "ParameterList",
|
|
5190
5190
|
"parameters": [],
|
|
5191
5191
|
"src": "14019:0:46"
|
|
5192
5192
|
},
|
|
5193
|
-
"scope":
|
|
5193
|
+
"scope": 19492,
|
|
5194
5194
|
"src": "13976:44:46",
|
|
5195
5195
|
"stateMutability": "nonpayable",
|
|
5196
5196
|
"virtual": false,
|
|
@@ -5199,29 +5199,29 @@
|
|
|
5199
5199
|
{
|
|
5200
5200
|
"anonymous": false,
|
|
5201
5201
|
"documentation": {
|
|
5202
|
-
"id":
|
|
5202
|
+
"id": 19447,
|
|
5203
5203
|
"nodeType": "StructuredDocumentation",
|
|
5204
5204
|
"src": "14026:150:46",
|
|
5205
5205
|
"text": " @dev Token downgrade event\n @param account Account whose tokens are upgraded\n @param amount Amount of tokens downgraded"
|
|
5206
5206
|
},
|
|
5207
5207
|
"eventSelector": "3bc27981aebbb57f9247dc00fde9d6cd91e4b230083fec3238fedbcba1f9ab3d",
|
|
5208
|
-
"id":
|
|
5208
|
+
"id": 19453,
|
|
5209
5209
|
"name": "TokenDowngraded",
|
|
5210
5210
|
"nameLocation": "14187:15:46",
|
|
5211
5211
|
"nodeType": "EventDefinition",
|
|
5212
5212
|
"parameters": {
|
|
5213
|
-
"id":
|
|
5213
|
+
"id": 19452,
|
|
5214
5214
|
"nodeType": "ParameterList",
|
|
5215
5215
|
"parameters": [
|
|
5216
5216
|
{
|
|
5217
5217
|
"constant": false,
|
|
5218
|
-
"id":
|
|
5218
|
+
"id": 19449,
|
|
5219
5219
|
"indexed": true,
|
|
5220
5220
|
"mutability": "mutable",
|
|
5221
5221
|
"name": "account",
|
|
5222
5222
|
"nameLocation": "14228:7:46",
|
|
5223
5223
|
"nodeType": "VariableDeclaration",
|
|
5224
|
-
"scope":
|
|
5224
|
+
"scope": 19453,
|
|
5225
5225
|
"src": "14212:23:46",
|
|
5226
5226
|
"stateVariable": false,
|
|
5227
5227
|
"storageLocation": "default",
|
|
@@ -5230,7 +5230,7 @@
|
|
|
5230
5230
|
"typeString": "address"
|
|
5231
5231
|
},
|
|
5232
5232
|
"typeName": {
|
|
5233
|
-
"id":
|
|
5233
|
+
"id": 19448,
|
|
5234
5234
|
"name": "address",
|
|
5235
5235
|
"nodeType": "ElementaryTypeName",
|
|
5236
5236
|
"src": "14212:7:46",
|
|
@@ -5244,13 +5244,13 @@
|
|
|
5244
5244
|
},
|
|
5245
5245
|
{
|
|
5246
5246
|
"constant": false,
|
|
5247
|
-
"id":
|
|
5247
|
+
"id": 19451,
|
|
5248
5248
|
"indexed": false,
|
|
5249
5249
|
"mutability": "mutable",
|
|
5250
5250
|
"name": "amount",
|
|
5251
5251
|
"nameLocation": "14253:6:46",
|
|
5252
5252
|
"nodeType": "VariableDeclaration",
|
|
5253
|
-
"scope":
|
|
5253
|
+
"scope": 19453,
|
|
5254
5254
|
"src": "14245:14:46",
|
|
5255
5255
|
"stateVariable": false,
|
|
5256
5256
|
"storageLocation": "default",
|
|
@@ -5259,7 +5259,7 @@
|
|
|
5259
5259
|
"typeString": "uint256"
|
|
5260
5260
|
},
|
|
5261
5261
|
"typeName": {
|
|
5262
|
-
"id":
|
|
5262
|
+
"id": 19450,
|
|
5263
5263
|
"name": "uint256",
|
|
5264
5264
|
"nodeType": "ElementaryTypeName",
|
|
5265
5265
|
"src": "14245:7:46",
|
|
@@ -5277,13 +5277,13 @@
|
|
|
5277
5277
|
},
|
|
5278
5278
|
{
|
|
5279
5279
|
"documentation": {
|
|
5280
|
-
"id":
|
|
5280
|
+
"id": 19454,
|
|
5281
5281
|
"nodeType": "StructuredDocumentation",
|
|
5282
5282
|
"src": "14455:277:46",
|
|
5283
5283
|
"text": " @dev Perform ERC20 approve by host contract.\n @param account The account owner to be approved.\n @param spender The spender of account owner's funds.\n @param amount Number of tokens to be approved.\n @custom:modifiers \n - onlyHost"
|
|
5284
5284
|
},
|
|
5285
5285
|
"functionSelector": "62aa5287",
|
|
5286
|
-
"id":
|
|
5286
|
+
"id": 19463,
|
|
5287
5287
|
"implemented": false,
|
|
5288
5288
|
"kind": "function",
|
|
5289
5289
|
"modifiers": [],
|
|
@@ -5291,17 +5291,17 @@
|
|
|
5291
5291
|
"nameLocation": "14746:16:46",
|
|
5292
5292
|
"nodeType": "FunctionDefinition",
|
|
5293
5293
|
"parameters": {
|
|
5294
|
-
"id":
|
|
5294
|
+
"id": 19461,
|
|
5295
5295
|
"nodeType": "ParameterList",
|
|
5296
5296
|
"parameters": [
|
|
5297
5297
|
{
|
|
5298
5298
|
"constant": false,
|
|
5299
|
-
"id":
|
|
5299
|
+
"id": 19456,
|
|
5300
5300
|
"mutability": "mutable",
|
|
5301
5301
|
"name": "account",
|
|
5302
5302
|
"nameLocation": "14780:7:46",
|
|
5303
5303
|
"nodeType": "VariableDeclaration",
|
|
5304
|
-
"scope":
|
|
5304
|
+
"scope": 19463,
|
|
5305
5305
|
"src": "14772:15:46",
|
|
5306
5306
|
"stateVariable": false,
|
|
5307
5307
|
"storageLocation": "default",
|
|
@@ -5310,7 +5310,7 @@
|
|
|
5310
5310
|
"typeString": "address"
|
|
5311
5311
|
},
|
|
5312
5312
|
"typeName": {
|
|
5313
|
-
"id":
|
|
5313
|
+
"id": 19455,
|
|
5314
5314
|
"name": "address",
|
|
5315
5315
|
"nodeType": "ElementaryTypeName",
|
|
5316
5316
|
"src": "14772:7:46",
|
|
@@ -5324,12 +5324,12 @@
|
|
|
5324
5324
|
},
|
|
5325
5325
|
{
|
|
5326
5326
|
"constant": false,
|
|
5327
|
-
"id":
|
|
5327
|
+
"id": 19458,
|
|
5328
5328
|
"mutability": "mutable",
|
|
5329
5329
|
"name": "spender",
|
|
5330
5330
|
"nameLocation": "14805:7:46",
|
|
5331
5331
|
"nodeType": "VariableDeclaration",
|
|
5332
|
-
"scope":
|
|
5332
|
+
"scope": 19463,
|
|
5333
5333
|
"src": "14797:15:46",
|
|
5334
5334
|
"stateVariable": false,
|
|
5335
5335
|
"storageLocation": "default",
|
|
@@ -5338,7 +5338,7 @@
|
|
|
5338
5338
|
"typeString": "address"
|
|
5339
5339
|
},
|
|
5340
5340
|
"typeName": {
|
|
5341
|
-
"id":
|
|
5341
|
+
"id": 19457,
|
|
5342
5342
|
"name": "address",
|
|
5343
5343
|
"nodeType": "ElementaryTypeName",
|
|
5344
5344
|
"src": "14797:7:46",
|
|
@@ -5352,12 +5352,12 @@
|
|
|
5352
5352
|
},
|
|
5353
5353
|
{
|
|
5354
5354
|
"constant": false,
|
|
5355
|
-
"id":
|
|
5355
|
+
"id": 19460,
|
|
5356
5356
|
"mutability": "mutable",
|
|
5357
5357
|
"name": "amount",
|
|
5358
5358
|
"nameLocation": "14830:6:46",
|
|
5359
5359
|
"nodeType": "VariableDeclaration",
|
|
5360
|
-
"scope":
|
|
5360
|
+
"scope": 19463,
|
|
5361
5361
|
"src": "14822:14:46",
|
|
5362
5362
|
"stateVariable": false,
|
|
5363
5363
|
"storageLocation": "default",
|
|
@@ -5366,7 +5366,7 @@
|
|
|
5366
5366
|
"typeString": "uint256"
|
|
5367
5367
|
},
|
|
5368
5368
|
"typeName": {
|
|
5369
|
-
"id":
|
|
5369
|
+
"id": 19459,
|
|
5370
5370
|
"name": "uint256",
|
|
5371
5371
|
"nodeType": "ElementaryTypeName",
|
|
5372
5372
|
"src": "14822:7:46",
|
|
@@ -5381,12 +5381,12 @@
|
|
|
5381
5381
|
"src": "14762:80:46"
|
|
5382
5382
|
},
|
|
5383
5383
|
"returnParameters": {
|
|
5384
|
-
"id":
|
|
5384
|
+
"id": 19462,
|
|
5385
5385
|
"nodeType": "ParameterList",
|
|
5386
5386
|
"parameters": [],
|
|
5387
5387
|
"src": "14851:0:46"
|
|
5388
5388
|
},
|
|
5389
|
-
"scope":
|
|
5389
|
+
"scope": 19492,
|
|
5390
5390
|
"src": "14737:115:46",
|
|
5391
5391
|
"stateMutability": "nonpayable",
|
|
5392
5392
|
"virtual": false,
|
|
@@ -5394,13 +5394,13 @@
|
|
|
5394
5394
|
},
|
|
5395
5395
|
{
|
|
5396
5396
|
"documentation": {
|
|
5397
|
-
"id":
|
|
5397
|
+
"id": 19464,
|
|
5398
5398
|
"nodeType": "StructuredDocumentation",
|
|
5399
5399
|
"src": "14858:344:46",
|
|
5400
5400
|
"text": " @dev Perform ERC20 transfer from by host contract.\n @param account The account to spend sender's funds.\n @param spender The account where the funds is sent from.\n @param recipient The recipient of thefunds.\n @param amount Number of tokens to be transferred.\n @custom:modifiers \n - onlyHost"
|
|
5401
5401
|
},
|
|
5402
5402
|
"functionSelector": "16d055d6",
|
|
5403
|
-
"id":
|
|
5403
|
+
"id": 19475,
|
|
5404
5404
|
"implemented": false,
|
|
5405
5405
|
"kind": "function",
|
|
5406
5406
|
"modifiers": [],
|
|
@@ -5408,17 +5408,17 @@
|
|
|
5408
5408
|
"nameLocation": "15216:21:46",
|
|
5409
5409
|
"nodeType": "FunctionDefinition",
|
|
5410
5410
|
"parameters": {
|
|
5411
|
-
"id":
|
|
5411
|
+
"id": 19473,
|
|
5412
5412
|
"nodeType": "ParameterList",
|
|
5413
5413
|
"parameters": [
|
|
5414
5414
|
{
|
|
5415
5415
|
"constant": false,
|
|
5416
|
-
"id":
|
|
5416
|
+
"id": 19466,
|
|
5417
5417
|
"mutability": "mutable",
|
|
5418
5418
|
"name": "account",
|
|
5419
5419
|
"nameLocation": "15255:7:46",
|
|
5420
5420
|
"nodeType": "VariableDeclaration",
|
|
5421
|
-
"scope":
|
|
5421
|
+
"scope": 19475,
|
|
5422
5422
|
"src": "15247:15:46",
|
|
5423
5423
|
"stateVariable": false,
|
|
5424
5424
|
"storageLocation": "default",
|
|
@@ -5427,7 +5427,7 @@
|
|
|
5427
5427
|
"typeString": "address"
|
|
5428
5428
|
},
|
|
5429
5429
|
"typeName": {
|
|
5430
|
-
"id":
|
|
5430
|
+
"id": 19465,
|
|
5431
5431
|
"name": "address",
|
|
5432
5432
|
"nodeType": "ElementaryTypeName",
|
|
5433
5433
|
"src": "15247:7:46",
|
|
@@ -5441,12 +5441,12 @@
|
|
|
5441
5441
|
},
|
|
5442
5442
|
{
|
|
5443
5443
|
"constant": false,
|
|
5444
|
-
"id":
|
|
5444
|
+
"id": 19468,
|
|
5445
5445
|
"mutability": "mutable",
|
|
5446
5446
|
"name": "spender",
|
|
5447
5447
|
"nameLocation": "15280:7:46",
|
|
5448
5448
|
"nodeType": "VariableDeclaration",
|
|
5449
|
-
"scope":
|
|
5449
|
+
"scope": 19475,
|
|
5450
5450
|
"src": "15272:15:46",
|
|
5451
5451
|
"stateVariable": false,
|
|
5452
5452
|
"storageLocation": "default",
|
|
@@ -5455,7 +5455,7 @@
|
|
|
5455
5455
|
"typeString": "address"
|
|
5456
5456
|
},
|
|
5457
5457
|
"typeName": {
|
|
5458
|
-
"id":
|
|
5458
|
+
"id": 19467,
|
|
5459
5459
|
"name": "address",
|
|
5460
5460
|
"nodeType": "ElementaryTypeName",
|
|
5461
5461
|
"src": "15272:7:46",
|
|
@@ -5469,12 +5469,12 @@
|
|
|
5469
5469
|
},
|
|
5470
5470
|
{
|
|
5471
5471
|
"constant": false,
|
|
5472
|
-
"id":
|
|
5472
|
+
"id": 19470,
|
|
5473
5473
|
"mutability": "mutable",
|
|
5474
5474
|
"name": "recipient",
|
|
5475
5475
|
"nameLocation": "15305:9:46",
|
|
5476
5476
|
"nodeType": "VariableDeclaration",
|
|
5477
|
-
"scope":
|
|
5477
|
+
"scope": 19475,
|
|
5478
5478
|
"src": "15297:17:46",
|
|
5479
5479
|
"stateVariable": false,
|
|
5480
5480
|
"storageLocation": "default",
|
|
@@ -5483,7 +5483,7 @@
|
|
|
5483
5483
|
"typeString": "address"
|
|
5484
5484
|
},
|
|
5485
5485
|
"typeName": {
|
|
5486
|
-
"id":
|
|
5486
|
+
"id": 19469,
|
|
5487
5487
|
"name": "address",
|
|
5488
5488
|
"nodeType": "ElementaryTypeName",
|
|
5489
5489
|
"src": "15297:7:46",
|
|
@@ -5497,12 +5497,12 @@
|
|
|
5497
5497
|
},
|
|
5498
5498
|
{
|
|
5499
5499
|
"constant": false,
|
|
5500
|
-
"id":
|
|
5500
|
+
"id": 19472,
|
|
5501
5501
|
"mutability": "mutable",
|
|
5502
5502
|
"name": "amount",
|
|
5503
5503
|
"nameLocation": "15332:6:46",
|
|
5504
5504
|
"nodeType": "VariableDeclaration",
|
|
5505
|
-
"scope":
|
|
5505
|
+
"scope": 19475,
|
|
5506
5506
|
"src": "15324:14:46",
|
|
5507
5507
|
"stateVariable": false,
|
|
5508
5508
|
"storageLocation": "default",
|
|
@@ -5511,7 +5511,7 @@
|
|
|
5511
5511
|
"typeString": "uint256"
|
|
5512
5512
|
},
|
|
5513
5513
|
"typeName": {
|
|
5514
|
-
"id":
|
|
5514
|
+
"id": 19471,
|
|
5515
5515
|
"name": "uint256",
|
|
5516
5516
|
"nodeType": "ElementaryTypeName",
|
|
5517
5517
|
"src": "15324:7:46",
|
|
@@ -5526,12 +5526,12 @@
|
|
|
5526
5526
|
"src": "15237:107:46"
|
|
5527
5527
|
},
|
|
5528
5528
|
"returnParameters": {
|
|
5529
|
-
"id":
|
|
5529
|
+
"id": 19474,
|
|
5530
5530
|
"nodeType": "ParameterList",
|
|
5531
5531
|
"parameters": [],
|
|
5532
5532
|
"src": "15353:0:46"
|
|
5533
5533
|
},
|
|
5534
|
-
"scope":
|
|
5534
|
+
"scope": 19492,
|
|
5535
5535
|
"src": "15207:147:46",
|
|
5536
5536
|
"stateMutability": "nonpayable",
|
|
5537
5537
|
"virtual": false,
|
|
@@ -5539,13 +5539,13 @@
|
|
|
5539
5539
|
},
|
|
5540
5540
|
{
|
|
5541
5541
|
"documentation": {
|
|
5542
|
-
"id":
|
|
5542
|
+
"id": 19476,
|
|
5543
5543
|
"nodeType": "StructuredDocumentation",
|
|
5544
5544
|
"src": "15360:233:46",
|
|
5545
5545
|
"text": " @dev Upgrade ERC20 to SuperToken by host contract.\n @param account The account to be changed.\n @param amount Number of tokens to be upgraded (in 18 decimals)\n @custom:modifiers \n - onlyHost"
|
|
5546
5546
|
},
|
|
5547
5547
|
"functionSelector": "ca789464",
|
|
5548
|
-
"id":
|
|
5548
|
+
"id": 19483,
|
|
5549
5549
|
"implemented": false,
|
|
5550
5550
|
"kind": "function",
|
|
5551
5551
|
"modifiers": [],
|
|
@@ -5553,17 +5553,17 @@
|
|
|
5553
5553
|
"nameLocation": "15607:16:46",
|
|
5554
5554
|
"nodeType": "FunctionDefinition",
|
|
5555
5555
|
"parameters": {
|
|
5556
|
-
"id":
|
|
5556
|
+
"id": 19481,
|
|
5557
5557
|
"nodeType": "ParameterList",
|
|
5558
5558
|
"parameters": [
|
|
5559
5559
|
{
|
|
5560
5560
|
"constant": false,
|
|
5561
|
-
"id":
|
|
5561
|
+
"id": 19478,
|
|
5562
5562
|
"mutability": "mutable",
|
|
5563
5563
|
"name": "account",
|
|
5564
5564
|
"nameLocation": "15632:7:46",
|
|
5565
5565
|
"nodeType": "VariableDeclaration",
|
|
5566
|
-
"scope":
|
|
5566
|
+
"scope": 19483,
|
|
5567
5567
|
"src": "15624:15:46",
|
|
5568
5568
|
"stateVariable": false,
|
|
5569
5569
|
"storageLocation": "default",
|
|
@@ -5572,7 +5572,7 @@
|
|
|
5572
5572
|
"typeString": "address"
|
|
5573
5573
|
},
|
|
5574
5574
|
"typeName": {
|
|
5575
|
-
"id":
|
|
5575
|
+
"id": 19477,
|
|
5576
5576
|
"name": "address",
|
|
5577
5577
|
"nodeType": "ElementaryTypeName",
|
|
5578
5578
|
"src": "15624:7:46",
|
|
@@ -5586,12 +5586,12 @@
|
|
|
5586
5586
|
},
|
|
5587
5587
|
{
|
|
5588
5588
|
"constant": false,
|
|
5589
|
-
"id":
|
|
5589
|
+
"id": 19480,
|
|
5590
5590
|
"mutability": "mutable",
|
|
5591
5591
|
"name": "amount",
|
|
5592
5592
|
"nameLocation": "15649:6:46",
|
|
5593
5593
|
"nodeType": "VariableDeclaration",
|
|
5594
|
-
"scope":
|
|
5594
|
+
"scope": 19483,
|
|
5595
5595
|
"src": "15641:14:46",
|
|
5596
5596
|
"stateVariable": false,
|
|
5597
5597
|
"storageLocation": "default",
|
|
@@ -5600,7 +5600,7 @@
|
|
|
5600
5600
|
"typeString": "uint256"
|
|
5601
5601
|
},
|
|
5602
5602
|
"typeName": {
|
|
5603
|
-
"id":
|
|
5603
|
+
"id": 19479,
|
|
5604
5604
|
"name": "uint256",
|
|
5605
5605
|
"nodeType": "ElementaryTypeName",
|
|
5606
5606
|
"src": "15641:7:46",
|
|
@@ -5615,12 +5615,12 @@
|
|
|
5615
5615
|
"src": "15623:33:46"
|
|
5616
5616
|
},
|
|
5617
5617
|
"returnParameters": {
|
|
5618
|
-
"id":
|
|
5618
|
+
"id": 19482,
|
|
5619
5619
|
"nodeType": "ParameterList",
|
|
5620
5620
|
"parameters": [],
|
|
5621
5621
|
"src": "15665:0:46"
|
|
5622
5622
|
},
|
|
5623
|
-
"scope":
|
|
5623
|
+
"scope": 19492,
|
|
5624
5624
|
"src": "15598:68:46",
|
|
5625
5625
|
"stateMutability": "nonpayable",
|
|
5626
5626
|
"virtual": false,
|
|
@@ -5628,13 +5628,13 @@
|
|
|
5628
5628
|
},
|
|
5629
5629
|
{
|
|
5630
5630
|
"documentation": {
|
|
5631
|
-
"id":
|
|
5631
|
+
"id": 19484,
|
|
5632
5632
|
"nodeType": "StructuredDocumentation",
|
|
5633
5633
|
"src": "15672:237:46",
|
|
5634
5634
|
"text": " @dev Downgrade ERC20 to SuperToken by host contract.\n @param account The account to be changed.\n @param amount Number of tokens to be downgraded (in 18 decimals)\n @custom:modifiers \n - onlyHost"
|
|
5635
5635
|
},
|
|
5636
5636
|
"functionSelector": "245887fc",
|
|
5637
|
-
"id":
|
|
5637
|
+
"id": 19491,
|
|
5638
5638
|
"implemented": false,
|
|
5639
5639
|
"kind": "function",
|
|
5640
5640
|
"modifiers": [],
|
|
@@ -5642,17 +5642,17 @@
|
|
|
5642
5642
|
"nameLocation": "15923:18:46",
|
|
5643
5643
|
"nodeType": "FunctionDefinition",
|
|
5644
5644
|
"parameters": {
|
|
5645
|
-
"id":
|
|
5645
|
+
"id": 19489,
|
|
5646
5646
|
"nodeType": "ParameterList",
|
|
5647
5647
|
"parameters": [
|
|
5648
5648
|
{
|
|
5649
5649
|
"constant": false,
|
|
5650
|
-
"id":
|
|
5650
|
+
"id": 19486,
|
|
5651
5651
|
"mutability": "mutable",
|
|
5652
5652
|
"name": "account",
|
|
5653
5653
|
"nameLocation": "15950:7:46",
|
|
5654
5654
|
"nodeType": "VariableDeclaration",
|
|
5655
|
-
"scope":
|
|
5655
|
+
"scope": 19491,
|
|
5656
5656
|
"src": "15942:15:46",
|
|
5657
5657
|
"stateVariable": false,
|
|
5658
5658
|
"storageLocation": "default",
|
|
@@ -5661,7 +5661,7 @@
|
|
|
5661
5661
|
"typeString": "address"
|
|
5662
5662
|
},
|
|
5663
5663
|
"typeName": {
|
|
5664
|
-
"id":
|
|
5664
|
+
"id": 19485,
|
|
5665
5665
|
"name": "address",
|
|
5666
5666
|
"nodeType": "ElementaryTypeName",
|
|
5667
5667
|
"src": "15942:7:46",
|
|
@@ -5675,12 +5675,12 @@
|
|
|
5675
5675
|
},
|
|
5676
5676
|
{
|
|
5677
5677
|
"constant": false,
|
|
5678
|
-
"id":
|
|
5678
|
+
"id": 19488,
|
|
5679
5679
|
"mutability": "mutable",
|
|
5680
5680
|
"name": "amount",
|
|
5681
5681
|
"nameLocation": "15967:6:46",
|
|
5682
5682
|
"nodeType": "VariableDeclaration",
|
|
5683
|
-
"scope":
|
|
5683
|
+
"scope": 19491,
|
|
5684
5684
|
"src": "15959:14:46",
|
|
5685
5685
|
"stateVariable": false,
|
|
5686
5686
|
"storageLocation": "default",
|
|
@@ -5689,7 +5689,7 @@
|
|
|
5689
5689
|
"typeString": "uint256"
|
|
5690
5690
|
},
|
|
5691
5691
|
"typeName": {
|
|
5692
|
-
"id":
|
|
5692
|
+
"id": 19487,
|
|
5693
5693
|
"name": "uint256",
|
|
5694
5694
|
"nodeType": "ElementaryTypeName",
|
|
5695
5695
|
"src": "15959:7:46",
|
|
@@ -5704,19 +5704,19 @@
|
|
|
5704
5704
|
"src": "15941:33:46"
|
|
5705
5705
|
},
|
|
5706
5706
|
"returnParameters": {
|
|
5707
|
-
"id":
|
|
5707
|
+
"id": 19490,
|
|
5708
5708
|
"nodeType": "ParameterList",
|
|
5709
5709
|
"parameters": [],
|
|
5710
5710
|
"src": "15983:0:46"
|
|
5711
5711
|
},
|
|
5712
|
-
"scope":
|
|
5712
|
+
"scope": 19492,
|
|
5713
5713
|
"src": "15914:70:46",
|
|
5714
5714
|
"stateMutability": "nonpayable",
|
|
5715
5715
|
"virtual": false,
|
|
5716
5716
|
"visibility": "external"
|
|
5717
5717
|
}
|
|
5718
5718
|
],
|
|
5719
|
-
"scope":
|
|
5719
|
+
"scope": 19493,
|
|
5720
5720
|
"src": "471:16043:46",
|
|
5721
5721
|
"usedErrors": []
|
|
5722
5722
|
}
|
|
@@ -5729,7 +5729,7 @@
|
|
|
5729
5729
|
},
|
|
5730
5730
|
"networks": {},
|
|
5731
5731
|
"schemaVersion": "3.4.8",
|
|
5732
|
-
"updatedAt": "2022-08-
|
|
5732
|
+
"updatedAt": "2022-08-23T08:53:53.354Z",
|
|
5733
5733
|
"devdoc": {
|
|
5734
5734
|
"author": "Superfluid",
|
|
5735
5735
|
"events": {
|