@broxus/js-bridge-essentials
Version:
Bridge JavaScript Essentials library
1,835 lines • 76.3 kB
JavaScript
/**
* @see [MultiVault](https://github.com/broxus/octusbridge-contracts/blob/master/ethereum/abi/MultiVault.json)
*/
export const MultiVaultAbi = [
{
anonymous: false,
inputs: [
{
components: [
{
internalType: 'address',
name: 'facetAddress',
type: 'address',
},
{
internalType: 'enum IDiamondCut.FacetCutAction',
name: 'action',
type: 'uint8',
},
{
internalType: 'bytes4[]',
name: 'functionSelectors',
type: 'bytes4[]',
},
],
indexed: false,
internalType: 'struct IDiamondCut.FacetCut[]',
name: '_diamondCut',
type: 'tuple[]',
},
{
indexed: false,
internalType: 'address',
name: '_init',
type: 'address',
},
{
indexed: false,
internalType: 'bytes',
name: '_calldata',
type: 'bytes',
},
],
name: 'DiamondCut',
type: 'event',
},
{
inputs: [
{
components: [
{
internalType: 'address',
name: 'facetAddress',
type: 'address',
},
{
internalType: 'enum IDiamondCut.FacetCutAction',
name: 'action',
type: 'uint8',
},
{
internalType: 'bytes4[]',
name: 'functionSelectors',
type: 'bytes4[]',
},
],
internalType: 'struct IDiamondCut.FacetCut[]',
name: '_diamondCut',
type: 'tuple[]',
},
{
internalType: 'address',
name: '_init',
type: 'address',
},
{
internalType: 'bytes',
name: '_calldata',
type: 'bytes',
},
],
name: 'diamondCut',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'bytes4',
name: '_functionSelector',
type: 'bytes4',
},
],
name: 'facetAddress',
outputs: [
{
internalType: 'address',
name: 'facetAddress_',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'facetAddresses',
outputs: [
{
internalType: 'address[]',
name: 'facetAddresses_',
type: 'address[]',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '_facet',
type: 'address',
},
],
name: 'facetFunctionSelectors',
outputs: [
{
internalType: 'bytes4[]',
name: 'facetFunctionSelectors_',
type: 'bytes4[]',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'facets',
outputs: [
{
components: [
{
internalType: 'address',
name: 'facetAddress',
type: 'address',
},
{
internalType: 'bytes4[]',
name: 'functionSelectors',
type: 'bytes4[]',
},
],
internalType: 'struct IDiamondLoupe.Facet[]',
name: 'facets_',
type: 'tuple[]',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
components: [
{
components: [
{
internalType: 'int8',
name: 'wid',
type: 'int8',
},
{
internalType: 'uint256',
name: 'addr',
type: 'uint256',
},
],
internalType: 'struct IEverscale.EverscaleAddress',
name: 'recipient',
type: 'tuple',
},
{
internalType: 'address',
name: 'token',
type: 'address',
},
{
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'expected_evers',
type: 'uint256',
},
{
internalType: 'bytes',
name: 'payload',
type: 'bytes',
},
],
internalType: 'struct IMultiVaultFacetDeposit.DepositParams',
name: 'd',
type: 'tuple',
},
],
name: 'deposit',
outputs: [],
stateMutability: 'payable',
type: 'function',
},
{
inputs: [
{
components: [
{
components: [
{
internalType: 'int8',
name: 'wid',
type: 'int8',
},
{
internalType: 'uint256',
name: 'addr',
type: 'uint256',
},
],
internalType: 'struct IEverscale.EverscaleAddress',
name: 'recipient',
type: 'tuple',
},
{
internalType: 'address',
name: 'token',
type: 'address',
},
{
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'expected_evers',
type: 'uint256',
},
{
internalType: 'bytes',
name: 'payload',
type: 'bytes',
},
],
internalType: 'struct IMultiVaultFacetDeposit.DepositParams',
name: 'd',
type: 'tuple',
},
{
internalType: 'uint256',
name: 'expectedMinBounty',
type: 'uint256',
},
{
components: [
{
internalType: 'address',
name: 'recipient',
type: 'address',
},
{
internalType: 'uint256',
name: 'id',
type: 'uint256',
},
],
internalType: 'struct IMultiVaultFacetPendingWithdrawals.PendingWithdrawalId[]',
name: 'pendingWithdrawalIds',
type: 'tuple[]',
},
],
name: 'deposit',
outputs: [],
stateMutability: 'payable',
type: 'function',
},
{
inputs: [
{
components: [
{
components: [
{
internalType: 'int8',
name: 'wid',
type: 'int8',
},
{
internalType: 'uint256',
name: 'addr',
type: 'uint256',
},
],
internalType: 'struct IEverscale.EverscaleAddress',
name: 'recipient',
type: 'tuple',
},
{
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'expected_evers',
type: 'uint256',
},
{
internalType: 'bytes',
name: 'payload',
type: 'bytes',
},
],
internalType: 'struct IMultiVaultFacetDeposit.DepositNativeTokenParams',
name: 'd',
type: 'tuple',
},
],
name: 'depositByNativeToken',
outputs: [],
stateMutability: 'payable',
type: 'function',
},
{
inputs: [
{
components: [
{
components: [
{
internalType: 'int8',
name: 'wid',
type: 'int8',
},
{
internalType: 'uint256',
name: 'addr',
type: 'uint256',
},
],
internalType: 'struct IEverscale.EverscaleAddress',
name: 'recipient',
type: 'tuple',
},
{
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'expected_evers',
type: 'uint256',
},
{
internalType: 'bytes',
name: 'payload',
type: 'bytes',
},
],
internalType: 'struct IMultiVaultFacetDeposit.DepositNativeTokenParams',
name: 'd',
type: 'tuple',
},
{
internalType: 'uint256',
name: 'expectedMinBounty',
type: 'uint256',
},
{
components: [
{
internalType: 'address',
name: 'recipient',
type: 'address',
},
{
internalType: 'uint256',
name: 'id',
type: 'uint256',
},
],
internalType: 'struct IMultiVaultFacetPendingWithdrawals.PendingWithdrawalId[]',
name: 'pendingWithdrawalIds',
type: 'tuple[]',
},
],
name: 'depositByNativeToken',
outputs: [],
stateMutability: 'payable',
type: 'function',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'uint256',
name: 'base_chainId',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint160',
name: 'base_token',
type: 'uint160',
},
{
indexed: false,
internalType: 'string',
name: 'name',
type: 'string',
},
{
indexed: false,
internalType: 'string',
name: 'symbol',
type: 'string',
},
{
indexed: false,
internalType: 'uint8',
name: 'decimals',
type: 'uint8',
},
{
indexed: false,
internalType: 'uint128',
name: 'amount',
type: 'uint128',
},
{
indexed: false,
internalType: 'int8',
name: 'recipient_wid',
type: 'int8',
},
{
indexed: false,
internalType: 'uint256',
name: 'recipient_addr',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'value',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'expected_evers',
type: 'uint256',
},
{
indexed: false,
internalType: 'bytes',
name: 'payload',
type: 'bytes',
},
],
name: 'AlienTransfer',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'enum IMultiVaultFacetTokens.TokenType',
name: '_type',
type: 'uint8',
},
{
indexed: false,
internalType: 'address',
name: 'sender',
type: 'address',
},
{
indexed: false,
internalType: 'address',
name: 'token',
type: 'address',
},
{
indexed: false,
internalType: 'int8',
name: 'recipient_wid',
type: 'int8',
},
{
indexed: false,
internalType: 'uint256',
name: 'recipient_addr',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'fee',
type: 'uint256',
},
],
name: 'Deposit',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'int8',
name: 'native_wid',
type: 'int8',
},
{
indexed: false,
internalType: 'uint256',
name: 'native_addr',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint128',
name: 'amount',
type: 'uint128',
},
{
indexed: false,
internalType: 'int8',
name: 'recipient_wid',
type: 'int8',
},
{
indexed: false,
internalType: 'uint256',
name: 'recipient_addr',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'value',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'expected_evers',
type: 'uint256',
},
{
indexed: false,
internalType: 'bytes',
name: 'payload',
type: 'bytes',
},
],
name: 'NativeTransfer',
type: 'event',
},
{
inputs: [],
name: 'defaultAlienDepositFee',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'defaultAlienWithdrawFee',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'defaultNativeDepositFee',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'defaultNativeWithdrawFee',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
],
name: 'fees',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'uint256',
name: 'fee',
type: 'uint256',
},
],
name: 'setDefaultAlienDepositFee',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'uint256',
name: 'fee',
type: 'uint256',
},
],
name: 'setDefaultAlienWithdrawFee',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'uint256',
name: 'fee',
type: 'uint256',
},
],
name: 'setDefaultNativeDepositFee',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'uint256',
name: 'fee',
type: 'uint256',
},
],
name: 'setDefaultNativeWithdrawFee',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
{
internalType: 'uint256',
name: '_depositFee',
type: 'uint256',
},
],
name: 'setTokenDepositFee',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
{
internalType: 'uint256',
name: '_withdrawFee',
type: 'uint256',
},
],
name: 'setTokenWithdrawFee',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
],
name: 'skim',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'token',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
],
name: 'EarnTokenFee',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'token',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
],
name: 'SkimFee',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'uint256',
name: 'fee',
type: 'uint256',
},
],
name: 'UpdateDefaultAlienDepositFee',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'uint256',
name: 'fee',
type: 'uint256',
},
],
name: 'UpdateDefaultAlienWithdrawFee',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'uint256',
name: 'fee',
type: 'uint256',
},
],
name: 'UpdateDefaultNativeDepositFee',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'uint256',
name: 'fee',
type: 'uint256',
},
],
name: 'UpdateDefaultNativeWithdrawFee',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'token',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'fee',
type: 'uint256',
},
],
name: 'UpdateTokenDepositFee',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'token',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'fee',
type: 'uint256',
},
],
name: 'UpdateTokenWithdrawFee',
type: 'event',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
{
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
],
name: 'convertLPToUnderlying',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
{
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
],
name: 'convertUnderlyingToLP',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
],
name: 'exchangeRateCurrent',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
],
name: 'getCash',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
],
name: 'getSupply',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
],
name: 'liquidity',
outputs: [
{
components: [
{
internalType: 'uint256',
name: 'activation',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'supply',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'cash',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'interest',
type: 'uint256',
},
],
internalType: 'struct IMultiVaultFacetLiquidity.Liquidity',
name: '',
type: 'tuple',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
{
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
internalType: 'address',
name: 'recipient',
type: 'address',
},
],
name: 'mintLP',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
{
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
internalType: 'address',
name: 'recipient',
type: 'address',
},
],
name: 'redeemLP',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'uint256',
name: 'interest',
type: 'uint256',
},
],
name: 'setDefaultInterest',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
{
internalType: 'uint256',
name: 'interest',
type: 'uint256',
},
],
name: 'setTokenInterest',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'token',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
],
name: 'EarnTokenCash',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'sender',
type: 'address',
},
{
indexed: false,
internalType: 'address',
name: 'token',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'lp_amount',
type: 'uint256',
},
],
name: 'MintLiquidity',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'sender',
type: 'address',
},
{
indexed: false,
internalType: 'address',
name: 'token',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'underlying_amount',
type: 'uint256',
},
],
name: 'RedeemLiquidity',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'uint256',
name: 'inetrest',
type: 'uint256',
},
],
name: 'UpdateDefaultLiquidityInterest',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'token',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'interest',
type: 'uint256',
},
],
name: 'UpdateTokenLiquidityInterest',
type: 'event',
},
{
inputs: [
{
internalType: 'uint256',
name: 'id',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
components: [
{
internalType: 'int8',
name: 'wid',
type: 'int8',
},
{
internalType: 'uint256',
name: 'addr',
type: 'uint256',
},
],
internalType: 'struct IEverscale.EverscaleAddress',
name: 'recipient',
type: 'tuple',
},
{
internalType: 'uint256',
name: 'expected_evers',
type: 'uint256',
},
{
internalType: 'bytes',
name: 'payload',
type: 'bytes',
},
{
internalType: 'uint256',
name: 'bounty',
type: 'uint256',
},
],
name: 'cancelPendingWithdrawal',
outputs: [],
stateMutability: 'payable',
type: 'function',
},
{
inputs: [
{
components: [
{
internalType: 'address',
name: 'recipient',
type: 'address',
},
{
internalType: 'uint256',
name: 'id',
type: 'uint256',
},
],
internalType: 'struct IMultiVaultFacetPendingWithdrawals.PendingWithdrawalId[]',
name: 'pendingWithdrawalIds',
type: 'tuple[]',
},
],
name: 'forceWithdraw',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'user',
type: 'address',
},
{
internalType: 'uint256',
name: 'id',
type: 'uint256',
},
],
name: 'pendingWithdrawals',
outputs: [
{
components: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
{
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'bounty',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'timestamp',
type: 'uint256',
},
{
internalType: 'enum IMultiVaultFacetPendingWithdrawals.ApproveStatus',
name: 'approveStatus',
type: 'uint8',
},
{
internalType: 'uint256',
name: 'chainId',
type: 'uint256',
},
{
components: [
{
internalType: 'address',
name: 'recipient',
type: 'address',
},
{
internalType: 'bytes',
name: 'payload',
type: 'bytes',
},
{
internalType: 'bool',
name: 'strict',
type: 'bool',
},
],
internalType: 'struct IMultiVaultFacetWithdraw.Callback',
name: 'callback',
type: 'tuple',
},
],
internalType: 'struct IMultiVaultFacetPendingWithdrawals.PendingWithdrawalParams',
name: '',
type: 'tuple',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'user',
type: 'address',
},
],
name: 'pendingWithdrawalsPerUser',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
],
name: 'pendingWithdrawalsTotal',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
components: [
{
internalType: 'address',
name: 'recipient',
type: 'address',
},
{
internalType: 'uint256',
name: 'id',
type: 'uint256',
},
],
internalType: 'struct IMultiVaultFacetPendingWithdrawals.PendingWithdrawalId[]',
name: 'pendingWithdrawalId',
type: 'tuple[]',
},
{
internalType: 'enum IMultiVaultFacetPendingWithdrawals.ApproveStatus[]',
name: 'approveStatus',
type: 'uint8[]',
},
],
name: 'setPendingWithdrawalApprove',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
components: [
{
internalType: 'address',
name: 'recipient',
type: 'address',
},
{
internalType: 'uint256',
name: 'id',
type: 'uint256',
},
],
internalType: 'struct IMultiVaultFacetPendingWithdrawals.PendingWithdrawalId',
name: 'pendingWithdrawalId',
type: 'tuple',
},
{
internalType: 'enum IMultiVaultFacetPendingWithdrawals.ApproveStatus',
name: 'approveStatus',
type: 'uint8',
},
],
name: 'setPendingWithdrawalApprove',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'uint256',
name: 'id',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'bounty',
type: 'uint256',
},
],
name: 'setPendingWithdrawalBounty',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
],
name: 'withdrawalLimits',
outputs: [
{
components: [
{
internalType: 'uint256',
name: 'undeclared',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'daily',
type: 'uint256',
},
{
internalType: 'bool',
name: 'enabled',
type: 'bool',
},
],
internalType: 'struct IMultiVaultFacetPendingWithdrawals.WithdrawalLimits',
name: '',
type: 'tuple',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
{
internalType: 'uint256',
name: 'withdrawalPeriodId',
type: 'uint256',
},
],
name: 'withdrawalPeriods',
outputs: [
{
components: [
{
internalType: 'uint256',
name: 'total',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'considered',
type: 'uint256',
},
],
internalType: 'struct IMultiVaultFacetPendingWithdrawals.WithdrawalPeriodParams',
name: '',
type: 'tuple',
},
],
stateMutability: 'view',
type: 'function',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'recipient',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'id',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
],
name: 'PendingWithdrawalCancel',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'recipient',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'id',
type: 'uint256',
},
{
indexed: false,
internalType: 'address',
name: 'token',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
indexed: false,
internalType: 'bytes32',
name: 'payloadId',
type: 'bytes32',
},
],
name: 'PendingWithdrawalCreated',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'recipient',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'id',
type: 'uint256',
},
],
name: 'PendingWithdrawalFill',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'recipient',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'id',
type: 'uint256',
},
],
name: 'PendingWithdrawalForce',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'recipient',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'id',
type: 'uint256',
},
{
indexed: false,
internalType: 'enum IMultiVaultFacetPendingWithdrawals.ApproveStatus',
name: 'approveStatus',
type: 'uint8',
},
],
name: 'PendingWithdrawalUpdateApproveStatus',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'recipient',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'id',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'bounty',
type: 'uint256',
},
],
name: 'PendingWithdrawalUpdateBounty',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'recipient',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'id',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
],
name: 'PendingWithdrawalWithdraw',
type: 'event',
},
{
inputs: [],
name: 'acceptGovernance',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'bridge',
outputs: [
{
internalType: 'address',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'configurationAlien',
outputs: [
{
components: [
{
internalType: 'int8',
name: 'wid',
type: 'int8',
},
{
internalType: 'uint256',
name: 'addr',
type: 'uint256',
},
],
internalType: 'struct IEverscale.EverscaleAddress',
name: '',
type: 'tuple',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'configurationNative',
outputs: [
{
components: [
{
internalType: 'int8',
name: 'wid',
type: 'int8',
},
{
internalType: 'uint256',
name: 'addr',
type: 'uint256',
},
],
internalType: 'struct IEverscale.EverscaleAddress',
name: '',
type: 'tuple',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
type: 'address',
},
],
name: 'disableWithdrawalLimits',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'emergencyShutdown',
outputs: [
{
internalType: 'bool',
name: '',
type: 'bool',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'token',
t