rubic-sdk
Version:
Simplify dApp creation
50 lines • 2.15 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.feeLibraryAbi = void 0;
exports.feeLibraryAbi = [
{
inputs: [
{ internalType: 'uint256', name: 'srcPoolId', type: 'uint256' },
{ internalType: 'uint256', name: 'dstPoolId', type: 'uint256' },
{ internalType: 'uint16', name: 'dstChainId', type: 'uint16' },
{ internalType: 'uint256', name: 'amountSD', type: 'uint256' },
{ internalType: 'bool', name: 'whitelisted', type: 'bool' },
{ internalType: 'bool', name: 'hasEqReward', type: 'bool' }
],
name: 'getEquilibriumFee',
outputs: [
{ internalType: 'uint256', name: '', type: 'uint256' },
{ internalType: 'uint256', name: '', type: 'uint256' }
],
stateMutability: 'view',
type: 'function'
},
{
inputs: [
{ internalType: 'uint256', name: '_srcPoolId', type: 'uint256' },
{ internalType: 'uint256', name: '_dstPoolId', type: 'uint256' },
{ internalType: 'uint16', name: '_dstChainId', type: 'uint16' },
{ internalType: 'address', name: '_from', type: 'address' },
{ internalType: 'uint256', name: '_amountSD', type: 'uint256' }
],
name: 'getFees',
outputs: [
{
components: [
{ internalType: 'uint256', name: 'amount', type: 'uint256' },
{ internalType: 'uint256', name: 'eqFee', type: 'uint256' },
{ internalType: 'uint256', name: 'eqReward', type: 'uint256' },
{ internalType: 'uint256', name: 'lpFee', type: 'uint256' },
{ internalType: 'uint256', name: 'protocolFee', type: 'uint256' },
{ internalType: 'uint256', name: 'lkbRemove', type: 'uint256' }
],
internalType: 'struct Pool.SwapObj',
name: 's',
type: 'tuple'
}
],
stateMutability: 'view',
type: 'function'
}
];
//# sourceMappingURL=fee-library-abi.js.map