@mantleio/contracts
Version:
[Mantle] L1 and L2 smart contracts for Mantle
86 lines (85 loc) • 2 kB
JSON
{
"_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": {}
}