UNPKG

@mantleio/contracts

Version:
86 lines (85 loc) 2 kB
{ "_format": "hh-sol-artifact-1", "contractName": "IDelegationCallback", "sourceName": "contracts/L1/delegation/interfaces/IDelegationCallback.sol", "abi": [ { "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": "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": {} }