rubic-sdk
Version:
Simplify dApp creation
308 lines • 7.63 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ENOSYS_FLARE_ABI = void 0;
exports.ENOSYS_FLARE_ABI = [
{
inputs: [],
name: 'WNat',
outputs: [
{
internalType: 'address',
name: '',
type: 'address'
}
],
stateMutability: 'view',
type: 'function'
},
{
inputs: [
{
internalType: 'uint256',
name: 'amountOut',
type: 'uint256'
},
{
internalType: 'address[]',
name: 'path',
type: 'address[]'
}
],
name: 'getAmountsIn',
outputs: [
{
internalType: 'uint256[]',
name: 'amounts',
type: 'uint256[]'
}
],
stateMutability: 'view',
type: 'function'
},
{
inputs: [
{
internalType: 'uint256',
name: 'amountIn',
type: 'uint256'
},
{
internalType: 'address[]',
name: 'path',
type: 'address[]'
}
],
name: 'getAmountsOut',
outputs: [
{
internalType: 'uint256[]',
name: 'amounts',
type: 'uint256[]'
}
],
stateMutability: 'view',
type: 'function'
},
{
inputs: [
{
internalType: 'address',
name: '_feeSetter',
type: 'address'
}
],
name: 'setFeeToSetter',
outputs: [],
stateMutability: 'nonpayable',
type: 'function'
},
{
inputs: [
{
internalType: 'uint256',
name: 'amountOutMin',
type: 'uint256'
},
{
internalType: 'address[]',
name: 'path',
type: 'address[]'
},
{
internalType: 'address',
name: 'to',
type: 'address'
},
{
internalType: 'uint256',
name: 'deadline',
type: 'uint256'
}
],
name: 'swapExactFLRForTokens',
outputs: [
{
internalType: 'uint256[]',
name: 'amounts',
type: 'uint256[]'
}
],
stateMutability: 'payable',
type: 'function'
},
{
inputs: [
{
internalType: 'uint256',
name: 'amountIn',
type: 'uint256'
},
{
internalType: 'uint256',
name: 'amountOutMin',
type: 'uint256'
},
{
internalType: 'address[]',
name: 'path',
type: 'address[]'
},
{
internalType: 'address',
name: 'to',
type: 'address'
},
{
internalType: 'uint256',
name: 'deadline',
type: 'uint256'
}
],
name: 'swapExactTokensForFLR',
outputs: [
{
internalType: 'uint256[]',
name: 'amounts',
type: 'uint256[]'
}
],
stateMutability: 'nonpayable',
type: 'function'
},
{
inputs: [
{
internalType: 'uint256',
name: 'amountIn',
type: 'uint256'
},
{
internalType: 'uint256',
name: 'amountOutMin',
type: 'uint256'
},
{
internalType: 'address[]',
name: 'path',
type: 'address[]'
},
{
internalType: 'address',
name: 'to',
type: 'address'
},
{
internalType: 'uint256',
name: 'deadline',
type: 'uint256'
}
],
name: 'swapExactTokensForTokens',
outputs: [
{
internalType: 'uint256[]',
name: 'amounts',
type: 'uint256[]'
}
],
stateMutability: 'nonpayable',
type: 'function'
},
{
inputs: [
{
internalType: 'uint256',
name: 'amountOut',
type: 'uint256'
},
{
internalType: 'address[]',
name: 'path',
type: 'address[]'
},
{
internalType: 'address',
name: 'to',
type: 'address'
},
{
internalType: 'uint256',
name: 'deadline',
type: 'uint256'
}
],
name: 'swapFLRForExactTokens',
outputs: [
{
internalType: 'uint256[]',
name: 'amounts',
type: 'uint256[]'
}
],
stateMutability: 'payable',
type: 'function'
},
{
inputs: [
{
internalType: 'uint256',
name: 'amountOut',
type: 'uint256'
},
{
internalType: 'uint256',
name: 'amountInMax',
type: 'uint256'
},
{
internalType: 'address[]',
name: 'path',
type: 'address[]'
},
{
internalType: 'address',
name: 'to',
type: 'address'
},
{
internalType: 'uint256',
name: 'deadline',
type: 'uint256'
}
],
name: 'swapTokensForExactFLR',
outputs: [
{
internalType: 'uint256[]',
name: 'amounts',
type: 'uint256[]'
}
],
stateMutability: 'nonpayable',
type: 'function'
},
{
inputs: [
{
internalType: 'uint256',
name: 'amountOut',
type: 'uint256'
},
{
internalType: 'uint256',
name: 'amountInMax',
type: 'uint256'
},
{
internalType: 'address[]',
name: 'path',
type: 'address[]'
},
{
internalType: 'address',
name: 'to',
type: 'address'
},
{
internalType: 'uint256',
name: 'deadline',
type: 'uint256'
}
],
name: 'swapTokensForExactTokens',
outputs: [
{
internalType: 'uint256[]',
name: 'amounts',
type: 'uint256[]'
}
],
stateMutability: 'nonpayable',
type: 'function'
},
{
stateMutability: 'payable',
type: 'receive'
}
];
//# sourceMappingURL=enosys-flare-abi.js.map