raiden-ts
Version:
Raiden Light Client Typescript/Javascript SDK
64 lines (60 loc) • 1.37 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type { UDCTransfer, UDCTransferInterface } from "../UDCTransfer";
const _abi = [
{
inputs: [
{
internalType: "address",
name: "udc_address",
type: "address",
},
],
stateMutability: "nonpayable",
type: "constructor",
},
{
inputs: [
{
internalType: "address",
name: "sender",
type: "address",
},
{
internalType: "address",
name: "receiver",
type: "address",
},
{
internalType: "uint256",
name: "amount",
type: "uint256",
},
],
name: "transfer",
outputs: [
{
internalType: "bool",
name: "success",
type: "bool",
},
],
stateMutability: "nonpayable",
type: "function",
},
];
export class UDCTransfer__factory {
static readonly abi = _abi;
static createInterface(): UDCTransferInterface {
return new utils.Interface(_abi) as UDCTransferInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): UDCTransfer {
return new Contract(address, _abi, signerOrProvider) as UDCTransfer;
}
}