/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; import { Provider, TransactionRequest } from "@ethersproject/providers"; import type { RiverBoxRandom, RiverBoxRandomInterface, } from "../RiverBoxRandom"; const _abi = [ { inputs: [ { internalType: "address", name: "_caller", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address", }, { indexed: true, internalType: "address", name: "newOwner", type: "address", }, ], name: "OwnershipTransferred", type: "event", }, { inputs: [], name: "caller", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "salt", type: "uint256", }, ], name: "generateSignature", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "riverBox", type: "address", }, ], name: "setCaller", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; const _bytecode = "0x608060405234801561001057600080fd5b506040516104bc3803806104bc83398101604081905261002f916100ad565b6100383361005d565b600180546001600160a01b0319166001600160a01b03929092169190911790556100db565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100be578081fd5b81516001600160a01b03811681146100d4578182fd5b9392505050565b6103d2806100ea6000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063715018a6146100675780638da5cb5b146100715780639e47a7841461009b578063beb92f55146100bc578063f2fde38b146100cf578063fc9c8d39146100e2575b600080fd5b61006f6100f5565b005b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100ae6100a936600461034f565b610134565b604051908152602001610092565b61006f6100ca366004610321565b6101ea565b61006f6100dd366004610321565b610236565b60015461007e906001600160a01b031681565b6000546001600160a01b031633146101285760405162461bcd60e51b815260040161011f90610367565b60405180910390fd5b61013260006102d1565b565b6001546000906001600160a01b0316336001600160a01b0316146101b05760405162461bcd60e51b815260206004820152602d60248201527f6f6e6c79207269766572426f7820636f6e74726163742063616e2063616c6c2060448201526c3a3434b990333ab731ba34b7b760991b606482015260840161011f565b6040805144602082015242918101919091526060810183905260800160408051601f19818403018152919052805160209091012092915050565b6000546001600160a01b031633146102145760405162461bcd60e51b815260040161011f90610367565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146102605760405162461bcd60e51b815260040161011f90610367565b6001600160a01b0381166102c55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161011f565b6102ce816102d1565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215610332578081fd5b81356001600160a01b0381168114610348578182fd5b9392505050565b600060208284031215610360578081fd5b5035919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220e7cb3bff06607209f9b467e45b9ca808c227e612366df37bee5054f0877513af64736f6c63430008020033"; export class RiverBoxRandom__factory extends ContractFactory { constructor(signer?: Signer) { super(_abi, _bytecode, signer); } deploy( _caller: string, overrides?: Overrides & { from?: string | Promise } ): Promise { return super.deploy(_caller, overrides || {}) as Promise; } getDeployTransaction( _caller: string, overrides?: Overrides & { from?: string | Promise } ): TransactionRequest { return super.getDeployTransaction(_caller, overrides || {}); } attach(address: string): RiverBoxRandom { return super.attach(address) as RiverBoxRandom; } connect(signer: Signer): RiverBoxRandom__factory { return super.connect(signer) as RiverBoxRandom__factory; } static readonly bytecode = _bytecode; static readonly abi = _abi; static createInterface(): RiverBoxRandomInterface { return new utils.Interface(_abi) as RiverBoxRandomInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): RiverBoxRandom { return new Contract(address, _abi, signerOrProvider) as RiverBoxRandom; } }