Variable DISTRIBUTION_PRECOMPILE_ABIConst
DISTRIBUTION_PRECOMPILE_ABI: readonly [
{
inputs: readonly [
{ internalType: "address"; name: "withdrawAddr"; type: "address" },
];
name: "setWithdrawAddress";
outputs: readonly [
{ internalType: "bool"; name: "success"; type: "bool" },
];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "string"; name: "validator"; type: "string" },
];
name: "withdrawDelegationRewards";
outputs: readonly [
{ internalType: "bool"; name: "success"; type: "bool" },
];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "string[]"; name: "validators"; type: "string[]" },
];
name: "withdrawMultipleDelegationRewards";
outputs: readonly [
{ internalType: "bool"; name: "success"; type: "bool" },
];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "address"; name: "delegatorAddress"; type: "address" },
];
name: "rewards";
outputs: readonly [
{
components: readonly [
{
components: readonly [
{
components: readonly [
{ internalType: "uint256"; name: "amount"; type: "uint256" },
{ internalType: "uint256"; name: "decimals"; type: "uint256" },
{ internalType: "string"; name: "denom"; type: "string" },
];
internalType: "struct Coin[]";
name: "coins";
type: "tuple[]";
},
{ internalType: "string"; name: "validator_address"; type: "string" },
];
internalType: "struct Reward[]";
name: "rewards";
type: "tuple[]";
},
{
components: readonly [
{ internalType: "uint256"; name: "amount"; type: "uint256" },
{ internalType: "uint256"; name: "decimals"; type: "uint256" },
{ internalType: "string"; name: "denom"; type: "string" },
];
internalType: "struct Coin[]";
name: "total";
type: "tuple[]";
},
];
internalType: "struct Rewards";
name: "rewards";
type: "tuple";
},
];
stateMutability: "view";
type: "function";
},
] = ...
The ABI for the Distribution precompile contract.