Hierarchy

  • Base
    • RailsGateway

Constructors

Properties

Accessors

Methods

addDecodedTypesToEvent addDecodedTypesToEvents bond claimFeesFromPath confirmClaim counterpartChainIds defaultTokenFee dispatcher distributeClaimedFees executor feeManager gateways getAmountOut getChainIdsSupportedByTokenSymbol getColorForChainId getConfigAddress getConfigStartBlock getContractAddresses getContractExists getCounterpartChainId getDefaultProvider getDefaultProviders getEthersWeb3Signer getEventFetcher getEventFilter getEventNames getExplorerApiBaseUrl getHubChainId getMessageFee getNextHopsHash getPath getPathId getProvider getPushClaimFee getRailsGatewayContract getRailsGatewayContractAddress getRailsPath getRemoveFee getSendFee getSigner getSignerAddress getSignerOrProvider getSignerProviderChainId getStakingRegistry getStakingRegistryContractAddress getSupportedChainIds getSupportedTokenSymbols getSupportedTokenSymbolsByChainId getTokenAddressByTokenSymbol getTokenSymbolByTokenAddress getTransferDataHash getTxOverrides initChain initPath isPathInitialized pushClaim pushClaimAndBond pushClaimAndWithdraw railsPathImplementation readdClaim removeClaim send sendTransaction setContractAddresses setDefaultTokenFee setExplorerApiBaseUrl setHubChainId setProvider setProviderUrl setProviderUrls setProviders setStakingRegistry setTokenFeeRecipient stakingRegistry throwError tokens updateDefaultTokenFee updateTokenFee withdrawBonds withdrawClaim addDecodedTypesToEvent addDecodedTypesToEvents deriveNetwork getComputedNextHopsHash getDefaultProvider getDefaultProviders getEventNames getEventSignature

Constructors

Properties

batchBlocks: number
chainId: BigNumberish
contractAddresses: Addresses
gasPriceMultiplier: number
hubChainId: string
l1ChainId: number
network: string
signersOrProviders: SignersOrProviders
EventName: typeof RailsGatewayEventName = EventName

