hector-rubic-sdk
Version:
Simplify dApp creation
236 lines • 7.76 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.crossChainContractAbiV3 = void 0;
exports.crossChainContractAbiV3 = [
{
inputs: [
{
components: [
{
internalType: 'uint256',
name: 'blockchain',
type: 'uint256'
},
{
internalType: 'uint256',
name: 'tokenInAmount',
type: 'uint256'
},
{
internalType: 'bytes',
name: 'firstPath',
type: 'bytes'
},
{
internalType: 'bytes32[]',
name: 'secondPath',
type: 'bytes32[]'
},
{
internalType: 'uint256',
name: 'exactRBCtokenOut',
type: 'uint256'
},
{
internalType: 'uint256',
name: 'tokenOutMin',
type: 'uint256'
},
{
internalType: 'bytes32',
name: 'newAddress',
type: 'bytes32'
},
{
internalType: 'address',
name: 'provider',
type: 'address'
},
{
internalType: 'bool',
name: 'swapToCrypto',
type: 'bool'
},
{
internalType: 'bool',
name: 'swapExactFor',
type: 'bool'
},
{
internalType: 'string',
name: 'signature',
type: 'string'
}
],
internalType: 'struct ISwapContractV3.swapToParams',
name: 'params',
type: 'tuple'
}
],
name: 'swapTokensToOtherBlockchainV3',
outputs: [],
stateMutability: 'payable',
type: 'function'
},
{
inputs: [
{
components: [
{
internalType: 'uint256',
name: 'blockchain',
type: 'uint256'
},
{
internalType: 'uint256',
name: 'tokenInAmount',
type: 'uint256'
},
{
internalType: 'bytes',
name: 'firstPath',
type: 'bytes'
},
{
internalType: 'bytes32[]',
name: 'secondPath',
type: 'bytes32[]'
},
{
internalType: 'uint256',
name: 'exactRBCtokenOut',
type: 'uint256'
},
{
internalType: 'uint256',
name: 'tokenOutMin',
type: 'uint256'
},
{
internalType: 'bytes32',
name: 'newAddress',
type: 'bytes32'
},
{
internalType: 'address',
name: 'provider',
type: 'address'
},
{
internalType: 'bool',
name: 'swapToCrypto',
type: 'bool'
},
{
internalType: 'bool',
name: 'swapExactFor',
type: 'bool'
},
{
internalType: 'string',
name: 'signature',
type: 'string'
}
],
internalType: 'struct ISwapContractV3.swapToParams',
name: 'params',
type: 'tuple'
}
],
name: 'swapCryptoToOtherBlockchainV3',
outputs: [],
stateMutability: 'payable',
type: 'function'
},
{
inputs: [
{
components: [
{
internalType: 'address',
name: 'user',
type: 'address'
},
{
internalType: 'uint256',
name: 'amountWithFee',
type: 'uint256'
},
{
internalType: 'uint256',
name: 'amountOutMin',
type: 'uint256'
},
{
internalType: 'bytes',
name: 'path',
type: 'bytes'
},
{
internalType: 'bytes32',
name: 'originalTxHash',
type: 'bytes32'
},
{
internalType: 'bytes',
name: 'concatSignatures',
type: 'bytes'
}
],
internalType: 'struct ISwapContractV3.swapFromParams',
name: 'params',
type: 'tuple'
}
],
name: 'swapTokensToUserWithFeeV3',
outputs: [],
stateMutability: 'nonpayable',
type: 'function'
},
{
inputs: [
{
components: [
{
internalType: 'address',
name: 'user',
type: 'address'
},
{
internalType: 'uint256',
name: 'amountWithFee',
type: 'uint256'
},
{
internalType: 'uint256',
name: 'amountOutMin',
type: 'uint256'
},
{
internalType: 'bytes',
name: 'path',
type: 'bytes'
},
{
internalType: 'bytes32',
name: 'originalTxHash',
type: 'bytes32'
},
{
internalType: 'bytes',
name: 'concatSignatures',
type: 'bytes'
}
],
internalType: 'struct ISwapContractV3.swapFromParams',
name: 'params',
type: 'tuple'
}
],
name: 'swapCryptoToUserWithFeeV3',
outputs: [],
stateMutability: 'nonpayable',
type: 'function'
}
];
//# sourceMappingURL=cross-chain-contract-abi-v3.js.map