UNPKG

@etherspot/contracts

Version:

Etherspot Solidity contracts

65 lines (61 loc) 1.42 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { IStargateReceiver, IStargateReceiverInterface, } from "../IStargateReceiver"; const _abi = [ { inputs: [ { internalType: "uint16", name: "_srcChainId", type: "uint16", }, { internalType: "bytes", name: "_srcAddress", type: "bytes", }, { internalType: "uint256", name: "_nonce", type: "uint256", }, { internalType: "address", name: "_token", type: "address", }, { internalType: "uint256", name: "amountLD", type: "uint256", }, { internalType: "bytes", name: "payload", type: "bytes", }, ], name: "sgReceive", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; export class IStargateReceiver__factory { static readonly abi = _abi; static createInterface(): IStargateReceiverInterface { return new utils.Interface(_abi) as IStargateReceiverInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): IStargateReceiver { return new Contract(address, _abi, signerOrProvider) as IStargateReceiver; } }