@perp/voting-escrow
Version:
Perpetual Protocol voting escrow contracts
147 lines (146 loc) • 3.13 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "ISurplusBeneficiary",
"sourceName": "contracts/interface/ISurplusBeneficiary.sol",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "amountToTreasury",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amountToFeeDistributor",
"type": "uint256"
}
],
"name": "Dispatch",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "oldValue",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newValue",
"type": "address"
}
],
"name": "FeeDistributorChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "oldValue",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newValue",
"type": "address"
}
],
"name": "TreasuryChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint24",
"name": "oldValue",
"type": "uint24"
},
{
"indexed": false,
"internalType": "uint24",
"name": "newValue",
"type": "uint24"
}
],
"name": "TreasuryPercentageChanged",
"type": "event"
},
{
"inputs": [],
"name": "dispatch",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getFeeDistributor",
"outputs": [
{
"internalType": "address",
"name": "feeDistributor",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getToken",
"outputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getTreasury",
"outputs": [
{
"internalType": "address",
"name": "treasury",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getTreasuryPercentage",
"outputs": [
{
"internalType": "uint24",
"name": "percentage",
"type": "uint24"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}