raiden-ts
Version:
Raiden Light Client Typescript/Javascript SDK
92 lines • 2.24 kB
JavaScript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, utils } from "ethers";
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "bytes32",
name: "secrethash",
type: "bytes32",
},
{
indexed: false,
internalType: "bytes32",
name: "secret",
type: "bytes32",
},
],
name: "SecretRevealed",
type: "event",
},
{
inputs: [
{
internalType: "bytes32",
name: "secrethash",
type: "bytes32",
},
],
name: "getSecretRevealBlockTime",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "bytes32",
name: "secret",
type: "bytes32",
},
],
name: "registerSecret",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "bytes32[]",
name: "secrets",
type: "bytes32[]",
},
],
name: "registerSecretBatch",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "nonpayable",
type: "function",
},
];
export class SecretRegistry__factory {
static createInterface() {
return new utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new Contract(address, _abi, signerOrProvider);
}
}
SecretRegistry__factory.abi = _abi;
//# sourceMappingURL=SecretRegistry__factory.js.map