raiden-ts
Version:
Raiden Light Client Typescript/Javascript SDK
98 lines • 2.47 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Deposit__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
{
inputs: [
{
internalType: "contract Token",
name: "_token",
type: "address",
},
{
internalType: "uint256",
name: "_release_at",
type: "uint256",
},
{
internalType: "address",
name: "_withdrawer",
type: "address",
},
{
internalType: "contract ServiceRegistryConfigurableParameters",
name: "_service_registry",
type: "address",
},
],
stateMutability: "nonpayable",
type: "constructor",
},
{
inputs: [],
name: "token",
outputs: [
{
internalType: "contract Token",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address payable",
name: "_to",
type: "address",
},
],
name: "withdraw",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "withdrawable_after",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "withdrawer",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
];
class Deposit__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.Deposit__factory = Deposit__factory;
Deposit__factory.abi = _abi;
//# sourceMappingURL=Deposit__factory.js.map