UNPKG

@etherisc/gif-interface

Version:

This repository holds the necessary interfaces and base contracts to interact with an existing GIF instance. The repository is not intended to be used on its own.

1,684 lines 138 kB
{ "abi": [ { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "riskpoolId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "fixedFee", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "fractionalFee", "type": "uint256" } ], "name": "LogTreasuryCapitalFeesSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "riskpoolId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "bundleId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "LogTreasuryCapitalProcessed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "from", "type": "address" }, { "indexed": false, "internalType": "address", "name": "riskpoolWalletAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "LogTreasuryCapitalTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "from", "type": "address" }, { "indexed": false, "internalType": "address", "name": "instanceWalletAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "LogTreasuryFeesTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "walletAddress", "type": "address" } ], "name": "LogTreasuryInstanceWalletSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "riskpoolId", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "LogTreasuryPayoutProcessed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "riskpoolWalletAddress", "type": "address" }, { "indexed": false, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "LogTreasuryPayoutTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "productId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "fixedFee", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "fractionalFee", "type": "uint256" } ], "name": "LogTreasuryPremiumFeesSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "LogTreasuryPremiumProcessed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "from", "type": "address" }, { "indexed": false, "internalType": "address", "name": "riskpoolWalletAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "LogTreasuryPremiumTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "productId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "riskpoolId", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "erc20Address", "type": "address" } ], "name": "LogTreasuryProductTokenSet", "type": "event" }, { "anonymous": false, "inputs": [], "name": "LogTreasuryResumed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "riskpoolId", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "walletAddress", "type": "address" } ], "name": "LogTreasuryRiskpoolWalletSet", "type": "event" }, { "anonymous": false, "inputs": [], "name": "LogTreasurySuspended", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "riskpoolId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "bundleId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "LogTreasuryWithdrawalProcessed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "riskpoolWalletAddress", "type": "address" }, { "indexed": false, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "LogTreasuryWithdrawalTransferred", "type": "event" }, { "inputs": [ { "internalType": "uint256", "name": "componentId", "type": "uint256" }, { "internalType": "uint256", "name": "fixedFee", "type": "uint256" }, { "internalType": "uint256", "name": "fractionalFee", "type": "uint256" }, { "internalType": "bytes", "name": "feeCalculationData", "type": "bytes" } ], "name": "createFeeSpecification", "outputs": [ { "components": [ { "internalType": "uint256", "name": "componentId", "type": "uint256" }, { "internalType": "uint256", "name": "fixedFee", "type": "uint256" }, { "internalType": "uint256", "name": "fractionalFee", "type": "uint256" }, { "internalType": "bytes", "name": "feeCalculationData", "type": "bytes" }, { "internalType": "uint256", "name": "createdAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" } ], "internalType": "struct ITreasury.FeeSpecification", "name": "feeSpec", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "componentId", "type": "uint256" } ], "name": "getComponentToken", "outputs": [ { "internalType": "contract IERC20", "name": "token", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "componentId", "type": "uint256" } ], "name": "getFeeSpecification", "outputs": [ { "components": [ { "internalType": "uint256", "name": "componentId", "type": "uint256" }, { "internalType": "uint256", "name": "fixedFee", "type": "uint256" }, { "internalType": "uint256", "name": "fractionalFee", "type": "uint256" }, { "internalType": "bytes", "name": "feeCalculationData", "type": "bytes" }, { "internalType": "uint256", "name": "createdAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" } ], "internalType": "struct ITreasury.FeeSpecification", "name": "feeSpecification", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getFractionFullUnit", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getInstanceWallet", "outputs": [ { "internalType": "address", "name": "instanceWalletAddress", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "riskpoolId", "type": "uint256" } ], "name": "getRiskpoolWallet", "outputs": [ { "internalType": "address", "name": "riskpoolWalletAddress", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "bundleId", "type": "uint256" }, { "internalType": "uint256", "name": "capitalAmount", "type": "uint256" } ], "name": "processCapital", "outputs": [ { "internalType": "uint256", "name": "feeAmount", "type": "uint256" }, { "internalType": "uint256", "name": "netCapitalAmount", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "internalType": "uint256", "name": "payoutId", "type": "uint256" } ], "name": "processPayout", "outputs": [ { "internalType": "uint256", "name": "feeAmount", "type": "uint256" }, { "internalType": "uint256", "name": "netPayoutAmount", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "processPremium", "outputs": [ { "internalType": "bool", "name": "success", "type": "bool" }, { "internalType": "uint256", "name": "feeAmount", "type": "uint256" }, { "internalType": "uint256", "name": "netPremiumAmount", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "processId", "type": "bytes32" } ], "name": "processPremium", "outputs": [ { "internalType": "bool", "name": "success", "type": "bool" }, { "internalType": "uint256", "name": "feeAmount", "type": "uint256" }, { "internalType": "uint256", "name": "netPremiumAmount", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "bundleId", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "processWithdrawal", "outputs": [ { "internalType": "uint256", "name": "feeAmount", "type": "uint256" }, { "internalType": "uint256", "name": "netAmount", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "uint256", "name": "componentId", "type": "uint256" }, { "internalType": "uint256", "name": "fixedFee", "type": "uint256" }, { "internalType": "uint256", "name": "fractionalFee", "type": "uint256" }, { "internalType": "bytes", "name": "feeCalculationData", "type": "bytes" }, { "internalType": "uint256", "name": "createdAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" } ], "internalType": "struct ITreasury.FeeSpecification", "name": "feeSpec", "type": "tuple" } ], "name": "setCapitalFees", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "instanceWalletAddress", "type": "address" } ], "name": "setInstanceWallet", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "uint256", "name": "componentId", "type": "uint256" }, { "internalType": "uint256", "name": "fixedFee", "type": "uint256" }, { "internalType": "uint256", "name": "fractionalFee", "type": "uint256" }, { "internalType": "bytes", "name": "feeCalculationData", "type": "bytes" }, { "internalType": "uint256", "name": "createdAt", "type": "uint256" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" } ], "internalType": "struct ITreasury.FeeSpecification", "name": "feeSpec", "type": "tuple" } ], "name": "setPremiumFees", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "productId", "type": "uint256" }, { "internalType": "address", "name": "erc20Address", "type": "address" } ], "name": "setProductToken", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "riskpoolId", "type": "uint256" }, { "internalType": "address", "name": "riskpoolWalletAddress", "type": "address" } ], "name": "setRiskpoolWallet", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "allSourcePaths": { "1": "/home/vscode/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.7.3/contracts/token/ERC20/IERC20.sol", "22": "contracts/modules/ITreasury.sol" }, "ast": { "absolutePath": "contracts/modules/ITreasury.sol", "exportedSymbols": { "IERC20": [ 4956 ], "ITreasury": [ 3798 ] }, "id": 3799, "license": "Apache-2.0", "nodeType": "SourceUnit", "nodes": [ { "id": 3540, "literals": [ "solidity", "0.8", ".2" ], "nodeType": "PragmaDirective", "src": "39:22:22" }, { "absolutePath": "/home/vscode/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.7.3/contracts/token/ERC20/IERC20.sol", "file": "@openzeppelin/contracts/token/ERC20/IERC20.sol", "id": 3541, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", "scope": 3799, "sourceUnit": 4957, "src": "62:56:22", "symbolAliases": [], "unitAlias": "" }, { "abstract": false, "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "fullyImplemented": false, "id": 3798, "linearizedBaseContracts": [ 3798 ], "name": "ITreasury", "nameLocation": "130:9:22", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "id": 3543, "name": "LogTreasurySuspended", "nameLocation": "153:20:22", "nodeType": "EventDefinition", "parameters": { "id": 3542, "nodeType": "ParameterList", "parameters": [], "src": "173:2:22" }, "src": "147:29:22" }, { "anonymous": false, "id": 3545, "name": "LogTreasuryResumed", "nameLocation": "187:18:22", "nodeType": "EventDefinition", "parameters": { "id": 3544, "nodeType": "ParameterList", "parameters": [], "src": "205:2:22" }, "src": "181:27:22" }, { "anonymous": false, "id": 3553, "name": "LogTreasuryProductTokenSet", "nameLocation": "220:26:22", "nodeType": "EventDefinition", "parameters": { "id": 3552, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3547, "indexed": false, "mutability": "mutable", "name": "productId", "nameLocation": "255:9:22", "nodeType": "VariableDeclaration", "scope": 3553, "src": "247:17:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3546, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "247:7:22", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3549, "indexed": false, "mutability": "mutable", "name": "riskpoolId", "nameLocation": "274:10:22", "nodeType": "VariableDeclaration", "scope": 3553, "src": "266:18:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3548, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "266:7:22", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3551, "indexed": false, "mutability": "mutable", "name": "erc20Address", "nameLocation": "294:12:22", "nodeType": "VariableDeclaration", "scope": 3553, "src": "286:20:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3550, "name": "address", "nodeType": "ElementaryTypeName", "src": "286:7:22", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "246:61:22" }, "src": "214:94:22" }, { "anonymous": false, "id": 3557, "name": "LogTreasuryInstanceWalletSet", "nameLocation": "319:28:22", "nodeType": "EventDefinition", "parameters": { "id": 3556, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3555, "indexed": false, "mutability": "mutable", "name": "walletAddress", "nameLocation": "356:13:22", "nodeType": "VariableDeclaration", "scope": 3557, "src": "348:21:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3554, "name": "address", "nodeType": "ElementaryTypeName", "src": "348:7:22", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "347:23:22" }, "src": "313:58:22" }, { "anonymous": false, "id": 3563, "name": "LogTreasuryRiskpoolWalletSet", "nameLocation": "382:28:22", "nodeType": "EventDefinition", "parameters": { "id": 3562, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3559, "indexed": false, "mutability": "mutable", "name": "riskpoolId", "nameLocation": "419:10:22", "nodeType": "VariableDeclaration", "scope": 3563, "src": "411:18:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3558, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "411:7:22", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3561, "indexed": false, "mutability": "mutable", "name": "walletAddress", "nameLocation": "439:13:22", "nodeType": "VariableDeclaration", "scope": 3563, "src": "431:21:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3560, "name": "address", "nodeType": "ElementaryTypeName", "src": "431:7:22", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "410:43:22" }, "src": "376:78:22" }, { "anonymous": false, "id": 3571, "name": "LogTreasuryPremiumFeesSet", "nameLocation": "466:25:22", "nodeType": "EventDefinition", "parameters": { "id": 3570, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3565, "indexed": false, "mutability": "mutable", "name": "productId", "nameLocation": "500:9:22", "nodeType": "VariableDeclaration", "scope": 3571, "src": "492:17:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3564, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "492:7:22", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3567, "indexed": false, "mutability": "mutable", "name": "fixedFee", "nameLocation": "519:8:22", "nodeType": "VariableDeclaration", "scope": 3571, "src": "511:16:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3566, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "511:7:22", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3569, "indexed": false, "mutability": "mutable", "name": "fractionalFee", "nameLocation": "537:13:22", "nodeType": "VariableDeclaration", "scope": 3571, "src": "529:21:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3568, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "529:7:22", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "491:60:22" }, "src": "460:92:22" }, { "anonymous": false, "id": 3579, "name": "LogTreasuryCapitalFeesSet", "nameLocation": "563:25:22", "nodeType": "EventDefinition", "parameters": { "id": 3578, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3573, "indexed": false, "mutability": "mutable", "name": "riskpoolId", "nameLocation": "597:10:22", "nodeType": "VariableDeclaration", "scope": 3579, "src": "589:18:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3572, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "589:7:22", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3575, "indexed": false, "mutability": "mutable", "name": "fixedFee", "nameLocation": "617:8:22", "nodeType": "VariableDeclaration", "scope": 3579, "src": "609:16:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3574, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "609:7:22", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 3577, "indexed": false, "mutability": "mutable", "name": "fractionalFee", "nameLocation": "635:13:22", "nodeType": "VariableDeclaration", "scope": 3579, "src": "627:21:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3576, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "627:7:22", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "588:61:22" }, "src": "557:93:22" }, { "anonymous": false, "id": 3587, "name": "LogTreasuryPremiumTransferred", "nameLocation": "662:29:22", "nodeType": "EventDefinition", "parameters": { "id": 3586, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3581, "indexed": false, "mutability": "mutable", "name": "from", "nameLocation": "700:4:22", "nodeType": "VariableDeclaration", "scope": 3587, "src": "692:12:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3580, "name": "address", "nodeType": "ElementaryTypeName", "src": "692:7:22", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3583, "indexed": false, "mutability": "mutable", "name": "riskpoolWalletAddress", "nameLocation": "714:21:22", "nodeType": "VariableDeclaration", "scope": 3587, "src": "706:29:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3582, "name": "address", "nodeType": "ElementaryTypeName", "src": "706:7:22", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3585, "indexed": false, "mutability": "mutable", "name": "amount", "nameLocation": "745:6:22", "nodeType": "VariableDeclaration", "scope": 3587, "src": "737:14:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3584, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "737:7:22", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "691:61:22" }, "src": "656:97:22" }, { "anonymous": false, "id": 3595, "name": "LogTreasuryPayoutTransferred", "nameLocation": "764:28:22", "nodeType": "EventDefinition", "parameters": { "id": 3594, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3589, "indexed": false, "mutability": "mutable", "name": "riskpoolWalletAddress", "nameLocation": "801:21:22", "nodeType": "VariableDeclaration", "scope": 3595, "src": "793:29:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3588, "name": "address", "nodeType": "ElementaryTypeName", "src": "793:7:22", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3591, "indexed": false, "mutability": "mutable", "name": "to", "nameLocation": "832:2:22", "nodeType": "VariableDeclaration", "scope": 3595, "src": "824:10:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3590, "name": "address", "nodeType": "ElementaryTypeName", "src": "824:7:22", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3593, "indexed": false, "mutability": "mutable", "name": "amount", "nameLocation": "844:6:22", "nodeType": "VariableDeclaration", "scope": 3595, "src": "836:14:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3592, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "836:7:22", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "792:59:22" }, "src": "758:94:22" }, { "anonymous": false, "id": 3603, "name": "LogTreasuryCapitalTransferred", "nameLocation": "863:29:22", "nodeType": "EventDefinition", "parameters": { "id": 3602, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3597, "indexed": false, "mutability": "mutable", "name": "from", "nameLocation": "901:4:22", "nodeType": "VariableDeclaration", "scope": 3603, "src": "893:12:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3596, "name": "address", "nodeType": "ElementaryTypeName", "src": "893:7:22", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3599, "indexed": false, "mutability": "mutable", "name": "riskpoolWalletAddress", "nameLocation": "915:21:22", "nodeType": "VariableDeclaration", "scope": 3603, "src": "907:29:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3598, "name": "address", "nodeType": "ElementaryTypeName", "src": "907:7:22", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3601, "indexed": false, "mutability": "mutable", "name": "amount", "nameLocation": "946:6:22", "nodeType": "VariableDeclaration", "scope": 3603, "src": "938:14:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3600, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "938:7:22", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "892:61:22" }, "src": "857:97:22" }, { "anonymous": false, "id": 3611, "name": "LogTreasuryFeesTransferred", "nameLocation": "965:26:22", "nodeType": "EventDefinition", "parameters": { "id": 3610, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3605, "indexed": false, "mutability": "mutable", "name": "from", "nameLocation": "1000:4:22", "nodeType": "VariableDeclaration", "scope": 3611, "src": "992:12:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3604, "name": "address", "nodeType": "ElementaryTypeName", "src": "992:7:22", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3607, "indexed": false, "mutability": "mutable", "name": "instanceWalletAddress", "nameLocation": "1014:21:22", "nodeType": "VariableDeclaration", "scope": 3611, "src": "1006:29:22", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3606, "name": "address", "nodeType": "ElementaryTypeName", "src": "1006:7:22", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 3609, "indexed": false, "mutability": "mutable", "name": "amoun