Accessors

  • get helpers(): {
        approveBond: ((input, txOverrides?) => Promise<TransactionResponse>);
        approveSend: ((input, txOverrides?) => Promise<TransactionResponse>);
        decodeBondTxInputData: ((data) => Promise<DecodedBondInputData>);
        decodeSendTxInputData: ((data) => Promise<DecodedSendInputData>);
        estimateGasCostForSend: ((__namedParameters) => Promise<BigNumber>);
        getBucketIndex: ((__namedParameters) => Promise<number>);
        getClaim: ((__namedParameters) => Promise<Claim>);
        getComputedNextHopsHash: ((input) => string);
        getComputedTransferDataHash: ((input) => string);
        getComputedTransferId: ((__namedParameters) => string);
        getHasSufficientBalance: ((__namedParameters) => Promise<boolean>);
        getHeadClaimId: ((__namedParameters) => Promise<string>);
        getHopBalance: ((address?) => Promise<BigNumber>);
        getHopTokenAddress: (() => Promise<string>);
        getHopTokenContract: (() => Promise<Contract>);
        getInitialReserve: ((__namedParameters) => Promise<BigNumber>);
        getInitialReserveByTokenAddress: ((__namedParameters) => Promise<BigNumber>);
        getInitialReserveByTokenSymbol: ((__namedParameters) => Promise<BigNumber>);
        getIsPathIdLive: ((__namedParameters) => Promise<boolean>);
        getIsTransferBonded: ((__namedParameters) => Promise<boolean>);
        getIsTransferClaimed: ((__namedParameters) => Promise<boolean>);
        getNeedsApprovalForBond: ((__namedParameters) => Promise<boolean>);
        getNeedsApprovalForSend: ((__namedParameters) => Promise<boolean>);
        getPathInfo: ((__namedParameters) => Promise<Path>);
        getSourcePool: ((__namedParameters) => Promise<BigNumber>);
        getTokenContract: ((__namedParameters) => Contract);
        getTokenInfo: ((__namedParameters) => Promise<Token>);
        getTotalSent: ((__namedParameters) => Promise<BigNumber>);
        getTransferBondedEventFromTransactionHash: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferBonded>>);
        getTransferBondedEventFromTransactionReceipt: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferBonded>>);
        getTransferBondedEventFromTransferId: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferBonded>>);
        getTransferSentEventFromTransactionHash: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferSent>>);
        getTransferSentEventFromTransactionReceipt: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferSent>>);
        getTransferSentEventFromTransferId: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferSent>>);
        getWithdrawableBalance: ((__namedParameters) => Promise<BigNumber>);
        isValidClaim: ((__namedParameters) => Promise<boolean>);
        isValidTransfer: ((__namedParameters) => Promise<boolean>);
        getAbi(): readonly [{
            inputs: readonly [{
                internalType: "contract IStakingRegistry";
                name: "_stakingRegistry";
                type: "address";
            }, {
                internalType: "contract IMessageDispatcher";
                name: "_dispatcher";
                type: "address";
            }, {
                internalType: "contract IMessageExecutor";
                name: "_executor";
                type: "address";
            }, {
                internalType: "contract IFeeManager";
                name: "_feeManager";
                type: "address";
            }, {
                internalType: "address";
                name: "_railsPathImplementation";
                type: "address";
            }, {
                internalType: "uint256";
                name: "_defaultTokenFee";
                type: "uint256";
            }, {
                internalType: "address";
                name: "_tokenFeeRecipient";
                type: "address";
            }];
            stateMutability: "nonpayable";
            type: "constructor";
        }, {
            stateMutability: "payable";
            type: "receive";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "bonderFee";
                type: "uint256";
            }, {
                components: readonly [{
                    internalType: "bytes32";
                    name: "pathId";
                    type: "bytes32";
                }, {
                    internalType: "uint256";
                    name: "maxBonderFee";
                    type: "uint256";
                }, {
                    internalType: "uint256";
                    name: "maxTotalSent";
                    type: "uint256";
                }, {
                    internalType: "bytes32";
                    name: "attestedClaimId";
                    type: "bytes32";
                }];
                internalType: "struct Hop[]";
                name: "nextHops";
                type: "tuple[]";
            }];
            name: "bond";
            outputs: readonly [{
                internalType: "bytes32";
                name: "transferId";
                type: "bytes32";
            }];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }];
            name: "claimFeesFromPath";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }];
            name: "confirmClaim";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "";
                type: "bytes32";
            }];
            name: "counterpartChainIds";
            outputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [];
            name: "defaultTokenFee";
            outputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [];
            name: "dispatcher";
            outputs: readonly [{
                internalType: "contract IMessageDispatcher";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "address";
                name: "account";
                type: "address";
            }, {
                internalType: "uint256";
                name: "totalFees";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "lastClaimId";
                type: "bytes32";
            }];
            name: "distributeClaimedFees";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [];
            name: "executor";
            outputs: readonly [{
                internalType: "contract IMessageExecutor";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [];
            name: "feeManager";
            outputs: readonly [{
                internalType: "contract IFeeManager";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            name: "gateways";
            outputs: readonly [{
                internalType: "address";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "amount";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "attestedClaimId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "sourcePool";
                type: "uint256";
            }];
            name: "getAmountOut";
            outputs: readonly [{
                internalType: "uint256";
                name: "amountOut";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }];
            name: "getCounterpartChainId";
            outputs: readonly [{
                internalType: "uint256";
                name: "counterpartChainId";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "chainId";
                type: "uint256";
            }];
            name: "getMessageFee";
            outputs: readonly [{
                internalType: "uint256";
                name: "messageFee";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }];
            name: "getPath";
            outputs: readonly [{
                internalType: "contract IRailsPath";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "chainId0";
                type: "uint256";
            }, {
                internalType: "contract IERC20";
                name: "token0";
                type: "address";
            }, {
                internalType: "uint256";
                name: "chainId1";
                type: "uint256";
            }, {
                internalType: "contract IERC20";
                name: "token1";
                type: "address";
            }, {
                internalType: "uint256";
                name: "initialReserve";
                type: "uint256";
            }];
            name: "getPathId";
            outputs: readonly [{
                internalType: "bytes32";
                name: "";
                type: "bytes32";
            }];
            stateMutability: "pure";
            type: "function";
        }, {
            inputs: readonly [];
            name: "getPushClaimFee";
            outputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [];
            name: "getRemoveFee";
            outputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }];
            name: "getSendFee";
            outputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "chainId";
                type: "uint256";
            }, {
                internalType: "address";
                name: "gateway";
                type: "address";
            }];
            name: "initChain";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "contract IERC20";
                name: "token";
                type: "address";
            }, {
                internalType: "uint256";
                name: "counterpartChainId";
                type: "uint256";
            }, {
                internalType: "contract IERC20";
                name: "counterpartToken";
                type: "address";
            }, {
                internalType: "uint256";
                name: "initialReserve";
                type: "uint256";
            }];
            name: "initPath";
            outputs: readonly [{
                internalType: "bytes32";
                name: "";
                type: "bytes32";
            }];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }];
            name: "isPathInitialized";
            outputs: readonly [{
                internalType: "bool";
                name: "";
                type: "bool";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [];
            name: "owner";
            outputs: readonly [{
                internalType: "address";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }, {
                internalType: "address";
                name: "to";
                type: "address";
            }, {
                internalType: "uint256";
                name: "amount";
                type: "uint256";
            }, {
                internalType: "uint256";
                name: "maxBonderFee";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "attestedClaimId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "sourcePool";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "nextHopsHash";
                type: "bytes32";
            }];
            name: "pushClaim";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }, {
                internalType: "address";
                name: "to";
                type: "address";
            }, {
                internalType: "uint256";
                name: "amountOut";
                type: "uint256";
            }, {
                internalType: "uint256";
                name: "maxBonderFee";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "attestedClaimId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "sourcePool";
                type: "uint256";
            }, {
                internalType: "uint256";
                name: "bonderFee";
                type: "uint256";
            }, {
                components: readonly [{
                    internalType: "bytes32";
                    name: "pathId";
                    type: "bytes32";
                }, {
                    internalType: "uint256";
                    name: "maxBonderFee";
                    type: "uint256";
                }, {
                    internalType: "uint256";
                    name: "maxTotalSent";
                    type: "uint256";
                }, {
                    internalType: "bytes32";
                    name: "attestedClaimId";
                    type: "bytes32";
                }];
                internalType: "struct Hop[]";
                name: "nextHops";
                type: "tuple[]";
            }];
            name: "pushClaimAndBond";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }, {
                internalType: "address";
                name: "to";
                type: "address";
            }, {
                internalType: "uint256";
                name: "amountOut";
                type: "uint256";
            }, {
                internalType: "uint256";
                name: "maxBonderFee";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "attestedClaimId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "sourcePool";
                type: "uint256";
            }, {
                components: readonly [{
                    internalType: "bytes32";
                    name: "pathId";
                    type: "bytes32";
                }, {
                    internalType: "uint256";
                    name: "maxBonderFee";
                    type: "uint256";
                }, {
                    internalType: "uint256";
                    name: "maxTotalSent";
                    type: "uint256";
                }, {
                    internalType: "bytes32";
                    name: "attestedClaimId";
                    type: "bytes32";
                }];
                internalType: "struct Hop[]";
                name: "nextHops";
                type: "tuple[]";
            }];
            name: "pushClaimAndWithdraw";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [];
            name: "railsPathImplementation";
            outputs: readonly [{
                internalType: "address";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "transferDataHash";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }];
            name: "readdClaim";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }];
            name: "removeClaim";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [];
            name: "renounceOwnership";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "address";
                name: "to";
                type: "address";
            }, {
                internalType: "uint256";
                name: "amount";
                type: "uint256";
            }, {
                components: readonly [{
                    internalType: "bytes32";
                    name: "pathId";
                    type: "bytes32";
                }, {
                    internalType: "uint256";
                    name: "maxBonderFee";
                    type: "uint256";
                }, {
                    internalType: "uint256";
                    name: "maxTotalSent";
                    type: "uint256";
                }, {
                    internalType: "bytes32";
                    name: "attestedClaimId";
                    type: "bytes32";
                }];
                internalType: "struct Hop[]";
                name: "hops";
                type: "tuple[]";
            }];
            name: "send";
            outputs: readonly [{
                internalType: "bytes32";
                name: "transferId";
                type: "bytes32";
            }];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "fee";
                type: "uint256";
            }];
            name: "setDefaultTokenFee";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "contract IStakingRegistry";
                name: "newStakingRegistry";
                type: "address";
            }];
            name: "setStakingRegistry";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "address";
                name: "recipient";
                type: "address";
            }];
            name: "setTokenFeeRecipient";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [];
            name: "stakingRegistry";
            outputs: readonly [{
                internalType: "contract IStakingRegistry";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "";
                type: "bytes32";
            }];
            name: "tokens";
            outputs: readonly [{
                internalType: "contract IERC20";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "address";
                name: "newOwner";
                type: "address";
            }];
            name: "transferOwnership";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "fee";
                type: "uint256";
            }];
            name: "updateDefaultTokenFee";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "fee";
                type: "uint256";
            }];
            name: "updateTokenFee";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }];
            name: "withdrawBonds";
            outputs: readonly [{
                internalType: "uint256";
                name: "amount";
                type: "uint256";
            }];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }, {
                components: readonly [{
                    internalType: "bytes32";
                    name: "pathId";
                    type: "bytes32";
                }, {
                    internalType: "uint256";
                    name: "maxBonderFee";
                    type: "uint256";
                }, {
                    internalType: "uint256";
                    name: "maxTotalSent";
                    type: "uint256";
                }, {
                    internalType: "bytes32";
                    name: "attestedClaimId";
                    type: "bytes32";
                }];
                internalType: "struct Hop[]";
                name: "nextHops";
                type: "tuple[]";
            }];
            name: "withdrawClaim";
            outputs: readonly [{
                internalType: "bytes32";
                name: "transferId";
                type: "bytes32";
            }];
            stateMutability: "payable";
            type: "function";
        }, {
            anonymous: false;
            inputs: readonly [{
                indexed: true;
                internalType: "address";
                name: "previousOwner";
                type: "address";
            }, {
                indexed: true;
                internalType: "address";
                name: "newOwner";
                type: "address";
            }];
            name: "OwnershipTransferred";
            type: "event";
        }, {
            anonymous: false;
            inputs: readonly [{
                indexed: false;
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                indexed: false;
                internalType: "contract IERC20";
                name: "token";
                type: "address";
            }, {
                indexed: false;
                internalType: "uint256";
                name: "counterpartChainId";
                type: "uint256";
            }, {
                indexed: false;
                internalType: "contract IERC20";
                name: "counterpartToken";
                type: "address";
            }, {
                indexed: false;
                internalType: "uint256";
                name: "initialReserve";
                type: "uint256";
            }, {
                indexed: false;
                internalType: "address";
                name: "path";
                type: "address";
            }];
            name: "PathInitialized";
            type: "event";
        }];
    }
  • Returns {
        approveBond: ((input, txOverrides?) => Promise<TransactionResponse>);
        approveSend: ((input, txOverrides?) => Promise<TransactionResponse>);
        decodeBondTxInputData: ((data) => Promise<DecodedBondInputData>);
        decodeSendTxInputData: ((data) => Promise<DecodedSendInputData>);
        estimateGasCostForSend: ((__namedParameters) => Promise<BigNumber>);
        getBucketIndex: ((__namedParameters) => Promise<number>);
        getClaim: ((__namedParameters) => Promise<Claim>);
        getComputedNextHopsHash: ((input) => string);
        getComputedTransferDataHash: ((input) => string);
        getComputedTransferId: ((__namedParameters) => string);
        getHasSufficientBalance: ((__namedParameters) => Promise<boolean>);
        getHeadClaimId: ((__namedParameters) => Promise<string>);
        getHopBalance: ((address?) => Promise<BigNumber>);
        getHopTokenAddress: (() => Promise<string>);
        getHopTokenContract: (() => Promise<Contract>);
        getInitialReserve: ((__namedParameters) => Promise<BigNumber>);
        getInitialReserveByTokenAddress: ((__namedParameters) => Promise<BigNumber>);
        getInitialReserveByTokenSymbol: ((__namedParameters) => Promise<BigNumber>);
        getIsPathIdLive: ((__namedParameters) => Promise<boolean>);
        getIsTransferBonded: ((__namedParameters) => Promise<boolean>);
        getIsTransferClaimed: ((__namedParameters) => Promise<boolean>);
        getNeedsApprovalForBond: ((__namedParameters) => Promise<boolean>);
        getNeedsApprovalForSend: ((__namedParameters) => Promise<boolean>);
        getPathInfo: ((__namedParameters) => Promise<Path>);
        getSourcePool: ((__namedParameters) => Promise<BigNumber>);
        getTokenContract: ((__namedParameters) => Contract);
        getTokenInfo: ((__namedParameters) => Promise<Token>);
        getTotalSent: ((__namedParameters) => Promise<BigNumber>);
        getTransferBondedEventFromTransactionHash: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferBonded>>);
        getTransferBondedEventFromTransactionReceipt: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferBonded>>);
        getTransferBondedEventFromTransferId: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferBonded>>);
        getTransferSentEventFromTransactionHash: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferSent>>);
        getTransferSentEventFromTransactionReceipt: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferSent>>);
        getTransferSentEventFromTransferId: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferSent>>);
        getWithdrawableBalance: ((__namedParameters) => Promise<BigNumber>);
        isValidClaim: ((__namedParameters) => Promise<boolean>);
        isValidTransfer: ((__namedParameters) => Promise<boolean>);
        getAbi(): readonly [{
            inputs: readonly [{
                internalType: "contract IStakingRegistry";
                name: "_stakingRegistry";
                type: "address";
            }, {
                internalType: "contract IMessageDispatcher";
                name: "_dispatcher";
                type: "address";
            }, {
                internalType: "contract IMessageExecutor";
                name: "_executor";
                type: "address";
            }, {
                internalType: "contract IFeeManager";
                name: "_feeManager";
                type: "address";
            }, {
                internalType: "address";
                name: "_railsPathImplementation";
                type: "address";
            }, {
                internalType: "uint256";
                name: "_defaultTokenFee";
                type: "uint256";
            }, {
                internalType: "address";
                name: "_tokenFeeRecipient";
                type: "address";
            }];
            stateMutability: "nonpayable";
            type: "constructor";
        }, {
            stateMutability: "payable";
            type: "receive";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "bonderFee";
                type: "uint256";
            }, {
                components: readonly [{
                    internalType: "bytes32";
                    name: "pathId";
                    type: "bytes32";
                }, {
                    internalType: "uint256";
                    name: "maxBonderFee";
                    type: "uint256";
                }, {
                    internalType: "uint256";
                    name: "maxTotalSent";
                    type: "uint256";
                }, {
                    internalType: "bytes32";
                    name: "attestedClaimId";
                    type: "bytes32";
                }];
                internalType: "struct Hop[]";
                name: "nextHops";
                type: "tuple[]";
            }];
            name: "bond";
            outputs: readonly [{
                internalType: "bytes32";
                name: "transferId";
                type: "bytes32";
            }];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }];
            name: "claimFeesFromPath";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }];
            name: "confirmClaim";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "";
                type: "bytes32";
            }];
            name: "counterpartChainIds";
            outputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [];
            name: "defaultTokenFee";
            outputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [];
            name: "dispatcher";
            outputs: readonly [{
                internalType: "contract IMessageDispatcher";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "address";
                name: "account";
                type: "address";
            }, {
                internalType: "uint256";
                name: "totalFees";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "lastClaimId";
                type: "bytes32";
            }];
            name: "distributeClaimedFees";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [];
            name: "executor";
            outputs: readonly [{
                internalType: "contract IMessageExecutor";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [];
            name: "feeManager";
            outputs: readonly [{
                internalType: "contract IFeeManager";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            name: "gateways";
            outputs: readonly [{
                internalType: "address";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "amount";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "attestedClaimId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "sourcePool";
                type: "uint256";
            }];
            name: "getAmountOut";
            outputs: readonly [{
                internalType: "uint256";
                name: "amountOut";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }];
            name: "getCounterpartChainId";
            outputs: readonly [{
                internalType: "uint256";
                name: "counterpartChainId";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "chainId";
                type: "uint256";
            }];
            name: "getMessageFee";
            outputs: readonly [{
                internalType: "uint256";
                name: "messageFee";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }];
            name: "getPath";
            outputs: readonly [{
                internalType: "contract IRailsPath";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "chainId0";
                type: "uint256";
            }, {
                internalType: "contract IERC20";
                name: "token0";
                type: "address";
            }, {
                internalType: "uint256";
                name: "chainId1";
                type: "uint256";
            }, {
                internalType: "contract IERC20";
                name: "token1";
                type: "address";
            }, {
                internalType: "uint256";
                name: "initialReserve";
                type: "uint256";
            }];
            name: "getPathId";
            outputs: readonly [{
                internalType: "bytes32";
                name: "";
                type: "bytes32";
            }];
            stateMutability: "pure";
            type: "function";
        }, {
            inputs: readonly [];
            name: "getPushClaimFee";
            outputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [];
            name: "getRemoveFee";
            outputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }];
            name: "getSendFee";
            outputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "chainId";
                type: "uint256";
            }, {
                internalType: "address";
                name: "gateway";
                type: "address";
            }];
            name: "initChain";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "contract IERC20";
                name: "token";
                type: "address";
            }, {
                internalType: "uint256";
                name: "counterpartChainId";
                type: "uint256";
            }, {
                internalType: "contract IERC20";
                name: "counterpartToken";
                type: "address";
            }, {
                internalType: "uint256";
                name: "initialReserve";
                type: "uint256";
            }];
            name: "initPath";
            outputs: readonly [{
                internalType: "bytes32";
                name: "";
                type: "bytes32";
            }];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }];
            name: "isPathInitialized";
            outputs: readonly [{
                internalType: "bool";
                name: "";
                type: "bool";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [];
            name: "owner";
            outputs: readonly [{
                internalType: "address";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }, {
                internalType: "address";
                name: "to";
                type: "address";
            }, {
                internalType: "uint256";
                name: "amount";
                type: "uint256";
            }, {
                internalType: "uint256";
                name: "maxBonderFee";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "attestedClaimId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "sourcePool";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "nextHopsHash";
                type: "bytes32";
            }];
            name: "pushClaim";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }, {
                internalType: "address";
                name: "to";
                type: "address";
            }, {
                internalType: "uint256";
                name: "amountOut";
                type: "uint256";
            }, {
                internalType: "uint256";
                name: "maxBonderFee";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "attestedClaimId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "sourcePool";
                type: "uint256";
            }, {
                internalType: "uint256";
                name: "bonderFee";
                type: "uint256";
            }, {
                components: readonly [{
                    internalType: "bytes32";
                    name: "pathId";
                    type: "bytes32";
                }, {
                    internalType: "uint256";
                    name: "maxBonderFee";
                    type: "uint256";
                }, {
                    internalType: "uint256";
                    name: "maxTotalSent";
                    type: "uint256";
                }, {
                    internalType: "bytes32";
                    name: "attestedClaimId";
                    type: "bytes32";
                }];
                internalType: "struct Hop[]";
                name: "nextHops";
                type: "tuple[]";
            }];
            name: "pushClaimAndBond";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }, {
                internalType: "address";
                name: "to";
                type: "address";
            }, {
                internalType: "uint256";
                name: "amountOut";
                type: "uint256";
            }, {
                internalType: "uint256";
                name: "maxBonderFee";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "attestedClaimId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "sourcePool";
                type: "uint256";
            }, {
                components: readonly [{
                    internalType: "bytes32";
                    name: "pathId";
                    type: "bytes32";
                }, {
                    internalType: "uint256";
                    name: "maxBonderFee";
                    type: "uint256";
                }, {
                    internalType: "uint256";
                    name: "maxTotalSent";
                    type: "uint256";
                }, {
                    internalType: "bytes32";
                    name: "attestedClaimId";
                    type: "bytes32";
                }];
                internalType: "struct Hop[]";
                name: "nextHops";
                type: "tuple[]";
            }];
            name: "pushClaimAndWithdraw";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [];
            name: "railsPathImplementation";
            outputs: readonly [{
                internalType: "address";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "transferDataHash";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }];
            name: "readdClaim";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }];
            name: "removeClaim";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [];
            name: "renounceOwnership";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "address";
                name: "to";
                type: "address";
            }, {
                internalType: "uint256";
                name: "amount";
                type: "uint256";
            }, {
                components: readonly [{
                    internalType: "bytes32";
                    name: "pathId";
                    type: "bytes32";
                }, {
                    internalType: "uint256";
                    name: "maxBonderFee";
                    type: "uint256";
                }, {
                    internalType: "uint256";
                    name: "maxTotalSent";
                    type: "uint256";
                }, {
                    internalType: "bytes32";
                    name: "attestedClaimId";
                    type: "bytes32";
                }];
                internalType: "struct Hop[]";
                name: "hops";
                type: "tuple[]";
            }];
            name: "send";
            outputs: readonly [{
                internalType: "bytes32";
                name: "transferId";
                type: "bytes32";
            }];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "fee";
                type: "uint256";
            }];
            name: "setDefaultTokenFee";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "contract IStakingRegistry";
                name: "newStakingRegistry";
                type: "address";
            }];
            name: "setStakingRegistry";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "address";
                name: "recipient";
                type: "address";
            }];
            name: "setTokenFeeRecipient";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [];
            name: "stakingRegistry";
            outputs: readonly [{
                internalType: "contract IStakingRegistry";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "";
                type: "bytes32";
            }];
            name: "tokens";
            outputs: readonly [{
                internalType: "contract IERC20";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "address";
                name: "newOwner";
                type: "address";
            }];
            name: "transferOwnership";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "fee";
                type: "uint256";
            }];
            name: "updateDefaultTokenFee";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "fee";
                type: "uint256";
            }];
            name: "updateTokenFee";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }];
            name: "withdrawBonds";
            outputs: readonly [{
                internalType: "uint256";
                name: "amount";
                type: "uint256";
            }];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }, {
                components: readonly [{
                    internalType: "bytes32";
                    name: "pathId";
                    type: "bytes32";
                }, {
                    internalType: "uint256";
                    name: "maxBonderFee";
                    type: "uint256";
                }, {
                    internalType: "uint256";
                    name: "maxTotalSent";
                    type: "uint256";
                }, {
                    internalType: "bytes32";
                    name: "attestedClaimId";
                    type: "bytes32";
                }];
                internalType: "struct Hop[]";
                name: "nextHops";
                type: "tuple[]";
            }];
            name: "withdrawClaim";
            outputs: readonly [{
                internalType: "bytes32";
                name: "transferId";
                type: "bytes32";
            }];
            stateMutability: "payable";
            type: "function";
        }, {
            anonymous: false;
            inputs: readonly [{
                indexed: true;
                internalType: "address";
                name: "previousOwner";
                type: "address";
            }, {
                indexed: true;
                internalType: "address";
                name: "newOwner";
                type: "address";
            }];
            name: "OwnershipTransferred";
            type: "event";
        }, {
            anonymous: false;
            inputs: readonly [{
                indexed: false;
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                indexed: false;
                internalType: "contract IERC20";
                name: "token";
                type: "address";
            }, {
                indexed: false;
                internalType: "uint256";
                name: "counterpartChainId";
                type: "uint256";
            }, {
                indexed: false;
                internalType: "contract IERC20";
                name: "counterpartToken";
                type: "address";
            }, {
                indexed: false;
                internalType: "uint256";
                name: "initialReserve";
                type: "uint256";
            }, {
                indexed: false;
                internalType: "address";
                name: "path";
                type: "address";
            }];
            name: "PathInitialized";
            type: "event";
        }];
    }

    • approveBond: ((input, txOverrides?) => Promise<TransactionResponse>)
        • (input, txOverrides?): Promise<TransactionResponse>
        • Parameters

          Returns Promise<TransactionResponse>

    • approveSend: ((input, txOverrides?) => Promise<TransactionResponse>)
        • (input, txOverrides?): Promise<TransactionResponse>
        • Parameters

          Returns Promise<TransactionResponse>

    • decodeBondTxInputData: ((data) => Promise<DecodedBondInputData>)
        • (data): Promise<DecodedBondInputData>
        • Parameters

          • data: string

          Returns Promise<DecodedBondInputData>

    • decodeSendTxInputData: ((data) => Promise<DecodedSendInputData>)
        • (data): Promise<DecodedSendInputData>
        • Parameters

          • data: string

          Returns Promise<DecodedSendInputData>

    • estimateGasCostForSend: ((__namedParameters) => Promise<BigNumber>)
        • (__namedParameters): Promise<BigNumber>
        • Parameters

          • __namedParameters: EstimateGasCostForSendInput

          Returns Promise<BigNumber>

    • getBucketIndex: ((__namedParameters) => Promise<number>)
        • (__namedParameters): Promise<number>
        • Parameters

          Returns Promise<number>

    • getClaim: ((__namedParameters) => Promise<Claim>)
    • getComputedNextHopsHash: ((input) => string)
    • getComputedTransferDataHash: ((input) => string)
        • (input): string
        • Parameters

          • input: GetComputedTransferDataHashInput

          Returns string

    • getComputedTransferId: ((__namedParameters) => string)
        • (__namedParameters): string
        • Parameters

          • __namedParameters: GetComputedTransferIdInput

          Returns string

    • getHasSufficientBalance: ((__namedParameters) => Promise<boolean>)
    • getHeadClaimId: ((__namedParameters) => Promise<string>)
        • (__namedParameters): Promise<string>
        • Parameters

          Returns Promise<string>

    • getHopBalance: ((address?) => Promise<BigNumber>)
        • (address?): Promise<BigNumber>
        • Parameters

          • Optional address: null | string

          Returns Promise<BigNumber>

    • getHopTokenAddress: (() => Promise<string>)
        • (): Promise<string>
        • Returns Promise<string>

    • getHopTokenContract: (() => Promise<Contract>)
        • (): Promise<Contract>
        • Returns Promise<Contract>

    • getInitialReserve: ((__namedParameters) => Promise<BigNumber>)
        • (__namedParameters): Promise<BigNumber>
        • Parameters

          Returns Promise<BigNumber>

    • getInitialReserveByTokenAddress: ((__namedParameters) => Promise<BigNumber>)
    • getInitialReserveByTokenSymbol: ((__namedParameters) => Promise<BigNumber>)
    • getIsPathIdLive: ((__namedParameters) => Promise<boolean>)
        • (__namedParameters): Promise<boolean>
        • Parameters

          Returns Promise<boolean>

    • getIsTransferBonded: ((__namedParameters) => Promise<boolean>)
    • getIsTransferClaimed: ((__namedParameters) => Promise<boolean>)
    • getNeedsApprovalForBond: ((__namedParameters) => Promise<boolean>)
    • getNeedsApprovalForSend: ((__namedParameters) => Promise<boolean>)
    • getPathInfo: ((__namedParameters) => Promise<Path>)
    • getSourcePool: ((__namedParameters) => Promise<BigNumber>)
        • (__namedParameters): Promise<BigNumber>
        • Parameters

          • __namedParameters: GetSourcePoolInput

          Returns Promise<BigNumber>

    • getTokenContract: ((__namedParameters) => Contract)
    • getTokenInfo: ((__namedParameters) => Promise<Token>)
    • getTotalSent: ((__namedParameters) => Promise<BigNumber>)
        • (__namedParameters): Promise<BigNumber>
        • Parameters

          Returns Promise<BigNumber>

    • getTransferBondedEventFromTransactionHash: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferBonded>>)
    • getTransferBondedEventFromTransactionReceipt: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferBonded>>)
    • getTransferBondedEventFromTransferId: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferBonded>>)
        • (__namedParameters): Promise<null | EthersEventWithDecodedTypes<TransferBonded>>
        • Parameters

          Returns Promise<null | EthersEventWithDecodedTypes<TransferBonded>>

    • getTransferSentEventFromTransactionHash: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferSent>>)
    • getTransferSentEventFromTransactionReceipt: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferSent>>)
    • getTransferSentEventFromTransferId: ((__namedParameters) => Promise<null | EthersEventWithDecodedTypes<TransferSent>>)
        • (__namedParameters): Promise<null | EthersEventWithDecodedTypes<TransferSent>>
        • Parameters

          Returns Promise<null | EthersEventWithDecodedTypes<TransferSent>>

    • getWithdrawableBalance: ((__namedParameters) => Promise<BigNumber>)
    • isValidClaim: ((__namedParameters) => Promise<boolean>)
        • (__namedParameters): Promise<boolean>
        • Parameters

          Returns Promise<boolean>

    • isValidTransfer: ((__namedParameters) => Promise<boolean>)
        • (__namedParameters): Promise<boolean>
        • Parameters

          • __namedParameters: GetIsTransferIdValidInput

          Returns Promise<boolean>

    • getAbi:function
      • Returns readonly [{
            inputs: readonly [{
                internalType: "contract IStakingRegistry";
                name: "_stakingRegistry";
                type: "address";
            }, {
                internalType: "contract IMessageDispatcher";
                name: "_dispatcher";
                type: "address";
            }, {
                internalType: "contract IMessageExecutor";
                name: "_executor";
                type: "address";
            }, {
                internalType: "contract IFeeManager";
                name: "_feeManager";
                type: "address";
            }, {
                internalType: "address";
                name: "_railsPathImplementation";
                type: "address";
            }, {
                internalType: "uint256";
                name: "_defaultTokenFee";
                type: "uint256";
            }, {
                internalType: "address";
                name: "_tokenFeeRecipient";
                type: "address";
            }];
            stateMutability: "nonpayable";
            type: "constructor";
        }, {
            stateMutability: "payable";
            type: "receive";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "bonderFee";
                type: "uint256";
            }, {
                components: readonly [{
                    internalType: "bytes32";
                    name: "pathId";
                    type: "bytes32";
                }, {
                    internalType: "uint256";
                    name: "maxBonderFee";
                    type: "uint256";
                }, {
                    internalType: "uint256";
                    name: "maxTotalSent";
                    type: "uint256";
                }, {
                    internalType: "bytes32";
                    name: "attestedClaimId";
                    type: "bytes32";
                }];
                internalType: "struct Hop[]";
                name: "nextHops";
                type: "tuple[]";
            }];
            name: "bond";
            outputs: readonly [{
                internalType: "bytes32";
                name: "transferId";
                type: "bytes32";
            }];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }];
            name: "claimFeesFromPath";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }];
            name: "confirmClaim";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "";
                type: "bytes32";
            }];
            name: "counterpartChainIds";
            outputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [];
            name: "defaultTokenFee";
            outputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [];
            name: "dispatcher";
            outputs: readonly [{
                internalType: "contract IMessageDispatcher";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "address";
                name: "account";
                type: "address";
            }, {
                internalType: "uint256";
                name: "totalFees";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "lastClaimId";
                type: "bytes32";
            }];
            name: "distributeClaimedFees";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [];
            name: "executor";
            outputs: readonly [{
                internalType: "contract IMessageExecutor";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [];
            name: "feeManager";
            outputs: readonly [{
                internalType: "contract IFeeManager";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            name: "gateways";
            outputs: readonly [{
                internalType: "address";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "amount";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "attestedClaimId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "sourcePool";
                type: "uint256";
            }];
            name: "getAmountOut";
            outputs: readonly [{
                internalType: "uint256";
                name: "amountOut";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }];
            name: "getCounterpartChainId";
            outputs: readonly [{
                internalType: "uint256";
                name: "counterpartChainId";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "chainId";
                type: "uint256";
            }];
            name: "getMessageFee";
            outputs: readonly [{
                internalType: "uint256";
                name: "messageFee";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }];
            name: "getPath";
            outputs: readonly [{
                internalType: "contract IRailsPath";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "chainId0";
                type: "uint256";
            }, {
                internalType: "contract IERC20";
                name: "token0";
                type: "address";
            }, {
                internalType: "uint256";
                name: "chainId1";
                type: "uint256";
            }, {
                internalType: "contract IERC20";
                name: "token1";
                type: "address";
            }, {
                internalType: "uint256";
                name: "initialReserve";
                type: "uint256";
            }];
            name: "getPathId";
            outputs: readonly [{
                internalType: "bytes32";
                name: "";
                type: "bytes32";
            }];
            stateMutability: "pure";
            type: "function";
        }, {
            inputs: readonly [];
            name: "getPushClaimFee";
            outputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [];
            name: "getRemoveFee";
            outputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }];
            name: "getSendFee";
            outputs: readonly [{
                internalType: "uint256";
                name: "";
                type: "uint256";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "chainId";
                type: "uint256";
            }, {
                internalType: "address";
                name: "gateway";
                type: "address";
            }];
            name: "initChain";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "contract IERC20";
                name: "token";
                type: "address";
            }, {
                internalType: "uint256";
                name: "counterpartChainId";
                type: "uint256";
            }, {
                internalType: "contract IERC20";
                name: "counterpartToken";
                type: "address";
            }, {
                internalType: "uint256";
                name: "initialReserve";
                type: "uint256";
            }];
            name: "initPath";
            outputs: readonly [{
                internalType: "bytes32";
                name: "";
                type: "bytes32";
            }];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }];
            name: "isPathInitialized";
            outputs: readonly [{
                internalType: "bool";
                name: "";
                type: "bool";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [];
            name: "owner";
            outputs: readonly [{
                internalType: "address";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }, {
                internalType: "address";
                name: "to";
                type: "address";
            }, {
                internalType: "uint256";
                name: "amount";
                type: "uint256";
            }, {
                internalType: "uint256";
                name: "maxBonderFee";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "attestedClaimId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "sourcePool";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "nextHopsHash";
                type: "bytes32";
            }];
            name: "pushClaim";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }, {
                internalType: "address";
                name: "to";
                type: "address";
            }, {
                internalType: "uint256";
                name: "amountOut";
                type: "uint256";
            }, {
                internalType: "uint256";
                name: "maxBonderFee";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "attestedClaimId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "sourcePool";
                type: "uint256";
            }, {
                internalType: "uint256";
                name: "bonderFee";
                type: "uint256";
            }, {
                components: readonly [{
                    internalType: "bytes32";
                    name: "pathId";
                    type: "bytes32";
                }, {
                    internalType: "uint256";
                    name: "maxBonderFee";
                    type: "uint256";
                }, {
                    internalType: "uint256";
                    name: "maxTotalSent";
                    type: "uint256";
                }, {
                    internalType: "bytes32";
                    name: "attestedClaimId";
                    type: "bytes32";
                }];
                internalType: "struct Hop[]";
                name: "nextHops";
                type: "tuple[]";
            }];
            name: "pushClaimAndBond";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }, {
                internalType: "address";
                name: "to";
                type: "address";
            }, {
                internalType: "uint256";
                name: "amountOut";
                type: "uint256";
            }, {
                internalType: "uint256";
                name: "maxBonderFee";
                type: "uint256";
            }, {
                internalType: "bytes32";
                name: "attestedClaimId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "sourcePool";
                type: "uint256";
            }, {
                components: readonly [{
                    internalType: "bytes32";
                    name: "pathId";
                    type: "bytes32";
                }, {
                    internalType: "uint256";
                    name: "maxBonderFee";
                    type: "uint256";
                }, {
                    internalType: "uint256";
                    name: "maxTotalSent";
                    type: "uint256";
                }, {
                    internalType: "bytes32";
                    name: "attestedClaimId";
                    type: "bytes32";
                }];
                internalType: "struct Hop[]";
                name: "nextHops";
                type: "tuple[]";
            }];
            name: "pushClaimAndWithdraw";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [];
            name: "railsPathImplementation";
            outputs: readonly [{
                internalType: "address";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "transferDataHash";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }];
            name: "readdClaim";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }];
            name: "removeClaim";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [];
            name: "renounceOwnership";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "address";
                name: "to";
                type: "address";
            }, {
                internalType: "uint256";
                name: "amount";
                type: "uint256";
            }, {
                components: readonly [{
                    internalType: "bytes32";
                    name: "pathId";
                    type: "bytes32";
                }, {
                    internalType: "uint256";
                    name: "maxBonderFee";
                    type: "uint256";
                }, {
                    internalType: "uint256";
                    name: "maxTotalSent";
                    type: "uint256";
                }, {
                    internalType: "bytes32";
                    name: "attestedClaimId";
                    type: "bytes32";
                }];
                internalType: "struct Hop[]";
                name: "hops";
                type: "tuple[]";
            }];
            name: "send";
            outputs: readonly [{
                internalType: "bytes32";
                name: "transferId";
                type: "bytes32";
            }];
            stateMutability: "payable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "fee";
                type: "uint256";
            }];
            name: "setDefaultTokenFee";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "contract IStakingRegistry";
                name: "newStakingRegistry";
                type: "address";
            }];
            name: "setStakingRegistry";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "address";
                name: "recipient";
                type: "address";
            }];
            name: "setTokenFeeRecipient";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [];
            name: "stakingRegistry";
            outputs: readonly [{
                internalType: "contract IStakingRegistry";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "";
                type: "bytes32";
            }];
            name: "tokens";
            outputs: readonly [{
                internalType: "contract IERC20";
                name: "";
                type: "address";
            }];
            stateMutability: "view";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "address";
                name: "newOwner";
                type: "address";
            }];
            name: "transferOwnership";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "uint256";
                name: "fee";
                type: "uint256";
            }];
            name: "updateDefaultTokenFee";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "uint256";
                name: "fee";
                type: "uint256";
            }];
            name: "updateTokenFee";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }];
            name: "withdrawBonds";
            outputs: readonly [{
                internalType: "uint256";
                name: "amount";
                type: "uint256";
            }];
            stateMutability: "nonpayable";
            type: "function";
        }, {
            inputs: readonly [{
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                internalType: "bytes32";
                name: "claimId";
                type: "bytes32";
            }, {
                components: readonly [{
                    internalType: "bytes32";
                    name: "pathId";
                    type: "bytes32";
                }, {
                    internalType: "uint256";
                    name: "maxBonderFee";
                    type: "uint256";
                }, {
                    internalType: "uint256";
                    name: "maxTotalSent";
                    type: "uint256";
                }, {
                    internalType: "bytes32";
                    name: "attestedClaimId";
                    type: "bytes32";
                }];
                internalType: "struct Hop[]";
                name: "nextHops";
                type: "tuple[]";
            }];
            name: "withdrawClaim";
            outputs: readonly [{
                internalType: "bytes32";
                name: "transferId";
                type: "bytes32";
            }];
            stateMutability: "payable";
            type: "function";
        }, {
            anonymous: false;
            inputs: readonly [{
                indexed: true;
                internalType: "address";
                name: "previousOwner";
                type: "address";
            }, {
                indexed: true;
                internalType: "address";
                name: "newOwner";
                type: "address";
            }];
            name: "OwnershipTransferred";
            type: "event";
        }, {
            anonymous: false;
            inputs: readonly [{
                indexed: false;
                internalType: "bytes32";
                name: "pathId";
                type: "bytes32";
            }, {
                indexed: false;
                internalType: "contract IERC20";
                name: "token";
                type: "address";
            }, {
                indexed: false;
                internalType: "uint256";
                name: "counterpartChainId";
                type: "uint256";
            }, {
                indexed: false;
                internalType: "contract IERC20";
                name: "counterpartToken";
                type: "address";
            }, {
                indexed: false;
                internalType: "uint256";
                name: "initialReserve";
                type: "uint256";
            }, {
                indexed: false;
                internalType: "address";
                name: "path";
                type: "address";
            }];
            name: "PathInitialized";
            type: "event";
        }]

  • get populateTransaction(): {
        approveBond: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        approveSend: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        bond: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        claimFeesFromPath: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        confirmClaim: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        distributeClaimedFees: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        pushClaim: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        pushClaimAndBond: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        pushClaimAndWithdraw: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        readdClaim: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        removeClaim: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        send: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        withdrawBonds: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        withdrawClaim: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
    }
  • Returns {
        approveBond: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        approveSend: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        bond: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        claimFeesFromPath: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        confirmClaim: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        distributeClaimedFees: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        pushClaim: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        pushClaimAndBond: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        pushClaimAndWithdraw: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        readdClaim: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        removeClaim: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        send: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        withdrawBonds: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
        withdrawClaim: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>);
    }

    • approveBond: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>)
        • (__namedParameters, txOverrides?): Promise<TransactionRequest>
        • Parameters

          Returns Promise<TransactionRequest>

    • approveSend: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>)
        • (__namedParameters, txOverrides?): Promise<TransactionRequest>
        • Parameters

          Returns Promise<TransactionRequest>

    • bond: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>)
        • (__namedParameters, txOverrides?): Promise<TransactionRequest>
        • Parameters

          • __namedParameters: BondInput
          • txOverrides: TxOverrides = {}

          Returns Promise<TransactionRequest>

    • claimFeesFromPath: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>)
        • (__namedParameters, txOverrides?): Promise<TransactionRequest>
        • Parameters

          Returns Promise<TransactionRequest>

    • confirmClaim: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>)
        • (__namedParameters, txOverrides?): Promise<TransactionRequest>
        • Parameters

          Returns Promise<TransactionRequest>

    • distributeClaimedFees: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>)
        • (__namedParameters, txOverrides?): Promise<TransactionRequest>
        • Parameters

          Returns Promise<TransactionRequest>

    • pushClaim: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>)
        • (__namedParameters, txOverrides?): Promise<TransactionRequest>
        • Parameters

          Returns Promise<TransactionRequest>

    • pushClaimAndBond: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>)
        • (__namedParameters, txOverrides?): Promise<TransactionRequest>
        • Parameters

          Returns Promise<TransactionRequest>

    • pushClaimAndWithdraw: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>)
        • (__namedParameters, txOverrides?): Promise<TransactionRequest>
        • Parameters

          Returns Promise<TransactionRequest>

    • readdClaim: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>)
        • (__namedParameters, txOverrides?): Promise<TransactionRequest>
        • Parameters

          Returns Promise<TransactionRequest>

    • removeClaim: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>)
        • (__namedParameters, txOverrides?): Promise<TransactionRequest>
        • Parameters

          Returns Promise<TransactionRequest>

    • send: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>)
        • (__namedParameters, txOverrides?): Promise<TransactionRequest>
        • Parameters

          • __namedParameters: SendInput
          • txOverrides: TxOverrides = {}

          Returns Promise<TransactionRequest>

    • withdrawBonds: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>)
        • (__namedParameters, txOverrides?): Promise<TransactionRequest>
        • Parameters

          Returns Promise<TransactionRequest>

    • withdrawClaim: ((__namedParameters, txOverrides?) => Promise<TransactionRequest>)
        • (__namedParameters, txOverrides?): Promise<TransactionRequest>
        • Parameters

          Returns Promise<TransactionRequest>

  • get utils(): {
        estimateGas: ((provider, tx) => Promise<BigNumber>);
        generateZeroBytes32: (() => string);
        getAddressExplorerUrl: ((address, chainId) => string);
        getBumpedGasPrice: ((provider, percent) => Promise<BigNumber>);
        getChainInfo: ((chainId) => any);
        getChainSlug: ((chainId) => string);
        getConnectedChainId: ((provider) => Promise<BigNumber>);
        getGasPrice: ((signerOrProvider) => Promise<BigNumber>);
        getLogoForChainId: ((chainId) => string);
        getLogoForChainSlug: ((chainSlug) => string);
        getLogoForTokenSymbol: ((tokenSymbol) => string);
        getTokenExplorerUrl: ((address, chainId) => string);
        getTransactionHashExplorerUrl: ((txHash, chainId) => string);
        isContractError: ((err) => boolean);
        isValidAddress: ((address) => boolean);
        isValidBytes: ((bytes) => boolean);
        isValidBytes32: ((hash) => boolean);
        isValidChainId: ((chainId) => boolean);
        isValidFilterBlock: ((blockTag) => boolean);
        isValidNumericValue: ((value) => boolean);
        isValidObject: ((obj) => boolean);
        isValidTxHash: ((txHash) => boolean);
        switchChain: ((chainId, provider) => Promise<void>);
        willTransactionFail: ((provider, tx) => Promise<boolean>);
    }
  • Returns {
        estimateGas: ((provider, tx) => Promise<BigNumber>);
        generateZeroBytes32: (() => string);
        getAddressExplorerUrl: ((address, chainId) => string);
        getBumpedGasPrice: ((provider, percent) => Promise<BigNumber>);
        getChainInfo: ((chainId) => any);
        getChainSlug: ((chainId) => string);
        getConnectedChainId: ((provider) => Promise<BigNumber>);
        getGasPrice: ((signerOrProvider) => Promise<BigNumber>);
        getLogoForChainId: ((chainId) => string);
        getLogoForChainSlug: ((chainSlug) => string);
        getLogoForTokenSymbol: ((tokenSymbol) => string);
        getTokenExplorerUrl: ((address, chainId) => string);
        getTransactionHashExplorerUrl: ((txHash, chainId) => string);
        isContractError: ((err) => boolean);
        isValidAddress: ((address) => boolean);
        isValidBytes: ((bytes) => boolean);
        isValidBytes32: ((hash) => boolean);
        isValidChainId: ((chainId) => boolean);
        isValidFilterBlock: ((blockTag) => boolean);
        isValidNumericValue: ((value) => boolean);
        isValidObject: ((obj) => boolean);
        isValidTxHash: ((txHash) => boolean);
        switchChain: ((chainId, provider) => Promise<void>);
        willTransactionFail: ((provider, tx) => Promise<boolean>);
    }

    • estimateGas: ((provider, tx) => Promise<BigNumber>)
        • (provider, tx): Promise<BigNumber>
        • Parameters

          • provider: Provider
          • tx: TransactionRequest

          Returns Promise<BigNumber>

    • generateZeroBytes32: (() => string)
        • (): string
        • Returns string

    • getAddressExplorerUrl: ((address, chainId) => string)
        • (address, chainId): string
        • Parameters

          • address: string
          • chainId: BigNumberish

          Returns string

    • getBumpedGasPrice: ((provider, percent) => Promise<BigNumber>)
        • (provider, percent): Promise<BigNumber>
        • Parameters

          • provider: Provider
          • percent: number

          Returns Promise<BigNumber>

    • getChainInfo: ((chainId) => any)
        • (chainId): any
        • Parameters

          • chainId: BigNumberish

          Returns any

    • getChainSlug: ((chainId) => string)
        • (chainId): string
        • Parameters

          • chainId: BigNumberish

          Returns string

    • getConnectedChainId: ((provider) => Promise<BigNumber>)
        • (provider): Promise<BigNumber>
        • Parameters

          • provider: Provider

          Returns Promise<BigNumber>

    • getGasPrice: ((signerOrProvider) => Promise<BigNumber>)
        • (signerOrProvider): Promise<BigNumber>
        • Parameters

          • signerOrProvider: Provider | Signer

          Returns Promise<BigNumber>

    • getLogoForChainId: ((chainId) => string)
        • (chainId): string
        • Parameters

          • chainId: BigNumberish

          Returns string

    • getLogoForChainSlug: ((chainSlug) => string)
        • (chainSlug): string
        • Parameters

          • chainSlug: string

          Returns string

    • getLogoForTokenSymbol: ((tokenSymbol) => string)
        • (tokenSymbol): string
        • Parameters

          • tokenSymbol: string

          Returns string

    • getTokenExplorerUrl: ((address, chainId) => string)
        • (address, chainId): string
        • Parameters

          • address: string
          • chainId: BigNumberish

          Returns string

    • getTransactionHashExplorerUrl: ((txHash, chainId) => string)
        • (txHash, chainId): string
        • Parameters

          • txHash: string
          • chainId: BigNumberish

          Returns string

    • isContractError: ((err) => boolean)
        • (err): boolean
        • Parameters

          • err: unknown

          Returns boolean

    • isValidAddress: ((address) => boolean)
        • (address): boolean
        • Parameters

          • address: string

          Returns boolean

    • isValidBytes: ((bytes) => boolean)
        • (bytes): boolean
        • Parameters

          • bytes: string

          Returns boolean

    • isValidBytes32: ((hash) => boolean)
        • (hash): boolean
        • Parameters

          • hash: string

          Returns boolean

    • isValidChainId: ((chainId) => boolean)
        • (chainId): boolean
        • Parameters

          • chainId: BigNumberish

          Returns boolean

    • isValidFilterBlock: ((blockTag) => boolean)
        • (blockTag): boolean
        • Parameters

          • blockTag: string | number

          Returns boolean

    • isValidNumericValue: ((value) => boolean)
        • (value): boolean
        • Parameters

          • value: null | object | BigNumberish

          Returns boolean

    • isValidObject: ((obj) => boolean)
        • (obj): boolean
        • Parameters

          • obj: any

          Returns boolean

    • isValidTxHash: ((txHash) => boolean)
        • (txHash): boolean
        • Parameters

          • txHash: string

          Returns boolean

    • switchChain: ((chainId, provider) => Promise<void>)
        • (chainId, provider): Promise<void>
        • Parameters

          • chainId: BigNumberish
          • provider: Provider

          Returns Promise<void>

    • willTransactionFail: ((provider, tx) => Promise<boolean>)
        • (provider, tx): Promise<boolean>
        • Parameters

          • provider: Provider
          • tx: TransactionRequest

          Returns Promise<boolean>

