UNPKG

@mantleio/contracts

Version:
197 lines (196 loc) 4.39 kB
{ "_format": "hh-sol-artifact-1", "contractName": "DelegationCallbackBase", "sourceName": "contracts/L1/delegation/DelegationCallbackBase.sol", "abi": [ { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint8", "name": "version", "type": "uint8" } ], "name": "Initialized", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "account", "type": "address" } ], "name": "Paused", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "account", "type": "address" } ], "name": "Unpaused", "type": "event" }, { "inputs": [], "name": "delegation", "outputs": [ { "internalType": "contract IDelegation", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "delegator", "type": "address" }, { "internalType": "contract IDelegationShare[]", "name": "investorDelegationShares", "type": "address[]" }, { "internalType": "uint256[]", "name": "investorShares", "type": "uint256[]" } ], "name": "onDelegationReceived", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "delegator", "type": "address" }, { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "contract IDelegationShare[]", "name": "delegationShares", "type": "address[]" }, { "internalType": "uint256[]", "name": "investorShares", "type": "uint256[]" } ], "name": "onDelegationReceived", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "delegator", "type": "address" }, { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "contract IDelegationShare[]", "name": "delegationShares", "type": "address[]" }, { "internalType": "uint256[]", "name": "investorShares", "type": "uint256[]" } ], "name": "onDelegationWithdrawn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "delegator", "type": "address" }, { "internalType": "contract IDelegationShare[]", "name": "investorDelegationShares", "type": "address[]" }, { "internalType": "uint256[]", "name": "investorShares", "type": "uint256[]" } ], "name": "onDelegationWithdrawn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "paused", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "contract IERC20", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "payForService", "outputs": [], "stateMutability": "payable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }