UNPKG

zksync-ethers

Version:

A Web3 library for interacting with the ZkSync Layer 2 scaling solution.

200 lines (196 loc) 3.72 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Interface, type ContractRunner } from "ethers"; import type { IBridgedStandardToken, IBridgedStandardTokenInterface, } from "../IBridgedStandardToken"; const _abi = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "BridgeBurn", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "l1Token", type: "address", }, { indexed: false, internalType: "string", name: "name", type: "string", }, { indexed: false, internalType: "string", name: "symbol", type: "string", }, { indexed: false, internalType: "uint8", name: "decimals", type: "uint8", }, ], name: "BridgeInitialize", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "BridgeMint", type: "event", }, { inputs: [], name: "assetId", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_account", type: "address", }, { internalType: "uint256", name: "_amount", type: "uint256", }, ], name: "bridgeBurn", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_account", type: "address", }, { internalType: "uint256", name: "_amount", type: "uint256", }, ], name: "bridgeMint", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "l1Address", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "l2Bridge", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "nativeTokenVault", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "originToken", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, ] as const; export class IBridgedStandardToken__factory { static readonly abi = _abi; static createInterface(): IBridgedStandardTokenInterface { return new Interface(_abi) as IBridgedStandardTokenInterface; } static connect( address: string, runner?: ContractRunner | null ): IBridgedStandardToken { return new Contract( address, _abi, runner ) as unknown as IBridgedStandardToken; } }