Methods

  • Parameters

    • event: any

    Returns EthersEventWithDecodedTypesAndBaseContext<PathInitialized>

  • Parameters

    • events: any[]

    Returns EthersEventWithDecodedTypesAndBaseContext<PathInitialized>[]

  • Parameters

    • input: BondInput
    • txOverrides: TxOverrides = {}

    Returns Promise<TransactionResponse>

  • Parameters

    Returns Promise<TransactionResponse>

  • Parameters

    Returns Promise<TransactionResponse>

  • Parameters

    Returns Promise<BigNumber[]>

  • Returns Promise<BigNumber>

  • Returns Promise<string>

  • Parameters

    Returns Promise<TransactionResponse>

  • Returns Promise<string>

  • Returns Promise<string>

  • Parameters

    • __namedParameters: GetGatewaysInput

    Returns Promise<string>

  • Parameters

    Returns Promise<BigNumber>

  • Parameters

    • tokenSymbol: string

    Returns string[]

  • Parameters

    • chainId: BigNumberish

    Returns string

  • Parameters

    • chainId: BigNumberish
    • key: string

    Returns string

  • Parameters

    • chainId: BigNumberish

    Returns number

  • Returns Addresses

  • Parameters

    • address: string
    • provider: Provider

    Returns Promise<boolean>

  • Parameters

    Returns Promise<BigNumber>

  • Parameters

    • chainId: BigNumberish

    Returns Provider

  • Returns SignersOrProviders

  • Parameters

    • signer: any

    Returns Signer

  • Parameters

    • eventName: string

    Returns any

  • Parameters

    Returns any

  • EVENT HANDLERS

    Returns string[]

  • Returns string

  • Returns string

  • Parameters

    Returns Promise<string>

  • Parameters

    Returns Promise<string>

  • Parameters

    Returns Promise<string>

  • Parameters

    • chainId: BigNumberish

    Returns null | Provider

  • Returns Promise<BigNumber>

  • Returns Promise<Contract>

  • Returns string

  • Parameters

    • Optional pathId: string
    • Optional address: string

    Returns Promise<RailsPath>

  • Returns Promise<BigNumber>

  • Parameters

    • chainId: BigNumberish

    Returns Promise<null | Signer>

  • Parameters

    • chainId: BigNumberish

    Returns Promise<null | string>

  • Parameters

    • chainId: BigNumberish

    Returns Promise<Provider | Signer>

  • Parameters

    • chainId: BigNumberish

    Returns Promise<BigNumber>

  • Returns StakingRegistry

  • Returns Promise<string>

  • Returns string[]

  • Returns string[]

  • Parameters

    • chainId: BigNumberish

    Returns string[]

  • Parameters

    • chainId: BigNumberish
    • tokenSymbol: string

    Returns string

  • Parameters

    • chainId: BigNumberish
    • tokenAddress: string

    Returns string

  • Parameters

    Returns Promise<string>

  • Parameters

    • fromChainId: BigNumberish
    • toChainId: BigNumberish

    Returns Promise<TxOverrides>

  • ADMIN FUNCTIONS

    Parameters

    Returns Promise<TransactionResponse>

  • Parameters

    Returns Promise<TransactionResponse>

  • /END ADMIN FUNCTIONS

    Parameters

    Returns Promise<boolean>

  • Parameters

    Returns Promise<TransactionResponse>

  • Parameters

    Returns Promise<TransactionResponse>

  • Parameters

    Returns Promise<TransactionResponse>

  • Returns Promise<string>

  • Parameters

    Returns Promise<TransactionResponse>

  • Parameters

    Returns Promise<TransactionResponse>

  • Parameters

    • input: SendInput
    • txOverrides: TxOverrides = {}

    Returns Promise<TransactionResponse>

  • Parameters

    • transactionRequest: TransactionRequest
    • Optional chainId: BigNumberish
    • Optional customSigner: null | Signer

    Returns Promise<TransactionResponse>

  • Parameters

    • contractAddresses: Addresses

    Returns void

  • Parameters

    Returns Promise<TransactionResponse>

  • Parameters

    • url: string

    Returns void

  • Parameters

    • newChainId: BigNumberish

    Returns void

  • Parameters

    • chainId: BigNumberish
    • provider: Provider | Signer

    Returns void

  • Parameters

    • chainId: BigNumberish
    • url: string | string[]

    Returns void

  • Parameters

    • signersOrProvidersUrls: Record<string, string | string[]>

    Returns void

  • Parameters

    • signersOrProviders: SignersOrProviders

    Returns void

  • Parameters

    Returns Promise<TransactionResponse>

  • Parameters

    Returns Promise<TransactionResponse>

  • Returns Promise<string>

  • Parameters

    • err: unknown

    Returns unknown

  • Parameters

    Returns Promise<string>

  • Parameters

    Returns Promise<TransactionResponse>

  • Parameters

    Returns Promise<TransactionResponse>

  • Parameters

    Returns Promise<TransactionResponse>

  • Parameters

    Returns Promise<TransactionResponse>

  • Parameters

    • event: any
    • Optional chainId: BigNumberish

    Returns EthersEventWithDecodedTypesAndBaseContext<PathInitialized>

  • Parameters

    • events: any[]
    • Optional chainId: BigNumberish

    Returns EthersEventWithDecodedTypesAndBaseContext<PathInitialized>[]

  • Parameters

    • chainId: BigNumberish

    Returns string

  • STATIC METHODS

    Parameters

    Returns string

  • Parameters

    • chainId: BigNumberish

    Returns Provider

  • Parameters

    • network: string

    Returns SignersOrProviders

  • Returns string[]

  • Parameters

    Returns string