From c2491d58170c56df41a29436921123723b7d873b Mon Sep 17 00:00:00 2001 From: Adam Gall Date: Wed, 8 May 2024 16:08:34 -0400 Subject: [PATCH] Remove the rest of typechain-types assets --- .../typechain-types/dcnt/DCNTToken.d.ts | 1166 ----------------- src/assets/typechain-types/dcnt/EIP712.d.ts | 147 --- src/assets/typechain-types/dcnt/ERC20.d.ts | 441 ------- .../typechain-types/dcnt/ERC20Permit.d.ts | 608 --------- .../typechain-types/dcnt/ERC20Votes.d.ts | 956 -------------- .../dcnt/ERC20VotesLockable.d.ts | 1099 ---------------- src/assets/typechain-types/dcnt/IERC20.d.ts | 324 ----- .../typechain-types/dcnt/IERC20Metadata.d.ts | 363 ----- .../typechain-types/dcnt/IERC20Permit.d.ts | 187 --- src/assets/typechain-types/dcnt/IERC5267.d.ts | 147 --- src/assets/typechain-types/dcnt/IERC5805.d.ts | 366 ------ src/assets/typechain-types/dcnt/IERC6372.d.ts | 111 -- .../typechain-types/dcnt/ILockRelease.d.ts | 129 -- src/assets/typechain-types/dcnt/IVotes.d.ts | 337 ----- .../typechain-types/dcnt/LockRelease.d.ts | 763 ----------- src/assets/typechain-types/dcnt/Ownable.d.ts | 181 --- .../typechain-types/dcnt/ShortStrings.d.ts | 78 -- src/assets/typechain-types/dcnt/Votes.d.ts | 464 ------- src/assets/typechain-types/dcnt/common.d.ts | 35 - .../dcnt/factories/DCNTToken__factory.ts | 885 ------------- .../dcnt/factories/EIP712__factory.ts | 85 -- .../dcnt/factories/ERC20Permit__factory.ts | 433 ------ .../factories/ERC20VotesLockable__factory.ts | 782 ----------- .../dcnt/factories/ERC20Votes__factory.ts | 696 ---------- .../dcnt/factories/ERC20__factory.ts | 340 ----- .../dcnt/factories/IERC20Metadata__factory.ts | 248 ---- .../dcnt/factories/IERC20Permit__factory.ts | 98 -- .../dcnt/factories/IERC20__factory.ts | 203 --- .../dcnt/factories/IERC5267__factory.ts | 72 - .../dcnt/factories/IERC5805__factory.ts | 231 ---- .../dcnt/factories/IERC6372__factory.ts | 49 - .../dcnt/factories/ILockRelease__factory.ts | 55 - .../dcnt/factories/IVotes__factory.ts | 202 --- .../dcnt/factories/LockRelease__factory.ts | 665 ---------- .../dcnt/factories/Ownable__factory.ts | 75 -- .../dcnt/factories/ShortStrings__factory.ts | 69 - .../dcnt/factories/Votes__factory.ts | 325 ----- src/assets/typechain-types/dcnt/hardhat.d.ts | 186 --- src/assets/typechain-types/dcnt/index.ts | 38 - 39 files changed, 13639 deletions(-) delete mode 100644 src/assets/typechain-types/dcnt/DCNTToken.d.ts delete mode 100644 src/assets/typechain-types/dcnt/EIP712.d.ts delete mode 100644 src/assets/typechain-types/dcnt/ERC20.d.ts delete mode 100644 src/assets/typechain-types/dcnt/ERC20Permit.d.ts delete mode 100644 src/assets/typechain-types/dcnt/ERC20Votes.d.ts delete mode 100644 src/assets/typechain-types/dcnt/ERC20VotesLockable.d.ts delete mode 100644 src/assets/typechain-types/dcnt/IERC20.d.ts delete mode 100644 src/assets/typechain-types/dcnt/IERC20Metadata.d.ts delete mode 100644 src/assets/typechain-types/dcnt/IERC20Permit.d.ts delete mode 100644 src/assets/typechain-types/dcnt/IERC5267.d.ts delete mode 100644 src/assets/typechain-types/dcnt/IERC5805.d.ts delete mode 100644 src/assets/typechain-types/dcnt/IERC6372.d.ts delete mode 100644 src/assets/typechain-types/dcnt/ILockRelease.d.ts delete mode 100644 src/assets/typechain-types/dcnt/IVotes.d.ts delete mode 100644 src/assets/typechain-types/dcnt/LockRelease.d.ts delete mode 100644 src/assets/typechain-types/dcnt/Ownable.d.ts delete mode 100644 src/assets/typechain-types/dcnt/ShortStrings.d.ts delete mode 100644 src/assets/typechain-types/dcnt/Votes.d.ts delete mode 100644 src/assets/typechain-types/dcnt/common.d.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/DCNTToken__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/EIP712__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/ERC20Permit__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/ERC20VotesLockable__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/ERC20Votes__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/ERC20__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/IERC20Metadata__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/IERC20Permit__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/IERC20__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/IERC5267__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/IERC5805__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/IERC6372__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/ILockRelease__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/IVotes__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/LockRelease__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/Ownable__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/ShortStrings__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/factories/Votes__factory.ts delete mode 100644 src/assets/typechain-types/dcnt/hardhat.d.ts delete mode 100644 src/assets/typechain-types/dcnt/index.ts diff --git a/src/assets/typechain-types/dcnt/DCNTToken.d.ts b/src/assets/typechain-types/dcnt/DCNTToken.d.ts deleted file mode 100644 index 1dc8d7c88e..0000000000 --- a/src/assets/typechain-types/dcnt/DCNTToken.d.ts +++ /dev/null @@ -1,1166 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - Overrides, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface DCNTTokenInterface extends ethers.utils.Interface { - functions: { - "CLOCK_MODE()": FunctionFragment; - "DOMAIN_SEPARATOR()": FunctionFragment; - "MINIMUM_MINT_INTERVAL()": FunctionFragment; - "MINT_CAP_BPS()": FunctionFragment; - "allowance(address,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "burn(uint256)": FunctionFragment; - "checkpoints(address,uint32)": FunctionFragment; - "clock()": FunctionFragment; - "decimals()": FunctionFragment; - "decreaseAllowance(address,uint256)": FunctionFragment; - "delegate(address)": FunctionFragment; - "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - "delegates(address)": FunctionFragment; - "eip712Domain()": FunctionFragment; - "getPastTotalSupply(uint256)": FunctionFragment; - "getPastVotes(address,uint256)": FunctionFragment; - "getVotes(address)": FunctionFragment; - "increaseAllowance(address,uint256)": FunctionFragment; - "mint(address,uint256)": FunctionFragment; - "name()": FunctionFragment; - "nextMint()": FunctionFragment; - "nonces(address)": FunctionFragment; - "numCheckpoints(address)": FunctionFragment; - "owner()": FunctionFragment; - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - "renounceOwnership()": FunctionFragment; - "symbol()": FunctionFragment; - "totalSupply()": FunctionFragment; - "transfer(address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - "transferOwnership(address)": FunctionFragment; - }; - - encodeFunctionData( - functionFragment: "CLOCK_MODE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "MINIMUM_MINT_INTERVAL", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "MINT_CAP_BPS", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "allowance", - values: [string, string] - ): string; - encodeFunctionData( - functionFragment: "approve", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "balanceOf", values: [string]): string; - encodeFunctionData(functionFragment: "burn", values: [BigNumberish]): string; - encodeFunctionData( - functionFragment: "checkpoints", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "clock", values?: undefined): string; - encodeFunctionData(functionFragment: "decimals", values?: undefined): string; - encodeFunctionData( - functionFragment: "decreaseAllowance", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "delegate", values: [string]): string; - encodeFunctionData( - functionFragment: "delegateBySig", - values: [ - string, - BigNumberish, - BigNumberish, - BigNumberish, - BytesLike, - BytesLike - ] - ): string; - encodeFunctionData(functionFragment: "delegates", values: [string]): string; - encodeFunctionData( - functionFragment: "eip712Domain", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getPastTotalSupply", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "getPastVotes", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "getVotes", values: [string]): string; - encodeFunctionData( - functionFragment: "increaseAllowance", - values: [string, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "mint", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData(functionFragment: "nextMint", values?: undefined): string; - encodeFunctionData(functionFragment: "nonces", values: [string]): string; - encodeFunctionData( - functionFragment: "numCheckpoints", - values: [string] - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "permit", - values: [ - string, - string, - BigNumberish, - BigNumberish, - BigNumberish, - BytesLike, - BytesLike - ] - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transfer", - values: [string, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [string, string, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [string] - ): string; - - decodeFunctionResult(functionFragment: "CLOCK_MODE", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "MINIMUM_MINT_INTERVAL", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "MINT_CAP_BPS", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "checkpoints", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "clock", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "decreaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "delegate", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "delegateBySig", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "delegates", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "eip712Domain", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getPastTotalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getPastVotes", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVotes", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "increaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nextMint", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "numCheckpoints", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - - events: { - "Approval(address,address,uint256)": EventFragment; - "DelegateChanged(address,address,address)": EventFragment; - "DelegateVotesChanged(address,uint256,uint256)": EventFragment; - "EIP712DomainChanged()": EventFragment; - "OwnershipTransferred(address,address)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DelegateChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DelegateVotesChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "EIP712DomainChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; -} - -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber] & { - owner: string; - spender: string; - value: BigNumber; - } ->; - -export type DelegateChangedEvent = TypedEvent< - [string, string, string] & { - delegator: string; - fromDelegate: string; - toDelegate: string; - } ->; - -export type DelegateVotesChangedEvent = TypedEvent< - [string, BigNumber, BigNumber] & { - delegate: string; - previousBalance: BigNumber; - newBalance: BigNumber; - } ->; - -export type EIP712DomainChangedEvent = TypedEvent<[] & {}>; - -export type OwnershipTransferredEvent = TypedEvent< - [string, string] & { previousOwner: string; newOwner: string } ->; - -export type TransferEvent = TypedEvent< - [string, string, BigNumber] & { from: string; to: string; value: BigNumber } ->; - -export class DCNTToken extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: DCNTTokenInterface; - - functions: { - CLOCK_MODE(overrides?: CallOverrides): Promise<[string]>; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<[string]>; - - MINIMUM_MINT_INTERVAL(overrides?: CallOverrides): Promise<[number]>; - - MINT_CAP_BPS(overrides?: CallOverrides): Promise<[number]>; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - burn( - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - checkpoints( - account: string, - pos: BigNumberish, - overrides?: CallOverrides - ): Promise<[[number, BigNumber] & { fromBlock: number; votes: BigNumber }]>; - - clock(overrides?: CallOverrides): Promise<[number]>; - - decimals(overrides?: CallOverrides): Promise<[number]>; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise<[string]>; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getVotes(account: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - mint( - dest: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise<[string]>; - - nextMint(overrides?: CallOverrides): Promise<[BigNumber]>; - - nonces(owner: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - numCheckpoints( - account: string, - overrides?: CallOverrides - ): Promise<[number]>; - - owner(overrides?: CallOverrides): Promise<[string]>; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferOwnership( - newOwner: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - MINIMUM_MINT_INTERVAL(overrides?: CallOverrides): Promise; - - MINT_CAP_BPS(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - burn( - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - checkpoints( - account: string, - pos: BigNumberish, - overrides?: CallOverrides - ): Promise<[number, BigNumber] & { fromBlock: number; votes: BigNumber }>; - - clock(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - mint( - dest: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - nextMint(overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - numCheckpoints(account: string, overrides?: CallOverrides): Promise; - - owner(overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferOwnership( - newOwner: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - callStatic: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - MINIMUM_MINT_INTERVAL(overrides?: CallOverrides): Promise; - - MINT_CAP_BPS(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - burn(amount: BigNumberish, overrides?: CallOverrides): Promise; - - checkpoints( - account: string, - pos: BigNumberish, - overrides?: CallOverrides - ): Promise<[number, BigNumber] & { fromBlock: number; votes: BigNumber }>; - - clock(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: CallOverrides - ): Promise; - - delegate(delegatee: string, overrides?: CallOverrides): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: CallOverrides - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: CallOverrides - ): Promise; - - mint( - dest: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - nextMint(overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - numCheckpoints(account: string, overrides?: CallOverrides): Promise; - - owner(overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: CallOverrides - ): Promise; - - renounceOwnership(overrides?: CallOverrides): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - transferOwnership( - newOwner: string, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Approval(address,address,uint256)"( - owner?: string | null, - spender?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { owner: string; spender: string; value: BigNumber } - >; - - Approval( - owner?: string | null, - spender?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { owner: string; spender: string; value: BigNumber } - >; - - "DelegateChanged(address,address,address)"( - delegator?: string | null, - fromDelegate?: string | null, - toDelegate?: string | null - ): TypedEventFilter< - [string, string, string], - { delegator: string; fromDelegate: string; toDelegate: string } - >; - - DelegateChanged( - delegator?: string | null, - fromDelegate?: string | null, - toDelegate?: string | null - ): TypedEventFilter< - [string, string, string], - { delegator: string; fromDelegate: string; toDelegate: string } - >; - - "DelegateVotesChanged(address,uint256,uint256)"( - delegate?: string | null, - previousBalance?: null, - newBalance?: null - ): TypedEventFilter< - [string, BigNumber, BigNumber], - { delegate: string; previousBalance: BigNumber; newBalance: BigNumber } - >; - - DelegateVotesChanged( - delegate?: string | null, - previousBalance?: null, - newBalance?: null - ): TypedEventFilter< - [string, BigNumber, BigNumber], - { delegate: string; previousBalance: BigNumber; newBalance: BigNumber } - >; - - "EIP712DomainChanged()"(): TypedEventFilter<[], {}>; - - EIP712DomainChanged(): TypedEventFilter<[], {}>; - - "OwnershipTransferred(address,address)"( - previousOwner?: string | null, - newOwner?: string | null - ): TypedEventFilter< - [string, string], - { previousOwner: string; newOwner: string } - >; - - OwnershipTransferred( - previousOwner?: string | null, - newOwner?: string | null - ): TypedEventFilter< - [string, string], - { previousOwner: string; newOwner: string } - >; - - "Transfer(address,address,uint256)"( - from?: string | null, - to?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { from: string; to: string; value: BigNumber } - >; - - Transfer( - from?: string | null, - to?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { from: string; to: string; value: BigNumber } - >; - }; - - estimateGas: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - MINIMUM_MINT_INTERVAL(overrides?: CallOverrides): Promise; - - MINT_CAP_BPS(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - burn( - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - checkpoints( - account: string, - pos: BigNumberish, - overrides?: CallOverrides - ): Promise; - - clock(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - eip712Domain(overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - mint( - dest: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - nextMint(overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - numCheckpoints( - account: string, - overrides?: CallOverrides - ): Promise; - - owner(overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferOwnership( - newOwner: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - populateTransaction: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - MINIMUM_MINT_INTERVAL( - overrides?: CallOverrides - ): Promise; - - MINT_CAP_BPS(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf( - account: string, - overrides?: CallOverrides - ): Promise; - - burn( - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - checkpoints( - account: string, - pos: BigNumberish, - overrides?: CallOverrides - ): Promise; - - clock(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates( - account: string, - overrides?: CallOverrides - ): Promise; - - eip712Domain(overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes( - account: string, - overrides?: CallOverrides - ): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - mint( - dest: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - nextMint(overrides?: CallOverrides): Promise; - - nonces( - owner: string, - overrides?: CallOverrides - ): Promise; - - numCheckpoints( - account: string, - overrides?: CallOverrides - ): Promise; - - owner(overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferOwnership( - newOwner: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/EIP712.d.ts b/src/assets/typechain-types/dcnt/EIP712.d.ts deleted file mode 100644 index d5ec0d5a13..0000000000 --- a/src/assets/typechain-types/dcnt/EIP712.d.ts +++ /dev/null @@ -1,147 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface EIP712Interface extends ethers.utils.Interface { - functions: { - "eip712Domain()": FunctionFragment; - }; - - encodeFunctionData( - functionFragment: "eip712Domain", - values?: undefined - ): string; - - decodeFunctionResult( - functionFragment: "eip712Domain", - data: BytesLike - ): Result; - - events: { - "EIP712DomainChanged()": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "EIP712DomainChanged"): EventFragment; -} - -export type EIP712DomainChangedEvent = TypedEvent<[] & {}>; - -export class EIP712 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: EIP712Interface; - - functions: { - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - }; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - callStatic: { - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - }; - - filters: { - "EIP712DomainChanged()"(): TypedEventFilter<[], {}>; - - EIP712DomainChanged(): TypedEventFilter<[], {}>; - }; - - estimateGas: { - eip712Domain(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - eip712Domain(overrides?: CallOverrides): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/ERC20.d.ts b/src/assets/typechain-types/dcnt/ERC20.d.ts deleted file mode 100644 index 92b69660c5..0000000000 --- a/src/assets/typechain-types/dcnt/ERC20.d.ts +++ /dev/null @@ -1,441 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - Overrides, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface ERC20Interface extends ethers.utils.Interface { - functions: { - "allowance(address,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "decimals()": FunctionFragment; - "decreaseAllowance(address,uint256)": FunctionFragment; - "increaseAllowance(address,uint256)": FunctionFragment; - "name()": FunctionFragment; - "symbol()": FunctionFragment; - "totalSupply()": FunctionFragment; - "transfer(address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - }; - - encodeFunctionData( - functionFragment: "allowance", - values: [string, string] - ): string; - encodeFunctionData( - functionFragment: "approve", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "balanceOf", values: [string]): string; - encodeFunctionData(functionFragment: "decimals", values?: undefined): string; - encodeFunctionData( - functionFragment: "decreaseAllowance", - values: [string, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "increaseAllowance", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transfer", - values: [string, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [string, string, BigNumberish] - ): string; - - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "decreaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "increaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; - - events: { - "Approval(address,address,uint256)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; -} - -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber] & { - owner: string; - spender: string; - value: BigNumber; - } ->; - -export type TransferEvent = TypedEvent< - [string, string, BigNumber] & { from: string; to: string; value: BigNumber } ->; - -export class ERC20 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: ERC20Interface; - - functions: { - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - decimals(overrides?: CallOverrides): Promise<[number]>; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise<[string]>; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - callStatic: { - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: CallOverrides - ): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Approval(address,address,uint256)"( - owner?: string | null, - spender?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { owner: string; spender: string; value: BigNumber } - >; - - Approval( - owner?: string | null, - spender?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { owner: string; spender: string; value: BigNumber } - >; - - "Transfer(address,address,uint256)"( - from?: string | null, - to?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { from: string; to: string; value: BigNumber } - >; - - Transfer( - from?: string | null, - to?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { from: string; to: string; value: BigNumber } - >; - }; - - estimateGas: { - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - populateTransaction: { - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf( - account: string, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/ERC20Permit.d.ts b/src/assets/typechain-types/dcnt/ERC20Permit.d.ts deleted file mode 100644 index 01ec0c726b..0000000000 --- a/src/assets/typechain-types/dcnt/ERC20Permit.d.ts +++ /dev/null @@ -1,608 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - Overrides, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface ERC20PermitInterface extends ethers.utils.Interface { - functions: { - "DOMAIN_SEPARATOR()": FunctionFragment; - "allowance(address,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "decimals()": FunctionFragment; - "decreaseAllowance(address,uint256)": FunctionFragment; - "eip712Domain()": FunctionFragment; - "increaseAllowance(address,uint256)": FunctionFragment; - "name()": FunctionFragment; - "nonces(address)": FunctionFragment; - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - "symbol()": FunctionFragment; - "totalSupply()": FunctionFragment; - "transfer(address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - }; - - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "allowance", - values: [string, string] - ): string; - encodeFunctionData( - functionFragment: "approve", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "balanceOf", values: [string]): string; - encodeFunctionData(functionFragment: "decimals", values?: undefined): string; - encodeFunctionData( - functionFragment: "decreaseAllowance", - values: [string, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "eip712Domain", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "increaseAllowance", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData(functionFragment: "nonces", values: [string]): string; - encodeFunctionData( - functionFragment: "permit", - values: [ - string, - string, - BigNumberish, - BigNumberish, - BigNumberish, - BytesLike, - BytesLike - ] - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transfer", - values: [string, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [string, string, BigNumberish] - ): string; - - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "decreaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eip712Domain", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "increaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; - - events: { - "Approval(address,address,uint256)": EventFragment; - "EIP712DomainChanged()": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "EIP712DomainChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; -} - -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber] & { - owner: string; - spender: string; - value: BigNumber; - } ->; - -export type EIP712DomainChangedEvent = TypedEvent<[] & {}>; - -export type TransferEvent = TypedEvent< - [string, string, BigNumber] & { from: string; to: string; value: BigNumber } ->; - -export class ERC20Permit extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: ERC20PermitInterface; - - functions: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<[string]>; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - decimals(overrides?: CallOverrides): Promise<[number]>; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise<[string]>; - - nonces(owner: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - callStatic: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: CallOverrides - ): Promise; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Approval(address,address,uint256)"( - owner?: string | null, - spender?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { owner: string; spender: string; value: BigNumber } - >; - - Approval( - owner?: string | null, - spender?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { owner: string; spender: string; value: BigNumber } - >; - - "EIP712DomainChanged()"(): TypedEventFilter<[], {}>; - - EIP712DomainChanged(): TypedEventFilter<[], {}>; - - "Transfer(address,address,uint256)"( - from?: string | null, - to?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { from: string; to: string; value: BigNumber } - >; - - Transfer( - from?: string | null, - to?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { from: string; to: string; value: BigNumber } - >; - }; - - estimateGas: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - eip712Domain(overrides?: CallOverrides): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - populateTransaction: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf( - account: string, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - eip712Domain(overrides?: CallOverrides): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - nonces( - owner: string, - overrides?: CallOverrides - ): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/ERC20Votes.d.ts b/src/assets/typechain-types/dcnt/ERC20Votes.d.ts deleted file mode 100644 index 525465d63a..0000000000 --- a/src/assets/typechain-types/dcnt/ERC20Votes.d.ts +++ /dev/null @@ -1,956 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - Overrides, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface ERC20VotesInterface extends ethers.utils.Interface { - functions: { - "CLOCK_MODE()": FunctionFragment; - "DOMAIN_SEPARATOR()": FunctionFragment; - "allowance(address,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "checkpoints(address,uint32)": FunctionFragment; - "clock()": FunctionFragment; - "decimals()": FunctionFragment; - "decreaseAllowance(address,uint256)": FunctionFragment; - "delegate(address)": FunctionFragment; - "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - "delegates(address)": FunctionFragment; - "eip712Domain()": FunctionFragment; - "getPastTotalSupply(uint256)": FunctionFragment; - "getPastVotes(address,uint256)": FunctionFragment; - "getVotes(address)": FunctionFragment; - "increaseAllowance(address,uint256)": FunctionFragment; - "name()": FunctionFragment; - "nonces(address)": FunctionFragment; - "numCheckpoints(address)": FunctionFragment; - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - "symbol()": FunctionFragment; - "totalSupply()": FunctionFragment; - "transfer(address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - }; - - encodeFunctionData( - functionFragment: "CLOCK_MODE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "allowance", - values: [string, string] - ): string; - encodeFunctionData( - functionFragment: "approve", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "balanceOf", values: [string]): string; - encodeFunctionData( - functionFragment: "checkpoints", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "clock", values?: undefined): string; - encodeFunctionData(functionFragment: "decimals", values?: undefined): string; - encodeFunctionData( - functionFragment: "decreaseAllowance", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "delegate", values: [string]): string; - encodeFunctionData( - functionFragment: "delegateBySig", - values: [ - string, - BigNumberish, - BigNumberish, - BigNumberish, - BytesLike, - BytesLike - ] - ): string; - encodeFunctionData(functionFragment: "delegates", values: [string]): string; - encodeFunctionData( - functionFragment: "eip712Domain", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getPastTotalSupply", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "getPastVotes", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "getVotes", values: [string]): string; - encodeFunctionData( - functionFragment: "increaseAllowance", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData(functionFragment: "nonces", values: [string]): string; - encodeFunctionData( - functionFragment: "numCheckpoints", - values: [string] - ): string; - encodeFunctionData( - functionFragment: "permit", - values: [ - string, - string, - BigNumberish, - BigNumberish, - BigNumberish, - BytesLike, - BytesLike - ] - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transfer", - values: [string, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [string, string, BigNumberish] - ): string; - - decodeFunctionResult(functionFragment: "CLOCK_MODE", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "checkpoints", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "clock", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "decreaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "delegate", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "delegateBySig", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "delegates", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "eip712Domain", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getPastTotalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getPastVotes", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVotes", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "increaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "numCheckpoints", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; - - events: { - "Approval(address,address,uint256)": EventFragment; - "DelegateChanged(address,address,address)": EventFragment; - "DelegateVotesChanged(address,uint256,uint256)": EventFragment; - "EIP712DomainChanged()": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DelegateChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DelegateVotesChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "EIP712DomainChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; -} - -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber] & { - owner: string; - spender: string; - value: BigNumber; - } ->; - -export type DelegateChangedEvent = TypedEvent< - [string, string, string] & { - delegator: string; - fromDelegate: string; - toDelegate: string; - } ->; - -export type DelegateVotesChangedEvent = TypedEvent< - [string, BigNumber, BigNumber] & { - delegate: string; - previousBalance: BigNumber; - newBalance: BigNumber; - } ->; - -export type EIP712DomainChangedEvent = TypedEvent<[] & {}>; - -export type TransferEvent = TypedEvent< - [string, string, BigNumber] & { from: string; to: string; value: BigNumber } ->; - -export class ERC20Votes extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: ERC20VotesInterface; - - functions: { - CLOCK_MODE(overrides?: CallOverrides): Promise<[string]>; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<[string]>; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - checkpoints( - account: string, - pos: BigNumberish, - overrides?: CallOverrides - ): Promise<[[number, BigNumber] & { fromBlock: number; votes: BigNumber }]>; - - clock(overrides?: CallOverrides): Promise<[number]>; - - decimals(overrides?: CallOverrides): Promise<[number]>; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise<[string]>; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getVotes(account: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise<[string]>; - - nonces(owner: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - numCheckpoints( - account: string, - overrides?: CallOverrides - ): Promise<[number]>; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - checkpoints( - account: string, - pos: BigNumberish, - overrides?: CallOverrides - ): Promise<[number, BigNumber] & { fromBlock: number; votes: BigNumber }>; - - clock(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - numCheckpoints(account: string, overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - callStatic: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - checkpoints( - account: string, - pos: BigNumberish, - overrides?: CallOverrides - ): Promise<[number, BigNumber] & { fromBlock: number; votes: BigNumber }>; - - clock(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: CallOverrides - ): Promise; - - delegate(delegatee: string, overrides?: CallOverrides): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: CallOverrides - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - numCheckpoints(account: string, overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Approval(address,address,uint256)"( - owner?: string | null, - spender?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { owner: string; spender: string; value: BigNumber } - >; - - Approval( - owner?: string | null, - spender?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { owner: string; spender: string; value: BigNumber } - >; - - "DelegateChanged(address,address,address)"( - delegator?: string | null, - fromDelegate?: string | null, - toDelegate?: string | null - ): TypedEventFilter< - [string, string, string], - { delegator: string; fromDelegate: string; toDelegate: string } - >; - - DelegateChanged( - delegator?: string | null, - fromDelegate?: string | null, - toDelegate?: string | null - ): TypedEventFilter< - [string, string, string], - { delegator: string; fromDelegate: string; toDelegate: string } - >; - - "DelegateVotesChanged(address,uint256,uint256)"( - delegate?: string | null, - previousBalance?: null, - newBalance?: null - ): TypedEventFilter< - [string, BigNumber, BigNumber], - { delegate: string; previousBalance: BigNumber; newBalance: BigNumber } - >; - - DelegateVotesChanged( - delegate?: string | null, - previousBalance?: null, - newBalance?: null - ): TypedEventFilter< - [string, BigNumber, BigNumber], - { delegate: string; previousBalance: BigNumber; newBalance: BigNumber } - >; - - "EIP712DomainChanged()"(): TypedEventFilter<[], {}>; - - EIP712DomainChanged(): TypedEventFilter<[], {}>; - - "Transfer(address,address,uint256)"( - from?: string | null, - to?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { from: string; to: string; value: BigNumber } - >; - - Transfer( - from?: string | null, - to?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { from: string; to: string; value: BigNumber } - >; - }; - - estimateGas: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - checkpoints( - account: string, - pos: BigNumberish, - overrides?: CallOverrides - ): Promise; - - clock(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - eip712Domain(overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - numCheckpoints( - account: string, - overrides?: CallOverrides - ): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - populateTransaction: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf( - account: string, - overrides?: CallOverrides - ): Promise; - - checkpoints( - account: string, - pos: BigNumberish, - overrides?: CallOverrides - ): Promise; - - clock(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates( - account: string, - overrides?: CallOverrides - ): Promise; - - eip712Domain(overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes( - account: string, - overrides?: CallOverrides - ): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - nonces( - owner: string, - overrides?: CallOverrides - ): Promise; - - numCheckpoints( - account: string, - overrides?: CallOverrides - ): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/ERC20VotesLockable.d.ts b/src/assets/typechain-types/dcnt/ERC20VotesLockable.d.ts deleted file mode 100644 index cb92b5ba9e..0000000000 --- a/src/assets/typechain-types/dcnt/ERC20VotesLockable.d.ts +++ /dev/null @@ -1,1099 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - Overrides, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface ERC20VotesLockableInterface extends ethers.utils.Interface { - functions: { - "CLOCK_MODE()": FunctionFragment; - "DOMAIN_SEPARATOR()": FunctionFragment; - "allowance(address,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "checkpoints(address,uint32)": FunctionFragment; - "clock()": FunctionFragment; - "decimals()": FunctionFragment; - "decreaseAllowance(address,uint256)": FunctionFragment; - "delegate(address)": FunctionFragment; - "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - "delegates(address)": FunctionFragment; - "eip712Domain()": FunctionFragment; - "getPastTotalSupply(uint256)": FunctionFragment; - "getPastVotes(address,uint256)": FunctionFragment; - "getVotes(address)": FunctionFragment; - "increaseAllowance(address,uint256)": FunctionFragment; - "lock()": FunctionFragment; - "name()": FunctionFragment; - "nonces(address)": FunctionFragment; - "numCheckpoints(address)": FunctionFragment; - "owner()": FunctionFragment; - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - "renounceOwnership()": FunctionFragment; - "setUpLockedVotingPower(address)": FunctionFragment; - "symbol()": FunctionFragment; - "totalSupply()": FunctionFragment; - "transfer(address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - "transferOwnership(address)": FunctionFragment; - }; - - encodeFunctionData( - functionFragment: "CLOCK_MODE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "allowance", - values: [string, string] - ): string; - encodeFunctionData( - functionFragment: "approve", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "balanceOf", values: [string]): string; - encodeFunctionData( - functionFragment: "checkpoints", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "clock", values?: undefined): string; - encodeFunctionData(functionFragment: "decimals", values?: undefined): string; - encodeFunctionData( - functionFragment: "decreaseAllowance", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "delegate", values: [string]): string; - encodeFunctionData( - functionFragment: "delegateBySig", - values: [ - string, - BigNumberish, - BigNumberish, - BigNumberish, - BytesLike, - BytesLike - ] - ): string; - encodeFunctionData(functionFragment: "delegates", values: [string]): string; - encodeFunctionData( - functionFragment: "eip712Domain", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getPastTotalSupply", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "getPastVotes", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "getVotes", values: [string]): string; - encodeFunctionData( - functionFragment: "increaseAllowance", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "lock", values?: undefined): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData(functionFragment: "nonces", values: [string]): string; - encodeFunctionData( - functionFragment: "numCheckpoints", - values: [string] - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "permit", - values: [ - string, - string, - BigNumberish, - BigNumberish, - BigNumberish, - BytesLike, - BytesLike - ] - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "setUpLockedVotingPower", - values: [string] - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transfer", - values: [string, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [string, string, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [string] - ): string; - - decodeFunctionResult(functionFragment: "CLOCK_MODE", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "checkpoints", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "clock", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "decreaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "delegate", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "delegateBySig", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "delegates", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "eip712Domain", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getPastTotalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getPastVotes", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVotes", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "increaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "lock", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "numCheckpoints", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setUpLockedVotingPower", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - - events: { - "Approval(address,address,uint256)": EventFragment; - "DelegateChanged(address,address,address)": EventFragment; - "DelegateVotesChanged(address,uint256,uint256)": EventFragment; - "EIP712DomainChanged()": EventFragment; - "OwnershipTransferred(address,address)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DelegateChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DelegateVotesChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "EIP712DomainChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; -} - -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber] & { - owner: string; - spender: string; - value: BigNumber; - } ->; - -export type DelegateChangedEvent = TypedEvent< - [string, string, string] & { - delegator: string; - fromDelegate: string; - toDelegate: string; - } ->; - -export type DelegateVotesChangedEvent = TypedEvent< - [string, BigNumber, BigNumber] & { - delegate: string; - previousBalance: BigNumber; - newBalance: BigNumber; - } ->; - -export type EIP712DomainChangedEvent = TypedEvent<[] & {}>; - -export type OwnershipTransferredEvent = TypedEvent< - [string, string] & { previousOwner: string; newOwner: string } ->; - -export type TransferEvent = TypedEvent< - [string, string, BigNumber] & { from: string; to: string; value: BigNumber } ->; - -export class ERC20VotesLockable extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: ERC20VotesLockableInterface; - - functions: { - CLOCK_MODE(overrides?: CallOverrides): Promise<[string]>; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<[string]>; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - checkpoints( - account: string, - pos: BigNumberish, - overrides?: CallOverrides - ): Promise<[[number, BigNumber] & { fromBlock: number; votes: BigNumber }]>; - - clock(overrides?: CallOverrides): Promise<[number]>; - - decimals(overrides?: CallOverrides): Promise<[number]>; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise<[string]>; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getVotes(account: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - lock(overrides?: CallOverrides): Promise<[string]>; - - name(overrides?: CallOverrides): Promise<[string]>; - - nonces(owner: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - numCheckpoints( - account: string, - overrides?: CallOverrides - ): Promise<[number]>; - - owner(overrides?: CallOverrides): Promise<[string]>; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - setUpLockedVotingPower( - _lockAddress: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferOwnership( - newOwner: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - checkpoints( - account: string, - pos: BigNumberish, - overrides?: CallOverrides - ): Promise<[number, BigNumber] & { fromBlock: number; votes: BigNumber }>; - - clock(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - lock(overrides?: CallOverrides): Promise; - - name(overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - numCheckpoints(account: string, overrides?: CallOverrides): Promise; - - owner(overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - setUpLockedVotingPower( - _lockAddress: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferOwnership( - newOwner: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - callStatic: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - checkpoints( - account: string, - pos: BigNumberish, - overrides?: CallOverrides - ): Promise<[number, BigNumber] & { fromBlock: number; votes: BigNumber }>; - - clock(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: CallOverrides - ): Promise; - - delegate(delegatee: string, overrides?: CallOverrides): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: CallOverrides - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: CallOverrides - ): Promise; - - lock(overrides?: CallOverrides): Promise; - - name(overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - numCheckpoints(account: string, overrides?: CallOverrides): Promise; - - owner(overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: CallOverrides - ): Promise; - - renounceOwnership(overrides?: CallOverrides): Promise; - - setUpLockedVotingPower( - _lockAddress: string, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - transferOwnership( - newOwner: string, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Approval(address,address,uint256)"( - owner?: string | null, - spender?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { owner: string; spender: string; value: BigNumber } - >; - - Approval( - owner?: string | null, - spender?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { owner: string; spender: string; value: BigNumber } - >; - - "DelegateChanged(address,address,address)"( - delegator?: string | null, - fromDelegate?: string | null, - toDelegate?: string | null - ): TypedEventFilter< - [string, string, string], - { delegator: string; fromDelegate: string; toDelegate: string } - >; - - DelegateChanged( - delegator?: string | null, - fromDelegate?: string | null, - toDelegate?: string | null - ): TypedEventFilter< - [string, string, string], - { delegator: string; fromDelegate: string; toDelegate: string } - >; - - "DelegateVotesChanged(address,uint256,uint256)"( - delegate?: string | null, - previousBalance?: null, - newBalance?: null - ): TypedEventFilter< - [string, BigNumber, BigNumber], - { delegate: string; previousBalance: BigNumber; newBalance: BigNumber } - >; - - DelegateVotesChanged( - delegate?: string | null, - previousBalance?: null, - newBalance?: null - ): TypedEventFilter< - [string, BigNumber, BigNumber], - { delegate: string; previousBalance: BigNumber; newBalance: BigNumber } - >; - - "EIP712DomainChanged()"(): TypedEventFilter<[], {}>; - - EIP712DomainChanged(): TypedEventFilter<[], {}>; - - "OwnershipTransferred(address,address)"( - previousOwner?: string | null, - newOwner?: string | null - ): TypedEventFilter< - [string, string], - { previousOwner: string; newOwner: string } - >; - - OwnershipTransferred( - previousOwner?: string | null, - newOwner?: string | null - ): TypedEventFilter< - [string, string], - { previousOwner: string; newOwner: string } - >; - - "Transfer(address,address,uint256)"( - from?: string | null, - to?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { from: string; to: string; value: BigNumber } - >; - - Transfer( - from?: string | null, - to?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { from: string; to: string; value: BigNumber } - >; - }; - - estimateGas: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - checkpoints( - account: string, - pos: BigNumberish, - overrides?: CallOverrides - ): Promise; - - clock(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - eip712Domain(overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - lock(overrides?: CallOverrides): Promise; - - name(overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - numCheckpoints( - account: string, - overrides?: CallOverrides - ): Promise; - - owner(overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - setUpLockedVotingPower( - _lockAddress: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferOwnership( - newOwner: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - populateTransaction: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf( - account: string, - overrides?: CallOverrides - ): Promise; - - checkpoints( - account: string, - pos: BigNumberish, - overrides?: CallOverrides - ): Promise; - - clock(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: string, - subtractedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates( - account: string, - overrides?: CallOverrides - ): Promise; - - eip712Domain(overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes( - account: string, - overrides?: CallOverrides - ): Promise; - - increaseAllowance( - spender: string, - addedValue: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - lock(overrides?: CallOverrides): Promise; - - name(overrides?: CallOverrides): Promise; - - nonces( - owner: string, - overrides?: CallOverrides - ): Promise; - - numCheckpoints( - account: string, - overrides?: CallOverrides - ): Promise; - - owner(overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - setUpLockedVotingPower( - _lockAddress: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferOwnership( - newOwner: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/IERC20.d.ts b/src/assets/typechain-types/dcnt/IERC20.d.ts deleted file mode 100644 index adc03a1f46..0000000000 --- a/src/assets/typechain-types/dcnt/IERC20.d.ts +++ /dev/null @@ -1,324 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - Overrides, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface IERC20Interface extends ethers.utils.Interface { - functions: { - "allowance(address,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "totalSupply()": FunctionFragment; - "transfer(address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - }; - - encodeFunctionData( - functionFragment: "allowance", - values: [string, string] - ): string; - encodeFunctionData( - functionFragment: "approve", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "balanceOf", values: [string]): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transfer", - values: [string, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [string, string, BigNumberish] - ): string; - - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; - - events: { - "Approval(address,address,uint256)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; -} - -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber] & { - owner: string; - spender: string; - value: BigNumber; - } ->; - -export type TransferEvent = TypedEvent< - [string, string, BigNumber] & { from: string; to: string; value: BigNumber } ->; - -export class IERC20 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: IERC20Interface; - - functions: { - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - callStatic: { - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Approval(address,address,uint256)"( - owner?: string | null, - spender?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { owner: string; spender: string; value: BigNumber } - >; - - Approval( - owner?: string | null, - spender?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { owner: string; spender: string; value: BigNumber } - >; - - "Transfer(address,address,uint256)"( - from?: string | null, - to?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { from: string; to: string; value: BigNumber } - >; - - Transfer( - from?: string | null, - to?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { from: string; to: string; value: BigNumber } - >; - }; - - estimateGas: { - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - populateTransaction: { - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf( - account: string, - overrides?: CallOverrides - ): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/IERC20Metadata.d.ts b/src/assets/typechain-types/dcnt/IERC20Metadata.d.ts deleted file mode 100644 index eb1f4121f6..0000000000 --- a/src/assets/typechain-types/dcnt/IERC20Metadata.d.ts +++ /dev/null @@ -1,363 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - Overrides, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface IERC20MetadataInterface extends ethers.utils.Interface { - functions: { - "allowance(address,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "decimals()": FunctionFragment; - "name()": FunctionFragment; - "symbol()": FunctionFragment; - "totalSupply()": FunctionFragment; - "transfer(address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - }; - - encodeFunctionData( - functionFragment: "allowance", - values: [string, string] - ): string; - encodeFunctionData( - functionFragment: "approve", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "balanceOf", values: [string]): string; - encodeFunctionData(functionFragment: "decimals", values?: undefined): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transfer", - values: [string, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [string, string, BigNumberish] - ): string; - - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; - - events: { - "Approval(address,address,uint256)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; -} - -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber] & { - owner: string; - spender: string; - value: BigNumber; - } ->; - -export type TransferEvent = TypedEvent< - [string, string, BigNumber] & { from: string; to: string; value: BigNumber } ->; - -export class IERC20Metadata extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: IERC20MetadataInterface; - - functions: { - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - decimals(overrides?: CallOverrides): Promise<[number]>; - - name(overrides?: CallOverrides): Promise<[string]>; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - name(overrides?: CallOverrides): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - callStatic: { - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - name(overrides?: CallOverrides): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Approval(address,address,uint256)"( - owner?: string | null, - spender?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { owner: string; spender: string; value: BigNumber } - >; - - Approval( - owner?: string | null, - spender?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { owner: string; spender: string; value: BigNumber } - >; - - "Transfer(address,address,uint256)"( - from?: string | null, - to?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { from: string; to: string; value: BigNumber } - >; - - Transfer( - from?: string | null, - to?: string | null, - value?: null - ): TypedEventFilter< - [string, string, BigNumber], - { from: string; to: string; value: BigNumber } - >; - }; - - estimateGas: { - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf(account: string, overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - name(overrides?: CallOverrides): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - populateTransaction: { - allowance( - owner: string, - spender: string, - overrides?: CallOverrides - ): Promise; - - approve( - spender: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - balanceOf( - account: string, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - name(overrides?: CallOverrides): Promise; - - symbol(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - transfer( - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferFrom( - from: string, - to: string, - amount: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/IERC20Permit.d.ts b/src/assets/typechain-types/dcnt/IERC20Permit.d.ts deleted file mode 100644 index 8caa795c93..0000000000 --- a/src/assets/typechain-types/dcnt/IERC20Permit.d.ts +++ /dev/null @@ -1,187 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - Overrides, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface IERC20PermitInterface extends ethers.utils.Interface { - functions: { - "DOMAIN_SEPARATOR()": FunctionFragment; - "nonces(address)": FunctionFragment; - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - }; - - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "nonces", values: [string]): string; - encodeFunctionData( - functionFragment: "permit", - values: [ - string, - string, - BigNumberish, - BigNumberish, - BigNumberish, - BytesLike, - BytesLike - ] - ): string; - - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result; - - events: {}; -} - -export class IERC20Permit extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: IERC20PermitInterface; - - functions: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<[string]>; - - nonces(owner: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - callStatic: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - populateTransaction: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - nonces( - owner: string, - overrides?: CallOverrides - ): Promise; - - permit( - owner: string, - spender: string, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/IERC5267.d.ts b/src/assets/typechain-types/dcnt/IERC5267.d.ts deleted file mode 100644 index 04bf6be928..0000000000 --- a/src/assets/typechain-types/dcnt/IERC5267.d.ts +++ /dev/null @@ -1,147 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface IERC5267Interface extends ethers.utils.Interface { - functions: { - "eip712Domain()": FunctionFragment; - }; - - encodeFunctionData( - functionFragment: "eip712Domain", - values?: undefined - ): string; - - decodeFunctionResult( - functionFragment: "eip712Domain", - data: BytesLike - ): Result; - - events: { - "EIP712DomainChanged()": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "EIP712DomainChanged"): EventFragment; -} - -export type EIP712DomainChangedEvent = TypedEvent<[] & {}>; - -export class IERC5267 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: IERC5267Interface; - - functions: { - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - }; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - callStatic: { - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - }; - - filters: { - "EIP712DomainChanged()"(): TypedEventFilter<[], {}>; - - EIP712DomainChanged(): TypedEventFilter<[], {}>; - }; - - estimateGas: { - eip712Domain(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - eip712Domain(overrides?: CallOverrides): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/IERC5805.d.ts b/src/assets/typechain-types/dcnt/IERC5805.d.ts deleted file mode 100644 index de9ef9a5f1..0000000000 --- a/src/assets/typechain-types/dcnt/IERC5805.d.ts +++ /dev/null @@ -1,366 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - Overrides, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface IERC5805Interface extends ethers.utils.Interface { - functions: { - "CLOCK_MODE()": FunctionFragment; - "clock()": FunctionFragment; - "delegate(address)": FunctionFragment; - "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - "delegates(address)": FunctionFragment; - "getPastTotalSupply(uint256)": FunctionFragment; - "getPastVotes(address,uint256)": FunctionFragment; - "getVotes(address)": FunctionFragment; - }; - - encodeFunctionData( - functionFragment: "CLOCK_MODE", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "clock", values?: undefined): string; - encodeFunctionData(functionFragment: "delegate", values: [string]): string; - encodeFunctionData( - functionFragment: "delegateBySig", - values: [ - string, - BigNumberish, - BigNumberish, - BigNumberish, - BytesLike, - BytesLike - ] - ): string; - encodeFunctionData(functionFragment: "delegates", values: [string]): string; - encodeFunctionData( - functionFragment: "getPastTotalSupply", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "getPastVotes", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "getVotes", values: [string]): string; - - decodeFunctionResult(functionFragment: "CLOCK_MODE", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "clock", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "delegate", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "delegateBySig", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "delegates", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getPastTotalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getPastVotes", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVotes", data: BytesLike): Result; - - events: { - "DelegateChanged(address,address,address)": EventFragment; - "DelegateVotesChanged(address,uint256,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "DelegateChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DelegateVotesChanged"): EventFragment; -} - -export type DelegateChangedEvent = TypedEvent< - [string, string, string] & { - delegator: string; - fromDelegate: string; - toDelegate: string; - } ->; - -export type DelegateVotesChangedEvent = TypedEvent< - [string, BigNumber, BigNumber] & { - delegate: string; - previousBalance: BigNumber; - newBalance: BigNumber; - } ->; - -export class IERC5805 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: IERC5805Interface; - - functions: { - CLOCK_MODE(overrides?: CallOverrides): Promise<[string]>; - - clock(overrides?: CallOverrides): Promise<[number]>; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise<[string]>; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getVotes(account: string, overrides?: CallOverrides): Promise<[BigNumber]>; - }; - - CLOCK_MODE(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - - callStatic: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - - delegate(delegatee: string, overrides?: CallOverrides): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: CallOverrides - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - }; - - filters: { - "DelegateChanged(address,address,address)"( - delegator?: string | null, - fromDelegate?: string | null, - toDelegate?: string | null - ): TypedEventFilter< - [string, string, string], - { delegator: string; fromDelegate: string; toDelegate: string } - >; - - DelegateChanged( - delegator?: string | null, - fromDelegate?: string | null, - toDelegate?: string | null - ): TypedEventFilter< - [string, string, string], - { delegator: string; fromDelegate: string; toDelegate: string } - >; - - "DelegateVotesChanged(address,uint256,uint256)"( - delegate?: string | null, - previousBalance?: null, - newBalance?: null - ): TypedEventFilter< - [string, BigNumber, BigNumber], - { delegate: string; previousBalance: BigNumber; newBalance: BigNumber } - >; - - DelegateVotesChanged( - delegate?: string | null, - previousBalance?: null, - newBalance?: null - ): TypedEventFilter< - [string, BigNumber, BigNumber], - { delegate: string; previousBalance: BigNumber; newBalance: BigNumber } - >; - }; - - estimateGas: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates( - account: string, - overrides?: CallOverrides - ): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes( - account: string, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/IERC6372.d.ts b/src/assets/typechain-types/dcnt/IERC6372.d.ts deleted file mode 100644 index 349109451a..0000000000 --- a/src/assets/typechain-types/dcnt/IERC6372.d.ts +++ /dev/null @@ -1,111 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface IERC6372Interface extends ethers.utils.Interface { - functions: { - "CLOCK_MODE()": FunctionFragment; - "clock()": FunctionFragment; - }; - - encodeFunctionData( - functionFragment: "CLOCK_MODE", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "clock", values?: undefined): string; - - decodeFunctionResult(functionFragment: "CLOCK_MODE", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "clock", data: BytesLike): Result; - - events: {}; -} - -export class IERC6372 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: IERC6372Interface; - - functions: { - CLOCK_MODE(overrides?: CallOverrides): Promise<[string]>; - - clock(overrides?: CallOverrides): Promise<[number]>; - }; - - CLOCK_MODE(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - - callStatic: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/ILockRelease.d.ts b/src/assets/typechain-types/dcnt/ILockRelease.d.ts deleted file mode 100644 index b11b3329a7..0000000000 --- a/src/assets/typechain-types/dcnt/ILockRelease.d.ts +++ /dev/null @@ -1,129 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface ILockReleaseInterface extends ethers.utils.Interface { - functions: { - "getBeneficiaries()": FunctionFragment; - "getPending(address)": FunctionFragment; - }; - - encodeFunctionData( - functionFragment: "getBeneficiaries", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "getPending", values: [string]): string; - - decodeFunctionResult( - functionFragment: "getBeneficiaries", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getPending", data: BytesLike): Result; - - events: {}; -} - -export class ILockRelease extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: ILockReleaseInterface; - - functions: { - getBeneficiaries(overrides?: CallOverrides): Promise<[string[]]>; - - getPending( - _beneficiary: string, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - }; - - getBeneficiaries(overrides?: CallOverrides): Promise; - - getPending( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - callStatic: { - getBeneficiaries(overrides?: CallOverrides): Promise; - - getPending( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - getBeneficiaries(overrides?: CallOverrides): Promise; - - getPending( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - getBeneficiaries(overrides?: CallOverrides): Promise; - - getPending( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/IVotes.d.ts b/src/assets/typechain-types/dcnt/IVotes.d.ts deleted file mode 100644 index 3e8e4dd709..0000000000 --- a/src/assets/typechain-types/dcnt/IVotes.d.ts +++ /dev/null @@ -1,337 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - Overrides, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface IVotesInterface extends ethers.utils.Interface { - functions: { - "delegate(address)": FunctionFragment; - "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - "delegates(address)": FunctionFragment; - "getPastTotalSupply(uint256)": FunctionFragment; - "getPastVotes(address,uint256)": FunctionFragment; - "getVotes(address)": FunctionFragment; - }; - - encodeFunctionData(functionFragment: "delegate", values: [string]): string; - encodeFunctionData( - functionFragment: "delegateBySig", - values: [ - string, - BigNumberish, - BigNumberish, - BigNumberish, - BytesLike, - BytesLike - ] - ): string; - encodeFunctionData(functionFragment: "delegates", values: [string]): string; - encodeFunctionData( - functionFragment: "getPastTotalSupply", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "getPastVotes", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "getVotes", values: [string]): string; - - decodeFunctionResult(functionFragment: "delegate", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "delegateBySig", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "delegates", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getPastTotalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getPastVotes", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVotes", data: BytesLike): Result; - - events: { - "DelegateChanged(address,address,address)": EventFragment; - "DelegateVotesChanged(address,uint256,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "DelegateChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DelegateVotesChanged"): EventFragment; -} - -export type DelegateChangedEvent = TypedEvent< - [string, string, string] & { - delegator: string; - fromDelegate: string; - toDelegate: string; - } ->; - -export type DelegateVotesChangedEvent = TypedEvent< - [string, BigNumber, BigNumber] & { - delegate: string; - previousBalance: BigNumber; - newBalance: BigNumber; - } ->; - -export class IVotes extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: IVotesInterface; - - functions: { - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise<[string]>; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getVotes(account: string, overrides?: CallOverrides): Promise<[BigNumber]>; - }; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - - callStatic: { - delegate(delegatee: string, overrides?: CallOverrides): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: CallOverrides - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - }; - - filters: { - "DelegateChanged(address,address,address)"( - delegator?: string | null, - fromDelegate?: string | null, - toDelegate?: string | null - ): TypedEventFilter< - [string, string, string], - { delegator: string; fromDelegate: string; toDelegate: string } - >; - - DelegateChanged( - delegator?: string | null, - fromDelegate?: string | null, - toDelegate?: string | null - ): TypedEventFilter< - [string, string, string], - { delegator: string; fromDelegate: string; toDelegate: string } - >; - - "DelegateVotesChanged(address,uint256,uint256)"( - delegate?: string | null, - previousBalance?: null, - newBalance?: null - ): TypedEventFilter< - [string, BigNumber, BigNumber], - { delegate: string; previousBalance: BigNumber; newBalance: BigNumber } - >; - - DelegateVotesChanged( - delegate?: string | null, - previousBalance?: null, - newBalance?: null - ): TypedEventFilter< - [string, BigNumber, BigNumber], - { delegate: string; previousBalance: BigNumber; newBalance: BigNumber } - >; - }; - - estimateGas: { - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates( - account: string, - overrides?: CallOverrides - ): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes( - account: string, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/LockRelease.d.ts b/src/assets/typechain-types/dcnt/LockRelease.d.ts deleted file mode 100644 index a9c11a7908..0000000000 --- a/src/assets/typechain-types/dcnt/LockRelease.d.ts +++ /dev/null @@ -1,763 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - Overrides, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface LockReleaseInterface extends ethers.utils.Interface { - functions: { - "CLOCK_MODE()": FunctionFragment; - "DOMAIN_SEPARATOR()": FunctionFragment; - "clock()": FunctionFragment; - "delegate(address)": FunctionFragment; - "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - "delegates(address)": FunctionFragment; - "duration()": FunctionFragment; - "eip712Domain()": FunctionFragment; - "getBeneficiaries()": FunctionFragment; - "getPastTotalSupply(uint256)": FunctionFragment; - "getPastVotes(address,uint256)": FunctionFragment; - "getPending(address)": FunctionFragment; - "getReleasable(address)": FunctionFragment; - "getReleased(address)": FunctionFragment; - "getTotal(address)": FunctionFragment; - "getTotalMatured(address)": FunctionFragment; - "getVotes(address)": FunctionFragment; - "nonces(address)": FunctionFragment; - "release()": FunctionFragment; - "start()": FunctionFragment; - "token()": FunctionFragment; - }; - - encodeFunctionData( - functionFragment: "CLOCK_MODE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "clock", values?: undefined): string; - encodeFunctionData(functionFragment: "delegate", values: [string]): string; - encodeFunctionData( - functionFragment: "delegateBySig", - values: [ - string, - BigNumberish, - BigNumberish, - BigNumberish, - BytesLike, - BytesLike - ] - ): string; - encodeFunctionData(functionFragment: "delegates", values: [string]): string; - encodeFunctionData(functionFragment: "duration", values?: undefined): string; - encodeFunctionData( - functionFragment: "eip712Domain", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getBeneficiaries", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getPastTotalSupply", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "getPastVotes", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "getPending", values: [string]): string; - encodeFunctionData( - functionFragment: "getReleasable", - values: [string] - ): string; - encodeFunctionData(functionFragment: "getReleased", values: [string]): string; - encodeFunctionData(functionFragment: "getTotal", values: [string]): string; - encodeFunctionData( - functionFragment: "getTotalMatured", - values: [string] - ): string; - encodeFunctionData(functionFragment: "getVotes", values: [string]): string; - encodeFunctionData(functionFragment: "nonces", values: [string]): string; - encodeFunctionData(functionFragment: "release", values?: undefined): string; - encodeFunctionData(functionFragment: "start", values?: undefined): string; - encodeFunctionData(functionFragment: "token", values?: undefined): string; - - decodeFunctionResult(functionFragment: "CLOCK_MODE", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "clock", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "delegate", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "delegateBySig", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "delegates", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "duration", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "eip712Domain", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getBeneficiaries", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getPastTotalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getPastVotes", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getPending", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getReleasable", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getReleased", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getTotal", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getTotalMatured", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVotes", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "release", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "start", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "token", data: BytesLike): Result; - - events: { - "DelegateChanged(address,address,address)": EventFragment; - "DelegateVotesChanged(address,uint256,uint256)": EventFragment; - "EIP712DomainChanged()": EventFragment; - "ScheduleStarted(address,address[],uint256[],uint128,uint128)": EventFragment; - "TokensReleased(address,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "DelegateChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DelegateVotesChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "EIP712DomainChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "ScheduleStarted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "TokensReleased"): EventFragment; -} - -export type DelegateChangedEvent = TypedEvent< - [string, string, string] & { - delegator: string; - fromDelegate: string; - toDelegate: string; - } ->; - -export type DelegateVotesChangedEvent = TypedEvent< - [string, BigNumber, BigNumber] & { - delegate: string; - previousBalance: BigNumber; - newBalance: BigNumber; - } ->; - -export type EIP712DomainChangedEvent = TypedEvent<[] & {}>; - -export type ScheduleStartedEvent = TypedEvent< - [string, string[], BigNumber[], BigNumber, BigNumber] & { - token: string; - beneficiaries: string[]; - amounts: BigNumber[]; - start: BigNumber; - duration: BigNumber; - } ->; - -export type TokensReleasedEvent = TypedEvent< - [string, BigNumber] & { beneficiary: string; amount: BigNumber } ->; - -export class LockRelease extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: LockReleaseInterface; - - functions: { - CLOCK_MODE(overrides?: CallOverrides): Promise<[string]>; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<[string]>; - - clock(overrides?: CallOverrides): Promise<[number]>; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise<[string]>; - - duration(overrides?: CallOverrides): Promise<[BigNumber]>; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - getBeneficiaries(overrides?: CallOverrides): Promise<[string[]]>; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getPastVotes( - _account: string, - _blockNumber: BigNumberish, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getPending( - _beneficiary: string, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getReleasable( - _beneficiary: string, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getReleased( - _beneficiary: string, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getTotal( - _beneficiary: string, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getTotalMatured( - _beneficiary: string, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getVotes(_account: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - nonces(owner: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - release( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - start(overrides?: CallOverrides): Promise<[BigNumber]>; - - token(overrides?: CallOverrides): Promise<[string]>; - }; - - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - duration(overrides?: CallOverrides): Promise; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - getBeneficiaries(overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - _account: string, - _blockNumber: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPending( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getReleasable( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getReleased( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getTotal(_beneficiary: string, overrides?: CallOverrides): Promise; - - getTotalMatured( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getVotes(_account: string, overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - release( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - start(overrides?: CallOverrides): Promise; - - token(overrides?: CallOverrides): Promise; - - callStatic: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - - delegate(delegatee: string, overrides?: CallOverrides): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: CallOverrides - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - duration(overrides?: CallOverrides): Promise; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - getBeneficiaries(overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - _account: string, - _blockNumber: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPending( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getReleasable( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getReleased( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getTotal( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getTotalMatured( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getVotes(_account: string, overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - release(overrides?: CallOverrides): Promise; - - start(overrides?: CallOverrides): Promise; - - token(overrides?: CallOverrides): Promise; - }; - - filters: { - "DelegateChanged(address,address,address)"( - delegator?: string | null, - fromDelegate?: string | null, - toDelegate?: string | null - ): TypedEventFilter< - [string, string, string], - { delegator: string; fromDelegate: string; toDelegate: string } - >; - - DelegateChanged( - delegator?: string | null, - fromDelegate?: string | null, - toDelegate?: string | null - ): TypedEventFilter< - [string, string, string], - { delegator: string; fromDelegate: string; toDelegate: string } - >; - - "DelegateVotesChanged(address,uint256,uint256)"( - delegate?: string | null, - previousBalance?: null, - newBalance?: null - ): TypedEventFilter< - [string, BigNumber, BigNumber], - { delegate: string; previousBalance: BigNumber; newBalance: BigNumber } - >; - - DelegateVotesChanged( - delegate?: string | null, - previousBalance?: null, - newBalance?: null - ): TypedEventFilter< - [string, BigNumber, BigNumber], - { delegate: string; previousBalance: BigNumber; newBalance: BigNumber } - >; - - "EIP712DomainChanged()"(): TypedEventFilter<[], {}>; - - EIP712DomainChanged(): TypedEventFilter<[], {}>; - - "ScheduleStarted(address,address[],uint256[],uint128,uint128)"( - token?: null, - beneficiaries?: null, - amounts?: null, - start?: null, - duration?: null - ): TypedEventFilter< - [string, string[], BigNumber[], BigNumber, BigNumber], - { - token: string; - beneficiaries: string[]; - amounts: BigNumber[]; - start: BigNumber; - duration: BigNumber; - } - >; - - ScheduleStarted( - token?: null, - beneficiaries?: null, - amounts?: null, - start?: null, - duration?: null - ): TypedEventFilter< - [string, string[], BigNumber[], BigNumber, BigNumber], - { - token: string; - beneficiaries: string[]; - amounts: BigNumber[]; - start: BigNumber; - duration: BigNumber; - } - >; - - "TokensReleased(address,uint256)"( - beneficiary?: string | null, - amount?: null - ): TypedEventFilter< - [string, BigNumber], - { beneficiary: string; amount: BigNumber } - >; - - TokensReleased( - beneficiary?: string | null, - amount?: null - ): TypedEventFilter< - [string, BigNumber], - { beneficiary: string; amount: BigNumber } - >; - }; - - estimateGas: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - duration(overrides?: CallOverrides): Promise; - - eip712Domain(overrides?: CallOverrides): Promise; - - getBeneficiaries(overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - _account: string, - _blockNumber: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPending( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getReleasable( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getReleased( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getTotal( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getTotalMatured( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getVotes(_account: string, overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - release( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - start(overrides?: CallOverrides): Promise; - - token(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates( - account: string, - overrides?: CallOverrides - ): Promise; - - duration(overrides?: CallOverrides): Promise; - - eip712Domain(overrides?: CallOverrides): Promise; - - getBeneficiaries(overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - _account: string, - _blockNumber: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPending( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getReleasable( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getReleased( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getTotal( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getTotalMatured( - _beneficiary: string, - overrides?: CallOverrides - ): Promise; - - getVotes( - _account: string, - overrides?: CallOverrides - ): Promise; - - nonces( - owner: string, - overrides?: CallOverrides - ): Promise; - - release( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - start(overrides?: CallOverrides): Promise; - - token(overrides?: CallOverrides): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/Ownable.d.ts b/src/assets/typechain-types/dcnt/Ownable.d.ts deleted file mode 100644 index 265dc3e883..0000000000 --- a/src/assets/typechain-types/dcnt/Ownable.d.ts +++ /dev/null @@ -1,181 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - Overrides, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface OwnableInterface extends ethers.utils.Interface { - functions: { - "owner()": FunctionFragment; - "renounceOwnership()": FunctionFragment; - "transferOwnership(address)": FunctionFragment; - }; - - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [string] - ): string; - - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - - events: { - "OwnershipTransferred(address,address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; -} - -export type OwnershipTransferredEvent = TypedEvent< - [string, string] & { previousOwner: string; newOwner: string } ->; - -export class Ownable extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: OwnableInterface; - - functions: { - owner(overrides?: CallOverrides): Promise<[string]>; - - renounceOwnership( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferOwnership( - newOwner: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - owner(overrides?: CallOverrides): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferOwnership( - newOwner: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - callStatic: { - owner(overrides?: CallOverrides): Promise; - - renounceOwnership(overrides?: CallOverrides): Promise; - - transferOwnership( - newOwner: string, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "OwnershipTransferred(address,address)"( - previousOwner?: string | null, - newOwner?: string | null - ): TypedEventFilter< - [string, string], - { previousOwner: string; newOwner: string } - >; - - OwnershipTransferred( - previousOwner?: string | null, - newOwner?: string | null - ): TypedEventFilter< - [string, string], - { previousOwner: string; newOwner: string } - >; - }; - - estimateGas: { - owner(overrides?: CallOverrides): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferOwnership( - newOwner: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; - - populateTransaction: { - owner(overrides?: CallOverrides): Promise; - - renounceOwnership( - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - transferOwnership( - newOwner: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/ShortStrings.d.ts b/src/assets/typechain-types/dcnt/ShortStrings.d.ts deleted file mode 100644 index 2b15ef2436..0000000000 --- a/src/assets/typechain-types/dcnt/ShortStrings.d.ts +++ /dev/null @@ -1,78 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface ShortStringsInterface extends ethers.utils.Interface { - functions: {}; - - events: {}; -} - -export class ShortStrings extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: ShortStringsInterface; - - functions: {}; - - callStatic: {}; - - filters: {}; - - estimateGas: {}; - - populateTransaction: {}; -} diff --git a/src/assets/typechain-types/dcnt/Votes.d.ts b/src/assets/typechain-types/dcnt/Votes.d.ts deleted file mode 100644 index 87779d4743..0000000000 --- a/src/assets/typechain-types/dcnt/Votes.d.ts +++ /dev/null @@ -1,464 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - ethers, - EventFilter, - Signer, - BigNumber, - BigNumberish, - PopulatedTransaction, - BaseContract, - ContractTransaction, - Overrides, - CallOverrides, -} from "ethers"; -import { BytesLike } from "@ethersproject/bytes"; -import { Listener, Provider } from "@ethersproject/providers"; -import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; -import type { TypedEventFilter, TypedEvent, TypedListener } from "./common"; - -interface VotesInterface extends ethers.utils.Interface { - functions: { - "CLOCK_MODE()": FunctionFragment; - "DOMAIN_SEPARATOR()": FunctionFragment; - "clock()": FunctionFragment; - "delegate(address)": FunctionFragment; - "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - "delegates(address)": FunctionFragment; - "eip712Domain()": FunctionFragment; - "getPastTotalSupply(uint256)": FunctionFragment; - "getPastVotes(address,uint256)": FunctionFragment; - "getVotes(address)": FunctionFragment; - "nonces(address)": FunctionFragment; - }; - - encodeFunctionData( - functionFragment: "CLOCK_MODE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "clock", values?: undefined): string; - encodeFunctionData(functionFragment: "delegate", values: [string]): string; - encodeFunctionData( - functionFragment: "delegateBySig", - values: [ - string, - BigNumberish, - BigNumberish, - BigNumberish, - BytesLike, - BytesLike - ] - ): string; - encodeFunctionData(functionFragment: "delegates", values: [string]): string; - encodeFunctionData( - functionFragment: "eip712Domain", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getPastTotalSupply", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "getPastVotes", - values: [string, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "getVotes", values: [string]): string; - encodeFunctionData(functionFragment: "nonces", values: [string]): string; - - decodeFunctionResult(functionFragment: "CLOCK_MODE", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "clock", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "delegate", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "delegateBySig", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "delegates", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "eip712Domain", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getPastTotalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getPastVotes", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVotes", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; - - events: { - "DelegateChanged(address,address,address)": EventFragment; - "DelegateVotesChanged(address,uint256,uint256)": EventFragment; - "EIP712DomainChanged()": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "DelegateChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "DelegateVotesChanged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "EIP712DomainChanged"): EventFragment; -} - -export type DelegateChangedEvent = TypedEvent< - [string, string, string] & { - delegator: string; - fromDelegate: string; - toDelegate: string; - } ->; - -export type DelegateVotesChangedEvent = TypedEvent< - [string, BigNumber, BigNumber] & { - delegate: string; - previousBalance: BigNumber; - newBalance: BigNumber; - } ->; - -export type EIP712DomainChangedEvent = TypedEvent<[] & {}>; - -export class Votes extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - listeners, EventArgsObject>( - eventFilter?: TypedEventFilter - ): Array>; - off, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - on, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - once, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeListener, EventArgsObject>( - eventFilter: TypedEventFilter, - listener: TypedListener - ): this; - removeAllListeners, EventArgsObject>( - eventFilter: TypedEventFilter - ): this; - - listeners(eventName?: string): Array; - off(eventName: string, listener: Listener): this; - on(eventName: string, listener: Listener): this; - once(eventName: string, listener: Listener): this; - removeListener(eventName: string, listener: Listener): this; - removeAllListeners(eventName?: string): this; - - queryFilter, EventArgsObject>( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - interface: VotesInterface; - - functions: { - CLOCK_MODE(overrides?: CallOverrides): Promise<[string]>; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<[string]>; - - clock(overrides?: CallOverrides): Promise<[number]>; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise<[string]>; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getVotes(account: string, overrides?: CallOverrides): Promise<[BigNumber]>; - - nonces(owner: string, overrides?: CallOverrides): Promise<[BigNumber]>; - }; - - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - - callStatic: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - - delegate(delegatee: string, overrides?: CallOverrides): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: CallOverrides - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - eip712Domain( - overrides?: CallOverrides - ): Promise< - [string, string, string, BigNumber, string, string, BigNumber[]] & { - fields: string; - name: string; - version: string; - chainId: BigNumber; - verifyingContract: string; - salt: string; - extensions: BigNumber[]; - } - >; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - }; - - filters: { - "DelegateChanged(address,address,address)"( - delegator?: string | null, - fromDelegate?: string | null, - toDelegate?: string | null - ): TypedEventFilter< - [string, string, string], - { delegator: string; fromDelegate: string; toDelegate: string } - >; - - DelegateChanged( - delegator?: string | null, - fromDelegate?: string | null, - toDelegate?: string | null - ): TypedEventFilter< - [string, string, string], - { delegator: string; fromDelegate: string; toDelegate: string } - >; - - "DelegateVotesChanged(address,uint256,uint256)"( - delegate?: string | null, - previousBalance?: null, - newBalance?: null - ): TypedEventFilter< - [string, BigNumber, BigNumber], - { delegate: string; previousBalance: BigNumber; newBalance: BigNumber } - >; - - DelegateVotesChanged( - delegate?: string | null, - previousBalance?: null, - newBalance?: null - ): TypedEventFilter< - [string, BigNumber, BigNumber], - { delegate: string; previousBalance: BigNumber; newBalance: BigNumber } - >; - - "EIP712DomainChanged()"(): TypedEventFilter<[], {}>; - - EIP712DomainChanged(): TypedEventFilter<[], {}>; - }; - - estimateGas: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates(account: string, overrides?: CallOverrides): Promise; - - eip712Domain(overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes(account: string, overrides?: CallOverrides): Promise; - - nonces(owner: string, overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - CLOCK_MODE(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - clock(overrides?: CallOverrides): Promise; - - delegate( - delegatee: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegateBySig( - delegatee: string, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - overrides?: Overrides & { from?: string | Promise } - ): Promise; - - delegates( - account: string, - overrides?: CallOverrides - ): Promise; - - eip712Domain(overrides?: CallOverrides): Promise; - - getPastTotalSupply( - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getPastVotes( - account: string, - timepoint: BigNumberish, - overrides?: CallOverrides - ): Promise; - - getVotes( - account: string, - overrides?: CallOverrides - ): Promise; - - nonces( - owner: string, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/src/assets/typechain-types/dcnt/common.d.ts b/src/assets/typechain-types/dcnt/common.d.ts deleted file mode 100644 index fc937825df..0000000000 --- a/src/assets/typechain-types/dcnt/common.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { EventFilter, Event } from "ethers"; -import { Result } from "@ethersproject/abi"; - -export interface TypedEventFilter<_EventArgsArray, _EventArgsObject> - extends EventFilter {} - -export interface TypedEvent extends Event { - args: EventArgs; -} - -export type TypedListener< - EventArgsArray extends Array, - EventArgsObject -> = ( - ...listenerArg: [ - ...EventArgsArray, - TypedEvent - ] -) => void; - -export type MinEthersFactory = { - deploy(...a: ARGS[]): Promise; -}; -export type GetContractTypeFromFactory = F extends MinEthersFactory< - infer C, - any -> - ? C - : never; -export type GetARGsTypeFromFactory = F extends MinEthersFactory - ? Parameters - : never; diff --git a/src/assets/typechain-types/dcnt/factories/DCNTToken__factory.ts b/src/assets/typechain-types/dcnt/factories/DCNTToken__factory.ts deleted file mode 100644 index bb106532ac..0000000000 --- a/src/assets/typechain-types/dcnt/factories/DCNTToken__factory.ts +++ /dev/null @@ -1,885 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - Signer, - utils, - BigNumberish, - Contract, - ContractFactory, - Overrides, -} from "ethers"; -import { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { DCNTToken, DCNTTokenInterface } from "../DCNTToken"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_supply", - type: "uint256", - }, - { - internalType: "address", - name: "_owner", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "InvalidShortString", - type: "error", - }, - { - inputs: [], - name: "MintExceedsMaximum", - type: "error", - }, - { - inputs: [], - name: "MintTooSoon", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "str", - type: "string", - }, - ], - name: "StringTooLong", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "spender", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "delegator", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "fromDelegate", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "toDelegate", - type: "address", - }, - ], - name: "DelegateChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "delegate", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "previousBalance", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "newBalance", - type: "uint256", - }, - ], - name: "DelegateVotesChanged", - type: "event", - }, - { - anonymous: false, - inputs: [], - name: "EIP712DomainChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "to", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - inputs: [], - name: "CLOCK_MODE", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "DOMAIN_SEPARATOR", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "MINIMUM_MINT_INTERVAL", - outputs: [ - { - internalType: "uint32", - name: "", - type: "uint32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "MINT_CAP_BPS", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "approve", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "burn", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - { - internalType: "uint32", - name: "pos", - type: "uint32", - }, - ], - name: "checkpoints", - outputs: [ - { - components: [ - { - internalType: "uint32", - name: "fromBlock", - type: "uint32", - }, - { - internalType: "uint224", - name: "votes", - type: "uint224", - }, - ], - internalType: "struct ERC20Votes.Checkpoint", - name: "", - type: "tuple", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "clock", - outputs: [ - { - internalType: "uint48", - name: "", - type: "uint48", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "decimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "subtractedValue", - type: "uint256", - }, - ], - name: "decreaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - ], - name: "delegate", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - { - internalType: "uint256", - name: "nonce", - type: "uint256", - }, - { - internalType: "uint256", - name: "expiry", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "delegateBySig", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "delegates", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "eip712Domain", - outputs: [ - { - internalType: "bytes1", - name: "fields", - type: "bytes1", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "string", - name: "version", - type: "string", - }, - { - internalType: "uint256", - name: "chainId", - type: "uint256", - }, - { - internalType: "address", - name: "verifyingContract", - type: "address", - }, - { - internalType: "bytes32", - name: "salt", - type: "bytes32", - }, - { - internalType: "uint256[]", - name: "extensions", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timepoint", - type: "uint256", - }, - ], - name: "getPastTotalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - { - internalType: "uint256", - name: "timepoint", - type: "uint256", - }, - ], - name: "getPastVotes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "getVotes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "addedValue", - type: "uint256", - }, - ], - name: "increaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "dest", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "mint", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "nextMint", - outputs: [ - { - internalType: "uint128", - name: "", - type: "uint128", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "nonces", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "numCheckpoints", - outputs: [ - { - internalType: "uint32", - name: "", - type: "uint32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "uint256", - name: "deadline", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "permit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transfer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -]; - -const _bytecode = - "0x6101606040523480156200001257600080fd5b506040516200609238038062006092833981810160405281019062000038919062000ee6565b6040518060400160405280600681526020017f446563656e740000000000000000000000000000000000000000000000000000815250806040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f446563656e7400000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f44434e540000000000000000000000000000000000000000000000000000000081525081600390816200012291906200119d565b5080600490816200013491906200119d565b5050506200014d6005836200028360201b90919060201c565b61012081815250506200016b6006826200028360201b90919060201c565b6101408181525050818051906020012060e08181525050808051906020012061010081815250504660a08181525050620001aa620002db60201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff168152505050505062000208620001fc6200033860201b60201c565b6200034060201b60201c565b6200021a33836200040660201b60201c565b6301e1338063ffffffff1642620002329190620012b3565b600d60006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506200027b816200034060201b60201c565b505062001834565b6000602083511015620002a957620002a183620004bf60201b60201c565b9050620002d5565b82620002bb836200052c60201b60201c565b6000019081620002cc91906200119d565b5060ff60001b90505b92915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60e0516101005146306040516020016200031d9594939291906200132b565b60405160208183030381529060405280519060200120905090565b600033905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200041882826200053660201b60201c565b62000428620006a360201b60201c565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1662000456620006c760201b60201c565b11156200049a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000491906200140f565b60405180910390fd5b620004b9600b620006d160201b620014471783620006e960201b60201c565b50505050565b600080829050601f815111156200050f57826040517f305a27a9000000000000000000000000000000000000000000000000000000008152600401620005069190620014af565b60405180910390fd5b8051816200051d9062001505565b60001c1760001b915050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620005a8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200059f90620015c5565b60405180910390fd5b620005bc60008383620009ff60201b60201c565b8060026000828254620005d09190620012b3565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620006839190620015e7565b60405180910390a36200069f6000838362000a0460201b60201c565b5050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b6000600254905090565b60008183620006e19190620012b3565b905092915050565b6000806000858054905090506000808214620007b95762000714876001840362000a4f60201b60201c565b6040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681525050620007f5565b6040518060400160405280600063ffffffff16815260200160007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152505b905080602001517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1693506200082884868860201c565b92506000821180156200085b57506200084662000a6460201b60201c565b65ffffffffffff16816000015163ffffffff16145b15620008de57620008728362000a7c60201b60201c565b62000887886001850362000a4f60201b60201c565b60000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff160217905550620009f5565b86604051806040016040528062000912620008fe62000a6460201b60201c565b65ffffffffffff1662000aea60201b60201c565b63ffffffff1681526020016200092e8662000a7c60201b60201c565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555050505b5050935093915050565b505050565b62000a1783838362000b4060201b60201c565b62000a4a62000a2c8462000b4560201b60201c565b62000a3d8462000b4560201b60201c565b8362000bae60201b60201c565b505050565b60008260005281602060002001905092915050565b600062000a774362000dd160201b60201c565b905090565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff801682111562000ae2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000ad9906200167a565b60405180910390fd5b819050919050565b600063ffffffff801682111562000b38576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000b2f9062001712565b60405180910390fd5b819050919050565b505050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801562000beb5750600081115b1562000dcc57600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161462000cde5760008062000c85600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002062000e2960201b6200145d1785620006e960201b60201c565b915091508473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405162000cd392919062001734565b60405180910390a250505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000dcb5760008062000d72600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020620006d160201b620014471785620006e960201b60201c565b915091508373ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405162000dc092919062001734565b60405180910390a250505b5b505050565b600065ffffffffffff801682111562000e21576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000e1890620017d7565b60405180910390fd5b819050919050565b6000818362000e399190620017f9565b905092915050565b600080fd5b6000819050919050565b62000e5b8162000e46565b811462000e6757600080fd5b50565b60008151905062000e7b8162000e50565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000eae8262000e81565b9050919050565b62000ec08162000ea1565b811462000ecc57600080fd5b50565b60008151905062000ee08162000eb5565b92915050565b6000806040838503121562000f005762000eff62000e41565b5b600062000f108582860162000e6a565b925050602062000f238582860162000ecf565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000faf57607f821691505b60208210810362000fc55762000fc462000f67565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200102f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000ff0565b6200103b868362000ff0565b95508019841693508086168417925050509392505050565b6000819050919050565b60006200107e62001078620010728462000e46565b62001053565b62000e46565b9050919050565b6000819050919050565b6200109a836200105d565b620010b2620010a98262001085565b84845462000ffd565b825550505050565b600090565b620010c9620010ba565b620010d68184846200108f565b505050565b5b81811015620010fe57620010f2600082620010bf565b600181019050620010dc565b5050565b601f8211156200114d57620011178162000fcb565b620011228462000fe0565b8101602085101562001132578190505b6200114a620011418562000fe0565b830182620010db565b50505b505050565b600082821c905092915050565b6000620011726000198460080262001152565b1980831691505092915050565b60006200118d83836200115f565b9150826002028217905092915050565b620011a88262000f2d565b67ffffffffffffffff811115620011c457620011c362000f38565b5b620011d0825462000f96565b620011dd82828562001102565b600060209050601f83116001811462001215576000841562001200578287015190505b6200120c85826200117f565b8655506200127c565b601f198416620012258662000fcb565b60005b828110156200124f5784890151825560018201915060208501945060208101905062001228565b868310156200126f57848901516200126b601f8916826200115f565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620012c08262000e46565b9150620012cd8362000e46565b9250828201905080821115620012e857620012e762001284565b5b92915050565b6000819050919050565b6200130381620012ee565b82525050565b620013148162000e46565b82525050565b620013258162000ea1565b82525050565b600060a082019050620013426000830188620012f8565b620013516020830187620012f8565b620013606040830186620012f8565b6200136f606083018562001309565b6200137e60808301846200131a565b9695505050505050565b600082825260208201905092915050565b7f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60008201527f766572666c6f77696e6720766f74657300000000000000000000000000000000602082015250565b6000620013f760308362001388565b9150620014048262001399565b604082019050919050565b600060208201905081810360008301526200142a81620013e8565b9050919050565b60005b838110156200145157808201518184015260208101905062001434565b60008484015250505050565b6000601f19601f8301169050919050565b60006200147b8262000f2d565b62001487818562001388565b93506200149981856020860162001431565b620014a4816200145d565b840191505092915050565b60006020820190508181036000830152620014cb81846200146e565b905092915050565b600081519050919050565b6000819050602082019050919050565b6000620014fc8251620012ee565b80915050919050565b60006200151282620014d3565b826200151e84620014de565b90506200152b81620014ee565b925060208210156200156e57620015697fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8360200360080262000ff0565b831692505b5050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000620015ad601f8362001388565b9150620015ba8262001575565b602082019050919050565b60006020820190508181036000830152620015e0816200159e565b9050919050565b6000602082019050620015fe600083018462001309565b92915050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203260008201527f3234206269747300000000000000000000000000000000000000000000000000602082015250565b60006200166260278362001388565b91506200166f8262001604565b604082019050919050565b60006020820190508181036000830152620016958162001653565b9050919050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203360008201527f3220626974730000000000000000000000000000000000000000000000000000602082015250565b6000620016fa60268362001388565b915062001707826200169c565b604082019050919050565b600060208201905081810360008301526200172d81620016eb565b9050919050565b60006040820190506200174b600083018562001309565b6200175a602083018462001309565b9392505050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203460008201527f3820626974730000000000000000000000000000000000000000000000000000602082015250565b6000620017bf60268362001388565b9150620017cc8262001761565b604082019050919050565b60006020820190508181036000830152620017f281620017b0565b9050919050565b6000620018068262000e46565b9150620018138362000e46565b92508282039050818111156200182e576200182d62001284565b5b92915050565b60805160a05160c05160e0516101005161012051610140516148036200188f6000396000610c3701526000610c03015260006120cd015260006120ac0152600061194a015260006119a0015260006119c901526148036000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c806370a082311161011a5780639ab24eb0116100ad578063cf6654431161007c578063cf6654431461060a578063d505accf14610628578063dd62ed3e14610644578063f1127ed814610674578063f2fde38b146106a4576101fb565b80639ab24eb01461055e578063a457c2d71461058e578063a9059cbb146105be578063c3cda520146105ee576101fb565b80638da5cb5b116100e95780638da5cb5b146104d45780638e539e8c146104f257806391ddadf41461052257806395d89b4114610540576101fb565b806370a0823114610446578063715018a6146104765780637ecebe001461048057806384b0196e146104b0576101fb565b80633a46b1a8116101925780634bf5d7e9116101615780634bf5d7e9146103ac578063587cde1e146103ca5780635c19a95c146103fa5780636fcfff4514610416576101fb565b80633a46b1a81461032657806340c10f191461035657806342966c681461037257806349779e9e1461038e576101fb565b806323b872dd116101ce57806323b872dd1461028a578063313ce567146102ba5780633644e515146102d857806339509351146102f6576101fb565b806306fdde0314610200578063095ea7b31461021e57806318160ddd1461024e57806318dc7fc91461026c575b600080fd5b6102086106c0565b6040516102159190613007565b60405180910390f35b610238600480360381019061023391906130c2565b610752565b604051610245919061311d565b60405180910390f35b610256610775565b6040516102639190613147565b60405180910390f35b61027461077f565b6040516102819190613181565b60405180910390f35b6102a4600480360381019061029f919061319c565b610787565b6040516102b1919061311d565b60405180910390f35b6102c26107b6565b6040516102cf919061320b565b60405180910390f35b6102e06107bf565b6040516102ed919061323f565b60405180910390f35b610310600480360381019061030b91906130c2565b6107ce565b60405161031d919061311d565b60405180910390f35b610340600480360381019061033b91906130c2565b610805565b60405161034d9190613147565b60405180910390f35b610370600480360381019061036b91906130c2565b6108a8565b005b61038c6004803603810190610387919061325a565b6109d3565b005b6103966109e0565b6040516103a3919061320b565b60405180910390f35b6103b46109e5565b6040516103c19190613007565b60405180910390f35b6103e460048036038101906103df9190613287565b610a73565b6040516103f191906132c3565b60405180910390f35b610414600480360381019061040f9190613287565b610adc565b005b610430600480360381019061042b9190613287565b610af0565b60405161043d9190613181565b60405180910390f35b610460600480360381019061045b9190613287565b610b44565b60405161046d9190613147565b60405180910390f35b61047e610b8c565b005b61049a60048036038101906104959190613287565b610ba0565b6040516104a79190613147565b60405180910390f35b6104b8610bf0565b6040516104cb97969594939291906133d7565b60405180910390f35b6104dc610cf2565b6040516104e991906132c3565b60405180910390f35b61050c6004803603810190610507919061325a565b610d1c565b6040516105199190613147565b60405180910390f35b61052a610d81565b604051610537919061347c565b60405180910390f35b610548610d91565b6040516105559190613007565b60405180910390f35b61057860048036038101906105739190613287565b610e23565b6040516105859190613147565b60405180910390f35b6105a860048036038101906105a391906130c2565b610f2b565b6040516105b5919061311d565b60405180910390f35b6105d860048036038101906105d391906130c2565b610fa2565b6040516105e5919061311d565b60405180910390f35b610608600480360381019061060391906134ef565b610fc5565b005b6106126110c9565b60405161061f91906135a7565b60405180910390f35b610642600480360381019061063d91906135c2565b6110eb565b005b61065e60048036038101906106599190613664565b61122d565b60405161066b9190613147565b60405180910390f35b61068e600480360381019061068991906136d0565b6112b4565b60405161069b9190613785565b60405180910390f35b6106be60048036038101906106b99190613287565b6113c4565b005b6060600380546106cf906137cf565b80601f01602080910402602001604051908101604052809291908181526020018280546106fb906137cf565b80156107485780601f1061071d57610100808354040283529160200191610748565b820191906000526020600020905b81548152906001019060200180831161072b57829003601f168201915b5050505050905090565b60008061075d611473565b905061076a81858561147b565b600191505092915050565b6000600254905090565b6301e1338081565b600080610792611473565b905061079f858285611644565b6107aa8585856116d0565b60019150509392505050565b60006012905090565b60006107c9611946565b905090565b6000806107d9611473565b90506107fa8185856107eb858961122d565b6107f5919061382f565b61147b565b600191505092915050565b600061080f610d81565b65ffffffffffff168210610858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084f906138af565b60405180910390fd5b6108a0600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020836119fd565b905092915050565b6108b0611b45565b61271060c860ff166108c0610775565b6108ca91906138cf565b6108d49190613940565b81111561090d576040517f8625244200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16421015610977576040517f8e41d37a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6301e1338063ffffffff164261098d919061382f565b600d60006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506109cf8282611bc3565b5050565b6109dd3382611c50565b50565b60c881565b6060436109f0610d81565b65ffffffffffff1614610a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2f906139bd565b60405180910390fd5b6040518060400160405280601d81526020017f6d6f64653d626c6f636b6e756d6265722666726f6d3d64656661756c74000000815250905090565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610aed610ae7611473565b82611c6e565b50565b6000610b3d600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050611d88565b9050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b94611b45565b610b9e6000611ddb565b565b6000610be9600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611ea1565b9050919050565b600060608060008060006060610c3060057f0000000000000000000000000000000000000000000000000000000000000000611eaf90919063ffffffff16565b610c6460067f0000000000000000000000000000000000000000000000000000000000000000611eaf90919063ffffffff16565b46306000801b600067ffffffffffffffff811115610c8557610c846139dd565b5b604051908082528060200260200182016040528015610cb35781602001602082028036833780820191505090505b507f0f00000000000000000000000000000000000000000000000000000000000000959493929190965096509650965096509650965090919293949596565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610d26610d81565b65ffffffffffff168210610d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d66906138af565b60405180910390fd5b610d7a600b836119fd565b9050919050565b6000610d8c43611f5f565b905090565b606060048054610da0906137cf565b80601f0160208091040260200160405190810160405280929190818152602001828054610dcc906137cf565b8015610e195780601f10610dee57610100808354040283529160200191610e19565b820191906000526020600020905b815481529060010190602001808311610dfc57829003601f168201915b5050505050905090565b600080600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050905060008114610f0257600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001820381548110610ec757610ec6613a0c565b5b9060005260206000200160000160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16610f05565b60005b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16915050919050565b600080610f36611473565b90506000610f44828661122d565b905083811015610f89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8090613aad565b60405180910390fd5b610f96828686840361147b565b60019250505092915050565b600080610fad611473565b9050610fba8185856116d0565b600191505092915050565b83421115611008576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fff90613b19565b60405180910390fd5b600061106a6110627fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf8989896040516020016110479493929190613b39565b60405160208183030381529060405280519060200120611fb4565b858585611fce565b905061107581611ff9565b86146110b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ad90613bca565b60405180910390fd5b6110c08188611c6e565b50505050505050565b600d60009054906101000a90046fffffffffffffffffffffffffffffffff1681565b8342111561112e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112590613c36565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861115d8c611ff9565b8960405160200161117396959493929190613c56565b604051602081830303815290604052805190602001209050600061119682611fb4565b905060006111a682878787611fce565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d90613d03565b60405180910390fd5b6112218a8a8a61147b565b50505050505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6112bc612f39565b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208263ffffffff168154811061131357611312613a0c565b5b906000526020600020016040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681525050905092915050565b6113cc611b45565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361143b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143290613d95565b60405180910390fd5b61144481611ddb565b50565b60008183611455919061382f565b905092915050565b6000818361146b9190613db5565b905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e190613e5b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611559576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155090613eed565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516116379190613147565b60405180910390a3505050565b6000611650848461122d565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146116ca57818110156116bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b390613f59565b60405180910390fd5b6116c9848484840361147b565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361173f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173690613feb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a59061407d565b60405180910390fd5b6117b9838383612057565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561183f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118369061410f565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161192d9190613147565b60405180910390a361194084848461205c565b50505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161480156119c257507f000000000000000000000000000000000000000000000000000000000000000046145b156119ef577f000000000000000000000000000000000000000000000000000000000000000090506119fa565b6119f7612087565b90505b90565b600080838054905090506000808290506005831115611a73576000611a218461211d565b84611a2c9190613db5565b905085611a398883612216565b60000160009054906101000a900463ffffffff1663ffffffff161115611a6157809150611a71565b600181611a6e919061382f565b92505b505b5b80821015611ad3576000611a88838361222b565b905085611a958883612216565b60000160009054906101000a900463ffffffff1663ffffffff161115611abd57809150611acd565b600181611aca919061382f565b92505b50611a74565b60008114611b1957611ae88660018303612216565b60000160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16611b1c565b60005b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16935050505092915050565b611b4d611473565b73ffffffffffffffffffffffffffffffffffffffff16611b6b610cf2565b73ffffffffffffffffffffffffffffffffffffffff1614611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb89061417b565b60405180910390fd5b565b611bcd8282612251565b611bd56123a7565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16611bfb610775565b1115611c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c339061420d565b60405180910390fd5b611c4a600b611447836123cb565b50505050565b611c5a82826126a6565b611c68600b61145d836123cb565b50505050565b6000611c7983610a73565b90506000611c8684610b44565b905082600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a4611d82828483612873565b50505050565b600063ffffffff8016821115611dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dca9061429f565b60405180910390fd5b819050919050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b606060ff60001b8314611ecc57611ec583612a6c565b9050611f59565b818054611ed8906137cf565b80601f0160208091040260200160405190810160405280929190818152602001828054611f04906137cf565b8015611f515780601f10611f2657610100808354040283529160200191611f51565b820191906000526020600020905b815481529060010190602001808311611f3457829003601f168201915b505050505090505b92915050565b600065ffffffffffff8016821115611fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa390614331565b60405180910390fd5b819050919050565b6000611fc7611fc1611946565b83612ae0565b9050919050565b6000806000611fdf87878787612b21565b91509150611fec81612c03565b8192505050949350505050565b600080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061204681611ea1565b915061205181612d69565b50919050565b505050565b612067838383612d7f565b61208261207384610a73565b61207c84610a73565b83612873565b505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000004630604051602001612102959493929190614351565b60405160208183030381529060405280519060200120905090565b600080820361212f5760009050612211565b6000600161213c84612d84565b901c6001901b9050600181848161215657612155613911565b5b048201901c9050600181848161216f5761216e613911565b5b048201901c9050600181848161218857612187613911565b5b048201901c905060018184816121a1576121a0613911565b5b048201901c905060018184816121ba576121b9613911565b5b048201901c905060018184816121d3576121d2613911565b5b048201901c905060018184816121ec576121eb613911565b5b048201901c905061220d8182858161220757612206613911565b5b04612e65565b9150505b919050565b60008260005281602060002001905092915050565b6000600282841861223c9190613940565b828416612249919061382f565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036122c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b7906143f0565b60405180910390fd5b6122cc60008383612057565b80600260008282546122de919061382f565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161238f9190613147565b60405180910390a36123a36000838361205c565b5050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b6000806000858054905090506000808214612491576123ed8760018403612216565b6040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16815250506124cd565b6040518060400160405280600063ffffffff16815260200160007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152505b905080602001517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16935061250284868863ffffffff16565b925060008211801561252c5750612517610d81565b65ffffffffffff16816000015163ffffffff16145b1561259d5761253a83612e7e565b6125478860018503612216565b60000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555061269c565b8660405180604001604052806125c16125b4610d81565b65ffffffffffff16611d88565b63ffffffff1681526020016125d586612e7e565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555050505b5050935093915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270c90614482565b60405180910390fd5b61272182600083612057565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156127a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279e90614514565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161285a9190613147565b60405180910390a361286e8360008461205c565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156128af5750600081115b15612a6757600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461298d57600080612936600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061145d856123cb565b915091508473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051612982929190614534565b60405180910390a250505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a6657600080612a0f600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611447856123cb565b915091508373ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051612a5b929190614534565b60405180910390a250505b5b505050565b60606000612a7983612ee9565b90506000602067ffffffffffffffff811115612a9857612a976139dd565b5b6040519080825280601f01601f191660200182016040528015612aca5781602001600182028036833780820191505090505b5090508181528360208201528092505050919050565b60006040517f190100000000000000000000000000000000000000000000000000000000000081528360028201528260228201526042812091505092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612b5c576000600391509150612bfa565b600060018787878760405160008152602001604052604051612b81949392919061455d565b6020604051602081039080840390855afa158015612ba3573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612bf157600060019250925050612bfa565b80600092509250505b94509492505050565b60006004811115612c1757612c166145a2565b5b816004811115612c2a57612c296145a2565b5b0315612d665760016004811115612c4457612c436145a2565b5b816004811115612c5757612c566145a2565b5b03612c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8e9061461d565b60405180910390fd5b60026004811115612cab57612caa6145a2565b5b816004811115612cbe57612cbd6145a2565b5b03612cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf590614689565b60405180910390fd5b60036004811115612d1257612d116145a2565b5b816004811115612d2557612d246145a2565b5b03612d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5c9061471b565b60405180910390fd5b5b50565b6001816000016000828254019250508190555050565b505050565b600080600090506000608084901c1115612da657608083901c92506080810190505b6000604084901c1115612dc157604083901c92506040810190505b6000602084901c1115612ddc57602083901c92506020810190505b6000601084901c1115612df757601083901c92506010810190505b6000600884901c1115612e1257600883901c92506008810190505b6000600484901c1115612e2d57600483901c92506004810190505b6000600284901c1115612e4857600283901c92506002810190505b6000600184901c1115612e5c576001810190505b80915050919050565b6000818310612e745781612e76565b825b905092915050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8016821115612ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed8906147ad565b60405180910390fd5b819050919050565b60008060ff8360001c169050601f811115612f30576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b6040518060400160405280600063ffffffff16815260200160007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681525090565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fb1578082015181840152602081019050612f96565b60008484015250505050565b6000601f19601f8301169050919050565b6000612fd982612f77565b612fe38185612f82565b9350612ff3818560208601612f93565b612ffc81612fbd565b840191505092915050565b600060208201905081810360008301526130218184612fce565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130598261302e565b9050919050565b6130698161304e565b811461307457600080fd5b50565b60008135905061308681613060565b92915050565b6000819050919050565b61309f8161308c565b81146130aa57600080fd5b50565b6000813590506130bc81613096565b92915050565b600080604083850312156130d9576130d8613029565b5b60006130e785828601613077565b92505060206130f8858286016130ad565b9150509250929050565b60008115159050919050565b61311781613102565b82525050565b6000602082019050613132600083018461310e565b92915050565b6131418161308c565b82525050565b600060208201905061315c6000830184613138565b92915050565b600063ffffffff82169050919050565b61317b81613162565b82525050565b60006020820190506131966000830184613172565b92915050565b6000806000606084860312156131b5576131b4613029565b5b60006131c386828701613077565b93505060206131d486828701613077565b92505060406131e5868287016130ad565b9150509250925092565b600060ff82169050919050565b613205816131ef565b82525050565b600060208201905061322060008301846131fc565b92915050565b6000819050919050565b61323981613226565b82525050565b60006020820190506132546000830184613230565b92915050565b6000602082840312156132705761326f613029565b5b600061327e848285016130ad565b91505092915050565b60006020828403121561329d5761329c613029565b5b60006132ab84828501613077565b91505092915050565b6132bd8161304e565b82525050565b60006020820190506132d860008301846132b4565b92915050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b613313816132de565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61334e8161308c565b82525050565b60006133608383613345565b60208301905092915050565b6000602082019050919050565b600061338482613319565b61338e8185613324565b935061339983613335565b8060005b838110156133ca5781516133b18882613354565b97506133bc8361336c565b92505060018101905061339d565b5085935050505092915050565b600060e0820190506133ec600083018a61330a565b81810360208301526133fe8189612fce565b905081810360408301526134128188612fce565b90506134216060830187613138565b61342e60808301866132b4565b61343b60a0830185613230565b81810360c083015261344d8184613379565b905098975050505050505050565b600065ffffffffffff82169050919050565b6134768161345b565b82525050565b6000602082019050613491600083018461346d565b92915050565b6134a0816131ef565b81146134ab57600080fd5b50565b6000813590506134bd81613497565b92915050565b6134cc81613226565b81146134d757600080fd5b50565b6000813590506134e9816134c3565b92915050565b60008060008060008060c0878903121561350c5761350b613029565b5b600061351a89828a01613077565b965050602061352b89828a016130ad565b955050604061353c89828a016130ad565b945050606061354d89828a016134ae565b935050608061355e89828a016134da565b92505060a061356f89828a016134da565b9150509295509295509295565b60006fffffffffffffffffffffffffffffffff82169050919050565b6135a18161357c565b82525050565b60006020820190506135bc6000830184613598565b92915050565b600080600080600080600060e0888a0312156135e1576135e0613029565b5b60006135ef8a828b01613077565b97505060206136008a828b01613077565b96505060406136118a828b016130ad565b95505060606136228a828b016130ad565b94505060806136338a828b016134ae565b93505060a06136448a828b016134da565b92505060c06136558a828b016134da565b91505092959891949750929550565b6000806040838503121561367b5761367a613029565b5b600061368985828601613077565b925050602061369a85828601613077565b9150509250929050565b6136ad81613162565b81146136b857600080fd5b50565b6000813590506136ca816136a4565b92915050565b600080604083850312156136e7576136e6613029565b5b60006136f585828601613077565b9250506020613706858286016136bb565b9150509250929050565b61371981613162565b82525050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff82169050919050565b6137508161371f565b82525050565b60408201600082015161376c6000850182613710565b50602082015161377f6020850182613747565b50505050565b600060408201905061379a6000830184613756565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806137e757607f821691505b6020821081036137fa576137f96137a0565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061383a8261308c565b91506138458361308c565b925082820190508082111561385d5761385c613800565b5b92915050565b7f4552433230566f7465733a20667574757265206c6f6f6b757000000000000000600082015250565b6000613899601983612f82565b91506138a482613863565b602082019050919050565b600060208201905081810360008301526138c88161388c565b9050919050565b60006138da8261308c565b91506138e58361308c565b92508282026138f38161308c565b9150828204841483151761390a57613909613800565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061394b8261308c565b91506139568361308c565b92508261396657613965613911565b5b828204905092915050565b7f4552433230566f7465733a2062726f6b656e20636c6f636b206d6f6465000000600082015250565b60006139a7601d83612f82565b91506139b282613971565b602082019050919050565b600060208201905081810360008301526139d68161399a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613a97602583612f82565b9150613aa282613a3b565b604082019050919050565b60006020820190508181036000830152613ac681613a8a565b9050919050565b7f4552433230566f7465733a207369676e61747572652065787069726564000000600082015250565b6000613b03601d83612f82565b9150613b0e82613acd565b602082019050919050565b60006020820190508181036000830152613b3281613af6565b9050919050565b6000608082019050613b4e6000830187613230565b613b5b60208301866132b4565b613b686040830185613138565b613b756060830184613138565b95945050505050565b7f4552433230566f7465733a20696e76616c6964206e6f6e636500000000000000600082015250565b6000613bb4601983612f82565b9150613bbf82613b7e565b602082019050919050565b60006020820190508181036000830152613be381613ba7565b9050919050565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b6000613c20601d83612f82565b9150613c2b82613bea565b602082019050919050565b60006020820190508181036000830152613c4f81613c13565b9050919050565b600060c082019050613c6b6000830189613230565b613c7860208301886132b4565b613c8560408301876132b4565b613c926060830186613138565b613c9f6080830185613138565b613cac60a0830184613138565b979650505050505050565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b6000613ced601e83612f82565b9150613cf882613cb7565b602082019050919050565b60006020820190508181036000830152613d1c81613ce0565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d7f602683612f82565b9150613d8a82613d23565b604082019050919050565b60006020820190508181036000830152613dae81613d72565b9050919050565b6000613dc08261308c565b9150613dcb8361308c565b9250828203905081811115613de357613de2613800565b5b92915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613e45602483612f82565b9150613e5082613de9565b604082019050919050565b60006020820190508181036000830152613e7481613e38565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613ed7602283612f82565b9150613ee282613e7b565b604082019050919050565b60006020820190508181036000830152613f0681613eca565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613f43601d83612f82565b9150613f4e82613f0d565b602082019050919050565b60006020820190508181036000830152613f7281613f36565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613fd5602583612f82565b9150613fe082613f79565b604082019050919050565b6000602082019050818103600083015261400481613fc8565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614067602383612f82565b91506140728261400b565b604082019050919050565b600060208201905081810360008301526140968161405a565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006140f9602683612f82565b91506141048261409d565b604082019050919050565b60006020820190508181036000830152614128816140ec565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614165602083612f82565b91506141708261412f565b602082019050919050565b6000602082019050818103600083015261419481614158565b9050919050565b7f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60008201527f766572666c6f77696e6720766f74657300000000000000000000000000000000602082015250565b60006141f7603083612f82565b91506142028261419b565b604082019050919050565b60006020820190508181036000830152614226816141ea565b9050919050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203360008201527f3220626974730000000000000000000000000000000000000000000000000000602082015250565b6000614289602683612f82565b91506142948261422d565b604082019050919050565b600060208201905081810360008301526142b88161427c565b9050919050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203460008201527f3820626974730000000000000000000000000000000000000000000000000000602082015250565b600061431b602683612f82565b9150614326826142bf565b604082019050919050565b6000602082019050818103600083015261434a8161430e565b9050919050565b600060a0820190506143666000830188613230565b6143736020830187613230565b6143806040830186613230565b61438d6060830185613138565b61439a60808301846132b4565b9695505050505050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006143da601f83612f82565b91506143e5826143a4565b602082019050919050565b60006020820190508181036000830152614409816143cd565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061446c602183612f82565b915061447782614410565b604082019050919050565b6000602082019050818103600083015261449b8161445f565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b60006144fe602283612f82565b9150614509826144a2565b604082019050919050565b6000602082019050818103600083015261452d816144f1565b9050919050565b60006040820190506145496000830185613138565b6145566020830184613138565b9392505050565b60006080820190506145726000830187613230565b61457f60208301866131fc565b61458c6040830185613230565b6145996060830184613230565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614607601883612f82565b9150614612826145d1565b602082019050919050565b60006020820190508181036000830152614636816145fa565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614673601f83612f82565b915061467e8261463d565b602082019050919050565b600060208201905081810360008301526146a281614666565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614705602283612f82565b9150614710826146a9565b604082019050919050565b60006020820190508181036000830152614734816146f8565b9050919050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203260008201527f3234206269747300000000000000000000000000000000000000000000000000602082015250565b6000614797602783612f82565b91506147a28261473b565b604082019050919050565b600060208201905081810360008301526147c68161478a565b905091905056fea2646970667358221220c9b6258e45e7ffa55e65aa2cd7c847b2fec0be5af25509588fbf98ac49a1fcdf64736f6c63430008130033"; - -export class DCNTToken__factory extends ContractFactory { - constructor( - ...args: [signer: Signer] | ConstructorParameters - ) { - if (args.length === 1) { - super(_abi, _bytecode, args[0]); - } else { - super(...args); - } - } - - deploy( - _supply: BigNumberish, - _owner: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise { - return super.deploy(_supply, _owner, overrides || {}) as Promise; - } - getDeployTransaction( - _supply: BigNumberish, - _owner: string, - overrides?: Overrides & { from?: string | Promise } - ): TransactionRequest { - return super.getDeployTransaction(_supply, _owner, overrides || {}); - } - attach(address: string): DCNTToken { - return super.attach(address) as DCNTToken; - } - connect(signer: Signer): DCNTToken__factory { - return super.connect(signer) as DCNTToken__factory; - } - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): DCNTTokenInterface { - return new utils.Interface(_abi) as DCNTTokenInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): DCNTToken { - return new Contract(address, _abi, signerOrProvider) as DCNTToken; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/EIP712__factory.ts b/src/assets/typechain-types/dcnt/factories/EIP712__factory.ts deleted file mode 100644 index 6a722c88cc..0000000000 --- a/src/assets/typechain-types/dcnt/factories/EIP712__factory.ts +++ /dev/null @@ -1,85 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import { Provider } from "@ethersproject/providers"; -import type { EIP712, EIP712Interface } from "../EIP712"; - -const _abi = [ - { - inputs: [], - name: "InvalidShortString", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "str", - type: "string", - }, - ], - name: "StringTooLong", - type: "error", - }, - { - anonymous: false, - inputs: [], - name: "EIP712DomainChanged", - type: "event", - }, - { - inputs: [], - name: "eip712Domain", - outputs: [ - { - internalType: "bytes1", - name: "fields", - type: "bytes1", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "string", - name: "version", - type: "string", - }, - { - internalType: "uint256", - name: "chainId", - type: "uint256", - }, - { - internalType: "address", - name: "verifyingContract", - type: "address", - }, - { - internalType: "bytes32", - name: "salt", - type: "bytes32", - }, - { - internalType: "uint256[]", - name: "extensions", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, -]; - -export class EIP712__factory { - static readonly abi = _abi; - static createInterface(): EIP712Interface { - return new utils.Interface(_abi) as EIP712Interface; - } - static connect(address: string, signerOrProvider: Signer | Provider): EIP712 { - return new Contract(address, _abi, signerOrProvider) as EIP712; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/ERC20Permit__factory.ts b/src/assets/typechain-types/dcnt/factories/ERC20Permit__factory.ts deleted file mode 100644 index a6e5343b69..0000000000 --- a/src/assets/typechain-types/dcnt/factories/ERC20Permit__factory.ts +++ /dev/null @@ -1,433 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import { Provider } from "@ethersproject/providers"; -import type { ERC20Permit, ERC20PermitInterface } from "../ERC20Permit"; - -const _abi = [ - { - inputs: [], - name: "InvalidShortString", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "str", - type: "string", - }, - ], - name: "StringTooLong", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "spender", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [], - name: "EIP712DomainChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "to", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - inputs: [], - name: "DOMAIN_SEPARATOR", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "approve", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "decimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "subtractedValue", - type: "uint256", - }, - ], - name: "decreaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "eip712Domain", - outputs: [ - { - internalType: "bytes1", - name: "fields", - type: "bytes1", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "string", - name: "version", - type: "string", - }, - { - internalType: "uint256", - name: "chainId", - type: "uint256", - }, - { - internalType: "address", - name: "verifyingContract", - type: "address", - }, - { - internalType: "bytes32", - name: "salt", - type: "bytes32", - }, - { - internalType: "uint256[]", - name: "extensions", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "addedValue", - type: "uint256", - }, - ], - name: "increaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "nonces", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "uint256", - name: "deadline", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "permit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transfer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class ERC20Permit__factory { - static readonly abi = _abi; - static createInterface(): ERC20PermitInterface { - return new utils.Interface(_abi) as ERC20PermitInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): ERC20Permit { - return new Contract(address, _abi, signerOrProvider) as ERC20Permit; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/ERC20VotesLockable__factory.ts b/src/assets/typechain-types/dcnt/factories/ERC20VotesLockable__factory.ts deleted file mode 100644 index 3f4c900a9a..0000000000 --- a/src/assets/typechain-types/dcnt/factories/ERC20VotesLockable__factory.ts +++ /dev/null @@ -1,782 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import { Provider } from "@ethersproject/providers"; -import type { - ERC20VotesLockable, - ERC20VotesLockableInterface, -} from "../ERC20VotesLockable"; - -const _abi = [ - { - inputs: [], - name: "AlreadyInitialized", - type: "error", - }, - { - inputs: [], - name: "InvalidShortString", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "str", - type: "string", - }, - ], - name: "StringTooLong", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "spender", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "delegator", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "fromDelegate", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "toDelegate", - type: "address", - }, - ], - name: "DelegateChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "delegate", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "previousBalance", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "newBalance", - type: "uint256", - }, - ], - name: "DelegateVotesChanged", - type: "event", - }, - { - anonymous: false, - inputs: [], - name: "EIP712DomainChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "to", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - inputs: [], - name: "CLOCK_MODE", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "DOMAIN_SEPARATOR", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "approve", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - { - internalType: "uint32", - name: "pos", - type: "uint32", - }, - ], - name: "checkpoints", - outputs: [ - { - components: [ - { - internalType: "uint32", - name: "fromBlock", - type: "uint32", - }, - { - internalType: "uint224", - name: "votes", - type: "uint224", - }, - ], - internalType: "struct ERC20Votes.Checkpoint", - name: "", - type: "tuple", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "clock", - outputs: [ - { - internalType: "uint48", - name: "", - type: "uint48", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "decimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "subtractedValue", - type: "uint256", - }, - ], - name: "decreaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - ], - name: "delegate", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - { - internalType: "uint256", - name: "nonce", - type: "uint256", - }, - { - internalType: "uint256", - name: "expiry", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "delegateBySig", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "delegates", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "eip712Domain", - outputs: [ - { - internalType: "bytes1", - name: "fields", - type: "bytes1", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "string", - name: "version", - type: "string", - }, - { - internalType: "uint256", - name: "chainId", - type: "uint256", - }, - { - internalType: "address", - name: "verifyingContract", - type: "address", - }, - { - internalType: "bytes32", - name: "salt", - type: "bytes32", - }, - { - internalType: "uint256[]", - name: "extensions", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timepoint", - type: "uint256", - }, - ], - name: "getPastTotalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - { - internalType: "uint256", - name: "timepoint", - type: "uint256", - }, - ], - name: "getPastVotes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "getVotes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "addedValue", - type: "uint256", - }, - ], - name: "increaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "lock", - outputs: [ - { - internalType: "contract ILockRelease", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "nonces", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "numCheckpoints", - outputs: [ - { - internalType: "uint32", - name: "", - type: "uint32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "uint256", - name: "deadline", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "permit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_lockAddress", - type: "address", - }, - ], - name: "setUpLockedVotingPower", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transfer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class ERC20VotesLockable__factory { - static readonly abi = _abi; - static createInterface(): ERC20VotesLockableInterface { - return new utils.Interface(_abi) as ERC20VotesLockableInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): ERC20VotesLockable { - return new Contract(address, _abi, signerOrProvider) as ERC20VotesLockable; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/ERC20Votes__factory.ts b/src/assets/typechain-types/dcnt/factories/ERC20Votes__factory.ts deleted file mode 100644 index f919c9ef42..0000000000 --- a/src/assets/typechain-types/dcnt/factories/ERC20Votes__factory.ts +++ /dev/null @@ -1,696 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import { Provider } from "@ethersproject/providers"; -import type { ERC20Votes, ERC20VotesInterface } from "../ERC20Votes"; - -const _abi = [ - { - inputs: [], - name: "InvalidShortString", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "str", - type: "string", - }, - ], - name: "StringTooLong", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "spender", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "delegator", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "fromDelegate", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "toDelegate", - type: "address", - }, - ], - name: "DelegateChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "delegate", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "previousBalance", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "newBalance", - type: "uint256", - }, - ], - name: "DelegateVotesChanged", - type: "event", - }, - { - anonymous: false, - inputs: [], - name: "EIP712DomainChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "to", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - inputs: [], - name: "CLOCK_MODE", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "DOMAIN_SEPARATOR", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "approve", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - { - internalType: "uint32", - name: "pos", - type: "uint32", - }, - ], - name: "checkpoints", - outputs: [ - { - components: [ - { - internalType: "uint32", - name: "fromBlock", - type: "uint32", - }, - { - internalType: "uint224", - name: "votes", - type: "uint224", - }, - ], - internalType: "struct ERC20Votes.Checkpoint", - name: "", - type: "tuple", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "clock", - outputs: [ - { - internalType: "uint48", - name: "", - type: "uint48", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "decimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "subtractedValue", - type: "uint256", - }, - ], - name: "decreaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - ], - name: "delegate", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - { - internalType: "uint256", - name: "nonce", - type: "uint256", - }, - { - internalType: "uint256", - name: "expiry", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "delegateBySig", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "delegates", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "eip712Domain", - outputs: [ - { - internalType: "bytes1", - name: "fields", - type: "bytes1", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "string", - name: "version", - type: "string", - }, - { - internalType: "uint256", - name: "chainId", - type: "uint256", - }, - { - internalType: "address", - name: "verifyingContract", - type: "address", - }, - { - internalType: "bytes32", - name: "salt", - type: "bytes32", - }, - { - internalType: "uint256[]", - name: "extensions", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timepoint", - type: "uint256", - }, - ], - name: "getPastTotalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - { - internalType: "uint256", - name: "timepoint", - type: "uint256", - }, - ], - name: "getPastVotes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "getVotes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "addedValue", - type: "uint256", - }, - ], - name: "increaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "nonces", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "numCheckpoints", - outputs: [ - { - internalType: "uint32", - name: "", - type: "uint32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "uint256", - name: "deadline", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "permit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transfer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class ERC20Votes__factory { - static readonly abi = _abi; - static createInterface(): ERC20VotesInterface { - return new utils.Interface(_abi) as ERC20VotesInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): ERC20Votes { - return new Contract(address, _abi, signerOrProvider) as ERC20Votes; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/ERC20__factory.ts b/src/assets/typechain-types/dcnt/factories/ERC20__factory.ts deleted file mode 100644 index ef405027aa..0000000000 --- a/src/assets/typechain-types/dcnt/factories/ERC20__factory.ts +++ /dev/null @@ -1,340 +0,0 @@ -/* 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 { ERC20, ERC20Interface } from "../ERC20"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "name_", - type: "string", - }, - { - internalType: "string", - name: "symbol_", - type: "string", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "spender", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "to", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "approve", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "decimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "subtractedValue", - type: "uint256", - }, - ], - name: "decreaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "addedValue", - type: "uint256", - }, - ], - name: "increaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transfer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -]; - -const _bytecode = - "0x60806040523480156200001157600080fd5b50604051620017ec380380620017ec8339818101604052810190620000379190620001f6565b8160039081620000489190620004c6565b5080600490816200005a9190620004c6565b505050620005ad565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620000cc8262000081565b810181811067ffffffffffffffff82111715620000ee57620000ed62000092565b5b80604052505050565b60006200010362000063565b9050620001118282620000c1565b919050565b600067ffffffffffffffff82111562000134576200013362000092565b5b6200013f8262000081565b9050602081019050919050565b60005b838110156200016c5780820151818401526020810190506200014f565b60008484015250505050565b60006200018f620001898462000116565b620000f7565b905082815260208101848484011115620001ae57620001ad6200007c565b5b620001bb8482856200014c565b509392505050565b600082601f830112620001db57620001da62000077565b5b8151620001ed84826020860162000178565b91505092915050565b6000806040838503121562000210576200020f6200006d565b5b600083015167ffffffffffffffff81111562000231576200023062000072565b5b6200023f85828601620001c3565b925050602083015167ffffffffffffffff81111562000263576200026262000072565b5b6200027185828601620001c3565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002ce57607f821691505b602082108103620002e457620002e362000286565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200034e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200030f565b6200035a86836200030f565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003a7620003a16200039b8462000372565b6200037c565b62000372565b9050919050565b6000819050919050565b620003c38362000386565b620003db620003d282620003ae565b8484546200031c565b825550505050565b600090565b620003f2620003e3565b620003ff818484620003b8565b505050565b5b8181101562000427576200041b600082620003e8565b60018101905062000405565b5050565b601f82111562000476576200044081620002ea565b6200044b84620002ff565b810160208510156200045b578190505b620004736200046a85620002ff565b83018262000404565b50505b505050565b600082821c905092915050565b60006200049b600019846008026200047b565b1980831691505092915050565b6000620004b6838362000488565b9150826002028217905092915050565b620004d1826200027b565b67ffffffffffffffff811115620004ed57620004ec62000092565b5b620004f98254620002b5565b620005068282856200042b565b600060209050601f8311600181146200053e576000841562000529578287015190505b620005358582620004a8565b865550620005a5565b601f1984166200054e86620002ea565b60005b82811015620005785784890151825560018201915060208501945060208101905062000551565b8683101562000598578489015162000594601f89168262000488565b8355505b6001600288020188555050505b505050505050565b61122f80620005bd6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461016857806370a082311461019857806395d89b41146101c8578063a457c2d7146101e6578063a9059cbb14610216578063dd62ed3e14610246576100a9565b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100fc57806323b872dd1461011a578063313ce5671461014a575b600080fd5b6100b6610276565b6040516100c39190610b0c565b60405180910390f35b6100e660048036038101906100e19190610bc7565b610308565b6040516100f39190610c22565b60405180910390f35b61010461032b565b6040516101119190610c4c565b60405180910390f35b610134600480360381019061012f9190610c67565b610335565b6040516101419190610c22565b60405180910390f35b610152610364565b60405161015f9190610cd6565b60405180910390f35b610182600480360381019061017d9190610bc7565b61036d565b60405161018f9190610c22565b60405180910390f35b6101b260048036038101906101ad9190610cf1565b6103a4565b6040516101bf9190610c4c565b60405180910390f35b6101d06103ec565b6040516101dd9190610b0c565b60405180910390f35b61020060048036038101906101fb9190610bc7565b61047e565b60405161020d9190610c22565b60405180910390f35b610230600480360381019061022b9190610bc7565b6104f5565b60405161023d9190610c22565b60405180910390f35b610260600480360381019061025b9190610d1e565b610518565b60405161026d9190610c4c565b60405180910390f35b60606003805461028590610d8d565b80601f01602080910402602001604051908101604052809291908181526020018280546102b190610d8d565b80156102fe5780601f106102d3576101008083540402835291602001916102fe565b820191906000526020600020905b8154815290600101906020018083116102e157829003601f168201915b5050505050905090565b60008061031361059f565b90506103208185856105a7565b600191505092915050565b6000600254905090565b60008061034061059f565b905061034d858285610770565b6103588585856107fc565b60019150509392505050565b60006012905090565b60008061037861059f565b905061039981858561038a8589610518565b6103949190610ded565b6105a7565b600191505092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600480546103fb90610d8d565b80601f016020809104026020016040519081016040528092919081815260200182805461042790610d8d565b80156104745780601f1061044957610100808354040283529160200191610474565b820191906000526020600020905b81548152906001019060200180831161045757829003601f168201915b5050505050905090565b60008061048961059f565b905060006104978286610518565b9050838110156104dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d390610e93565b60405180910390fd5b6104e982868684036105a7565b60019250505092915050565b60008061050061059f565b905061050d8185856107fc565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060d90610f25565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067c90610fb7565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516107639190610c4c565b60405180910390a3505050565b600061077c8484610518565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107f657818110156107e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107df90611023565b60405180910390fd5b6107f584848484036105a7565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361086b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610862906110b5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036108da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d190611147565b60405180910390fd5b6108e5838383610a72565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561096b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610962906111d9565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a599190610c4c565b60405180910390a3610a6c848484610a77565b50505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610ab6578082015181840152602081019050610a9b565b60008484015250505050565b6000601f19601f8301169050919050565b6000610ade82610a7c565b610ae88185610a87565b9350610af8818560208601610a98565b610b0181610ac2565b840191505092915050565b60006020820190508181036000830152610b268184610ad3565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610b5e82610b33565b9050919050565b610b6e81610b53565b8114610b7957600080fd5b50565b600081359050610b8b81610b65565b92915050565b6000819050919050565b610ba481610b91565b8114610baf57600080fd5b50565b600081359050610bc181610b9b565b92915050565b60008060408385031215610bde57610bdd610b2e565b5b6000610bec85828601610b7c565b9250506020610bfd85828601610bb2565b9150509250929050565b60008115159050919050565b610c1c81610c07565b82525050565b6000602082019050610c376000830184610c13565b92915050565b610c4681610b91565b82525050565b6000602082019050610c616000830184610c3d565b92915050565b600080600060608486031215610c8057610c7f610b2e565b5b6000610c8e86828701610b7c565b9350506020610c9f86828701610b7c565b9250506040610cb086828701610bb2565b9150509250925092565b600060ff82169050919050565b610cd081610cba565b82525050565b6000602082019050610ceb6000830184610cc7565b92915050565b600060208284031215610d0757610d06610b2e565b5b6000610d1584828501610b7c565b91505092915050565b60008060408385031215610d3557610d34610b2e565b5b6000610d4385828601610b7c565b9250506020610d5485828601610b7c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610da557607f821691505b602082108103610db857610db7610d5e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610df882610b91565b9150610e0383610b91565b9250828201905080821115610e1b57610e1a610dbe565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000610e7d602583610a87565b9150610e8882610e21565b604082019050919050565b60006020820190508181036000830152610eac81610e70565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000610f0f602483610a87565b9150610f1a82610eb3565b604082019050919050565b60006020820190508181036000830152610f3e81610f02565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000610fa1602283610a87565b9150610fac82610f45565b604082019050919050565b60006020820190508181036000830152610fd081610f94565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600061100d601d83610a87565b915061101882610fd7565b602082019050919050565b6000602082019050818103600083015261103c81611000565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061109f602583610a87565b91506110aa82611043565b604082019050919050565b600060208201905081810360008301526110ce81611092565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611131602383610a87565b915061113c826110d5565b604082019050919050565b6000602082019050818103600083015261116081611124565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006111c3602683610a87565b91506111ce82611167565b604082019050919050565b600060208201905081810360008301526111f2816111b6565b905091905056fea2646970667358221220fdf476e2583d8caf4cdece2e219de3186064b0f77078f3e2440d96f5aa09c17664736f6c63430008130033"; - -export class ERC20__factory extends ContractFactory { - constructor( - ...args: [signer: Signer] | ConstructorParameters - ) { - if (args.length === 1) { - super(_abi, _bytecode, args[0]); - } else { - super(...args); - } - } - - deploy( - name_: string, - symbol_: string, - overrides?: Overrides & { from?: string | Promise } - ): Promise { - return super.deploy(name_, symbol_, overrides || {}) as Promise; - } - getDeployTransaction( - name_: string, - symbol_: string, - overrides?: Overrides & { from?: string | Promise } - ): TransactionRequest { - return super.getDeployTransaction(name_, symbol_, overrides || {}); - } - attach(address: string): ERC20 { - return super.attach(address) as ERC20; - } - connect(signer: Signer): ERC20__factory { - return super.connect(signer) as ERC20__factory; - } - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ERC20Interface { - return new utils.Interface(_abi) as ERC20Interface; - } - static connect(address: string, signerOrProvider: Signer | Provider): ERC20 { - return new Contract(address, _abi, signerOrProvider) as ERC20; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/IERC20Metadata__factory.ts b/src/assets/typechain-types/dcnt/factories/IERC20Metadata__factory.ts deleted file mode 100644 index f955c5c346..0000000000 --- a/src/assets/typechain-types/dcnt/factories/IERC20Metadata__factory.ts +++ /dev/null @@ -1,248 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import { Provider } from "@ethersproject/providers"; -import type { - IERC20Metadata, - IERC20MetadataInterface, -} from "../IERC20Metadata"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "spender", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "to", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "approve", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "decimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transfer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class IERC20Metadata__factory { - static readonly abi = _abi; - static createInterface(): IERC20MetadataInterface { - return new utils.Interface(_abi) as IERC20MetadataInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IERC20Metadata { - return new Contract(address, _abi, signerOrProvider) as IERC20Metadata; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/IERC20Permit__factory.ts b/src/assets/typechain-types/dcnt/factories/IERC20Permit__factory.ts deleted file mode 100644 index ac8c447c41..0000000000 --- a/src/assets/typechain-types/dcnt/factories/IERC20Permit__factory.ts +++ /dev/null @@ -1,98 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import { Provider } from "@ethersproject/providers"; -import type { IERC20Permit, IERC20PermitInterface } from "../IERC20Permit"; - -const _abi = [ - { - inputs: [], - name: "DOMAIN_SEPARATOR", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "nonces", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "uint256", - name: "deadline", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "permit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class IERC20Permit__factory { - static readonly abi = _abi; - static createInterface(): IERC20PermitInterface { - return new utils.Interface(_abi) as IERC20PermitInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IERC20Permit { - return new Contract(address, _abi, signerOrProvider) as IERC20Permit; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/IERC20__factory.ts b/src/assets/typechain-types/dcnt/factories/IERC20__factory.ts deleted file mode 100644 index e660df20d8..0000000000 --- a/src/assets/typechain-types/dcnt/factories/IERC20__factory.ts +++ /dev/null @@ -1,203 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import { Provider } from "@ethersproject/providers"; -import type { IERC20, IERC20Interface } from "../IERC20"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "spender", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "to", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "approve", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transfer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class IERC20__factory { - static readonly abi = _abi; - static createInterface(): IERC20Interface { - return new utils.Interface(_abi) as IERC20Interface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IERC20 { - return new Contract(address, _abi, signerOrProvider) as IERC20; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/IERC5267__factory.ts b/src/assets/typechain-types/dcnt/factories/IERC5267__factory.ts deleted file mode 100644 index 2c73c5a37d..0000000000 --- a/src/assets/typechain-types/dcnt/factories/IERC5267__factory.ts +++ /dev/null @@ -1,72 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import { Provider } from "@ethersproject/providers"; -import type { IERC5267, IERC5267Interface } from "../IERC5267"; - -const _abi = [ - { - anonymous: false, - inputs: [], - name: "EIP712DomainChanged", - type: "event", - }, - { - inputs: [], - name: "eip712Domain", - outputs: [ - { - internalType: "bytes1", - name: "fields", - type: "bytes1", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "string", - name: "version", - type: "string", - }, - { - internalType: "uint256", - name: "chainId", - type: "uint256", - }, - { - internalType: "address", - name: "verifyingContract", - type: "address", - }, - { - internalType: "bytes32", - name: "salt", - type: "bytes32", - }, - { - internalType: "uint256[]", - name: "extensions", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, -]; - -export class IERC5267__factory { - static readonly abi = _abi; - static createInterface(): IERC5267Interface { - return new utils.Interface(_abi) as IERC5267Interface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IERC5267 { - return new Contract(address, _abi, signerOrProvider) as IERC5267; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/IERC5805__factory.ts b/src/assets/typechain-types/dcnt/factories/IERC5805__factory.ts deleted file mode 100644 index 4742f1e2c2..0000000000 --- a/src/assets/typechain-types/dcnt/factories/IERC5805__factory.ts +++ /dev/null @@ -1,231 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import { Provider } from "@ethersproject/providers"; -import type { IERC5805, IERC5805Interface } from "../IERC5805"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "delegator", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "fromDelegate", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "toDelegate", - type: "address", - }, - ], - name: "DelegateChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "delegate", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "previousBalance", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "newBalance", - type: "uint256", - }, - ], - name: "DelegateVotesChanged", - type: "event", - }, - { - inputs: [], - name: "CLOCK_MODE", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "clock", - outputs: [ - { - internalType: "uint48", - name: "", - type: "uint48", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - ], - name: "delegate", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - { - internalType: "uint256", - name: "nonce", - type: "uint256", - }, - { - internalType: "uint256", - name: "expiry", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "delegateBySig", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "delegates", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timepoint", - type: "uint256", - }, - ], - name: "getPastTotalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - { - internalType: "uint256", - name: "timepoint", - type: "uint256", - }, - ], - name: "getPastVotes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "getVotes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, -]; - -export class IERC5805__factory { - static readonly abi = _abi; - static createInterface(): IERC5805Interface { - return new utils.Interface(_abi) as IERC5805Interface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IERC5805 { - return new Contract(address, _abi, signerOrProvider) as IERC5805; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/IERC6372__factory.ts b/src/assets/typechain-types/dcnt/factories/IERC6372__factory.ts deleted file mode 100644 index 7606f26dc5..0000000000 --- a/src/assets/typechain-types/dcnt/factories/IERC6372__factory.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import { Provider } from "@ethersproject/providers"; -import type { IERC6372, IERC6372Interface } from "../IERC6372"; - -const _abi = [ - { - inputs: [], - name: "CLOCK_MODE", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "clock", - outputs: [ - { - internalType: "uint48", - name: "", - type: "uint48", - }, - ], - stateMutability: "view", - type: "function", - }, -]; - -export class IERC6372__factory { - static readonly abi = _abi; - static createInterface(): IERC6372Interface { - return new utils.Interface(_abi) as IERC6372Interface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IERC6372 { - return new Contract(address, _abi, signerOrProvider) as IERC6372; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/ILockRelease__factory.ts b/src/assets/typechain-types/dcnt/factories/ILockRelease__factory.ts deleted file mode 100644 index a39c76c749..0000000000 --- a/src/assets/typechain-types/dcnt/factories/ILockRelease__factory.ts +++ /dev/null @@ -1,55 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import { Provider } from "@ethersproject/providers"; -import type { ILockRelease, ILockReleaseInterface } from "../ILockRelease"; - -const _abi = [ - { - inputs: [], - name: "getBeneficiaries", - outputs: [ - { - internalType: "address[]", - name: "", - type: "address[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_beneficiary", - type: "address", - }, - ], - name: "getPending", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, -]; - -export class ILockRelease__factory { - static readonly abi = _abi; - static createInterface(): ILockReleaseInterface { - return new utils.Interface(_abi) as ILockReleaseInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): ILockRelease { - return new Contract(address, _abi, signerOrProvider) as ILockRelease; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/IVotes__factory.ts b/src/assets/typechain-types/dcnt/factories/IVotes__factory.ts deleted file mode 100644 index 8a715e4256..0000000000 --- a/src/assets/typechain-types/dcnt/factories/IVotes__factory.ts +++ /dev/null @@ -1,202 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import { Provider } from "@ethersproject/providers"; -import type { IVotes, IVotesInterface } from "../IVotes"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "delegator", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "fromDelegate", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "toDelegate", - type: "address", - }, - ], - name: "DelegateChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "delegate", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "previousBalance", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "newBalance", - type: "uint256", - }, - ], - name: "DelegateVotesChanged", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - ], - name: "delegate", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - { - internalType: "uint256", - name: "nonce", - type: "uint256", - }, - { - internalType: "uint256", - name: "expiry", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "delegateBySig", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "delegates", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timepoint", - type: "uint256", - }, - ], - name: "getPastTotalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - { - internalType: "uint256", - name: "timepoint", - type: "uint256", - }, - ], - name: "getPastVotes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "getVotes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, -]; - -export class IVotes__factory { - static readonly abi = _abi; - static createInterface(): IVotesInterface { - return new utils.Interface(_abi) as IVotesInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IVotes { - return new Contract(address, _abi, signerOrProvider) as IVotes; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/LockRelease__factory.ts b/src/assets/typechain-types/dcnt/factories/LockRelease__factory.ts deleted file mode 100644 index f29b603535..0000000000 --- a/src/assets/typechain-types/dcnt/factories/LockRelease__factory.ts +++ /dev/null @@ -1,665 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { - Signer, - utils, - BigNumberish, - Contract, - ContractFactory, - Overrides, -} from "ethers"; -import { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { LockRelease, LockReleaseInterface } from "../LockRelease"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_token", - type: "address", - }, - { - internalType: "address[]", - name: "_beneficiaries", - type: "address[]", - }, - { - internalType: "uint256[]", - name: "_amounts", - type: "uint256[]", - }, - { - internalType: "uint128", - name: "_start", - type: "uint128", - }, - { - internalType: "uint128", - name: "_duration", - type: "uint128", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "DuplicateBeneficiary", - type: "error", - }, - { - inputs: [], - name: "InvalidAmount", - type: "error", - }, - { - inputs: [], - name: "InvalidArrayLengths", - type: "error", - }, - { - inputs: [], - name: "InvalidBeneficiary", - type: "error", - }, - { - inputs: [], - name: "InvalidShortString", - type: "error", - }, - { - inputs: [], - name: "InvalidToken", - type: "error", - }, - { - inputs: [], - name: "NothingToRelease", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "str", - type: "string", - }, - ], - name: "StringTooLong", - type: "error", - }, - { - inputs: [], - name: "ZeroDuration", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "delegator", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "fromDelegate", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "toDelegate", - type: "address", - }, - ], - name: "DelegateChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "delegate", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "previousBalance", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "newBalance", - type: "uint256", - }, - ], - name: "DelegateVotesChanged", - type: "event", - }, - { - anonymous: false, - inputs: [], - name: "EIP712DomainChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "token", - type: "address", - }, - { - indexed: false, - internalType: "address[]", - name: "beneficiaries", - type: "address[]", - }, - { - indexed: false, - internalType: "uint256[]", - name: "amounts", - type: "uint256[]", - }, - { - indexed: false, - internalType: "uint128", - name: "start", - type: "uint128", - }, - { - indexed: false, - internalType: "uint128", - name: "duration", - type: "uint128", - }, - ], - name: "ScheduleStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "beneficiary", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "TokensReleased", - type: "event", - }, - { - inputs: [], - name: "CLOCK_MODE", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "DOMAIN_SEPARATOR", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "clock", - outputs: [ - { - internalType: "uint48", - name: "", - type: "uint48", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - ], - name: "delegate", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - { - internalType: "uint256", - name: "nonce", - type: "uint256", - }, - { - internalType: "uint256", - name: "expiry", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "delegateBySig", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "delegates", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "duration", - outputs: [ - { - internalType: "uint128", - name: "", - type: "uint128", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "eip712Domain", - outputs: [ - { - internalType: "bytes1", - name: "fields", - type: "bytes1", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "string", - name: "version", - type: "string", - }, - { - internalType: "uint256", - name: "chainId", - type: "uint256", - }, - { - internalType: "address", - name: "verifyingContract", - type: "address", - }, - { - internalType: "bytes32", - name: "salt", - type: "bytes32", - }, - { - internalType: "uint256[]", - name: "extensions", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getBeneficiaries", - outputs: [ - { - internalType: "address[]", - name: "", - type: "address[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timepoint", - type: "uint256", - }, - ], - name: "getPastTotalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_account", - type: "address", - }, - { - internalType: "uint256", - name: "_blockNumber", - type: "uint256", - }, - ], - name: "getPastVotes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_beneficiary", - type: "address", - }, - ], - name: "getPending", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_beneficiary", - type: "address", - }, - ], - name: "getReleasable", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_beneficiary", - type: "address", - }, - ], - name: "getReleased", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_beneficiary", - type: "address", - }, - ], - name: "getTotal", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_beneficiary", - type: "address", - }, - ], - name: "getTotalMatured", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_account", - type: "address", - }, - ], - name: "getVotes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "nonces", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "release", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "start", - outputs: [ - { - internalType: "uint128", - name: "", - type: "uint128", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "token", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -]; - -const _bytecode = - "0x6101606040523480156200001257600080fd5b5060405162005d2d38038062005d2d8339818101604052810190620000389190620016ad565b6040518060400160405280601181526020017f446563656e744c6f636b52656c656173650000000000000000000000000000008152506040518060400160405280600581526020017f312e302e30000000000000000000000000000000000000000000000000000000815250620000ba6000836200057960201b90919060201c565b6101208181525050620000d86001826200057960201b90919060201c565b6101408181525050818051906020012060e08181525050808051906020012061010081815250504660a0818152505062000117620005d160201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250505050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603620001bb576040517fc1ab6dc100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000816fffffffffffffffffffffffffffffffff160362000208576040517f68d5686e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b825184511462000244576040517fa9854bc900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b84518161ffff16101562000460576000848261ffff168151811062000271576200027062001773565b5b6020026020010151905060008103620002b6576040517f2c5211c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000868361ffff1681518110620002d257620002d162001773565b5b60200260200101519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000343576040517f5566df5c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015414620003c0576040517f6af53bdc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60405180604001604052808381526020016000815250600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015590505062000440600082846200062e60201b60201c565b6200045281826200073460201b60201c565b826001019250505062000247565b5084600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600760006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555080600760106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600890805190602001906200052c929190620012b3565b507fd6697d621f0e47a60093036416dfef1069edf9cd30d274fd16510f95b9b503bb85858585856040516200056695949392919062001960565b60405180910390a1505050505062002267565b60006020835110156200059f5762000597836200086060201b60201c565b9050620005cb565b82620005b183620008cd60201b60201c565b6000019081620005c2919062001c0c565b5060ff60001b90505b92915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60e0516101005146306040516020016200061395949392919062001d1f565b60405160208183030381529060405280519060200120905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200069557620006926004620008d760201b62000f56176200068684620008ef60201b60201c565b6200095d60201b60201c565b50505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620006fc57620006f96004620009c560201b62000f6c17620006ed84620008ef60201b60201c565b6200095d60201b60201c565b50505b6200072f6200071184620009dd60201b60201c565b6200072284620009dd60201b60201c565b8362000a4660201b60201c565b505050565b60006200074783620009dd60201b60201c565b905081600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a46200085b81836200084f8662000d0160201b60201c565b62000a4660201b60201c565b505050565b600080829050601f81511115620008b057826040517f305a27a9000000000000000000000000000000000000000000000000000000008152600401620008a7919062001dfa565b60405180910390fd5b805181620008be9062001e50565b60001c1760001b915050919050565b6000819050919050565b60008183620008e7919062001f17565b905092915050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff801682111562000955576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200094c9062001fe4565b60405180910390fd5b819050919050565b600080620009b96200098c6200097862000d9c60201b60201c565b65ffffffffffff1662000db460201b60201c565b620009a8620009a18862000e0a60201b60201c565b868860201c565b8762000e8060201b9092919060201c565b91509150935093915050565b60008183620009d5919062002006565b905092915050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801562000a835750600081115b1562000cfc57600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161462000bc25760008062000b2d600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020620009c560201b62000f6c1762000b2186620008ef60201b60201c565b6200095d60201b60201c565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1691507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1691508473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405162000bb79291906200205d565b60405180910390a250505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000cfb5760008062000c66600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020620008d760201b62000f561762000c5a86620008ef60201b60201c565b6200095d60201b60201c565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1691507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1691508373ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405162000cf09291906200205d565b60405180910390a250505b5b505050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015462000d9591906200208a565b9050919050565b600062000daf4362000ea560201b60201c565b905090565b600063ffffffff801682111562000e02576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000df9906200213b565b60405180910390fd5b819050919050565b600080826000018054905090506000811462000e755762000e438360000160018362000e3791906200208a565b62000efd60201b60201c565b60000160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1662000e78565b60005b915050919050565b60008062000e9985600001858562000f1260201b60201c565b91509150935093915050565b600065ffffffffffff801682111562000ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000eec90620021d3565b60405180910390fd5b819050919050565b60008260005281602060002001905092915050565b6000806000858054905090506000811115620011c357600062000f4a8760018462000f3e91906200208a565b62000efd60201b60201c565b6040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152505090508563ffffffff16816000015163ffffffff16111562001041576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620010389062002245565b60405180910390fd5b8563ffffffff16816000015163ffffffff1603620010d157846200107a886001856200106e91906200208a565b62000efd60201b60201c565b60000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff160217905550620011b1565b8660405180604001604052808863ffffffff168152602001877bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555050505b806020015185935093505050620012ab565b8560405180604001604052808763ffffffff168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff160217905550505060008492509250505b935093915050565b8280548282559060005260206000209081019282156200132f579160200282015b828111156200132e5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620012d4565b5b5090506200133e919062001342565b5090565b5b808211156200135d57600081600090555060010162001343565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620013a28262001375565b9050919050565b620013b48162001395565b8114620013c057600080fd5b50565b600081519050620013d481620013a9565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200142a82620013df565b810181811067ffffffffffffffff821117156200144c576200144b620013f0565b5b80604052505050565b60006200146162001361565b90506200146f82826200141f565b919050565b600067ffffffffffffffff821115620014925762001491620013f0565b5b602082029050602081019050919050565b600080fd5b6000620014bf620014b98462001474565b62001455565b90508083825260208201905060208402830185811115620014e557620014e4620014a3565b5b835b81811015620015125780620014fd8882620013c3565b845260208401935050602081019050620014e7565b5050509392505050565b600082601f830112620015345762001533620013da565b5b815162001546848260208601620014a8565b91505092915050565b600067ffffffffffffffff8211156200156d576200156c620013f0565b5b602082029050602081019050919050565b6000819050919050565b62001593816200157e565b81146200159f57600080fd5b50565b600081519050620015b38162001588565b92915050565b6000620015d0620015ca846200154f565b62001455565b90508083825260208201905060208402830185811115620015f657620015f5620014a3565b5b835b818110156200162357806200160e8882620015a2565b845260208401935050602081019050620015f8565b5050509392505050565b600082601f830112620016455762001644620013da565b5b815162001657848260208601620015b9565b91505092915050565b60006fffffffffffffffffffffffffffffffff82169050919050565b620016878162001660565b81146200169357600080fd5b50565b600081519050620016a7816200167c565b92915050565b600080600080600060a08688031215620016cc57620016cb6200136b565b5b6000620016dc88828901620013c3565b955050602086015167ffffffffffffffff8111156200170057620016ff62001370565b5b6200170e888289016200151c565b945050604086015167ffffffffffffffff81111562001732576200173162001370565b5b62001740888289016200162d565b9350506060620017538882890162001696565b9250506080620017668882890162001696565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b620017ad8162001395565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b620017ea8162001395565b82525050565b6000620017fe8383620017df565b60208301905092915050565b6000602082019050919050565b60006200182482620017b3565b620018308185620017be565b93506200183d83620017cf565b8060005b8381101562001874578151620018588882620017f0565b975062001865836200180a565b92505060018101905062001841565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b620018b8816200157e565b82525050565b6000620018cc8383620018ad565b60208301905092915050565b6000602082019050919050565b6000620018f28262001881565b620018fe81856200188c565b93506200190b836200189d565b8060005b8381101562001942578151620019268882620018be565b97506200193383620018d8565b9250506001810190506200190f565b5085935050505092915050565b6200195a8162001660565b82525050565b600060a082019050620019776000830188620017a2565b81810360208301526200198b818762001817565b90508181036040830152620019a18186620018e5565b9050620019b260608301856200194f565b620019c160808301846200194f565b9695505050505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062001a1e57607f821691505b60208210810362001a345762001a33620019d6565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262001a9e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262001a5f565b62001aaa868362001a5f565b95508019841693508086168417925050509392505050565b6000819050919050565b600062001aed62001ae762001ae1846200157e565b62001ac2565b6200157e565b9050919050565b6000819050919050565b62001b098362001acc565b62001b2162001b188262001af4565b84845462001a6c565b825550505050565b600090565b62001b3862001b29565b62001b4581848462001afe565b505050565b5b8181101562001b6d5762001b6160008262001b2e565b60018101905062001b4b565b5050565b601f82111562001bbc5762001b868162001a3a565b62001b918462001a4f565b8101602085101562001ba1578190505b62001bb962001bb08562001a4f565b83018262001b4a565b50505b505050565b600082821c905092915050565b600062001be16000198460080262001bc1565b1980831691505092915050565b600062001bfc838362001bce565b9150826002028217905092915050565b62001c1782620019cb565b67ffffffffffffffff81111562001c335762001c32620013f0565b5b62001c3f825462001a05565b62001c4c82828562001b71565b600060209050601f83116001811462001c84576000841562001c6f578287015190505b62001c7b858262001bee565b86555062001ceb565b601f19841662001c948662001a3a565b60005b8281101562001cbe5784890151825560018201915060208501945060208101905062001c97565b8683101562001cde578489015162001cda601f89168262001bce565b8355505b6001600288020188555050505b505050505050565b6000819050919050565b62001d088162001cf3565b82525050565b62001d19816200157e565b82525050565b600060a08201905062001d36600083018862001cfd565b62001d45602083018762001cfd565b62001d54604083018662001cfd565b62001d63606083018562001d0e565b62001d726080830184620017a2565b9695505050505050565b600082825260208201905092915050565b60005b8381101562001dad57808201518184015260208101905062001d90565b60008484015250505050565b600062001dc682620019cb565b62001dd2818562001d7c565b935062001de481856020860162001d8d565b62001def81620013df565b840191505092915050565b6000602082019050818103600083015262001e16818462001db9565b905092915050565b600081519050919050565b6000819050602082019050919050565b600062001e47825162001cf3565b80915050919050565b600062001e5d8262001e1e565b8262001e698462001e29565b905062001e768162001e39565b9250602082101562001eb95762001eb47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8360200360080262001a5f565b831692505b5050919050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff82169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062001f248262001ec0565b915062001f318362001ec0565b925082820190507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff81111562001f685762001f6762001ee8565b5b92915050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203260008201527f3234206269747300000000000000000000000000000000000000000000000000602082015250565b600062001fcc60278362001d7c565b915062001fd98262001f6e565b604082019050919050565b6000602082019050818103600083015262001fff8162001fbd565b9050919050565b6000620020138262001ec0565b9150620020208362001ec0565b925082820390507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff81111562002057576200205662001ee8565b5b92915050565b600060408201905062002074600083018562001d0e565b62002083602083018462001d0e565b9392505050565b600062002097826200157e565b9150620020a4836200157e565b9250828203905081811115620020bf57620020be62001ee8565b5b92915050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203360008201527f3220626974730000000000000000000000000000000000000000000000000000602082015250565b60006200212360268362001d7c565b91506200213082620020c5565b604082019050919050565b60006020820190508181036000830152620021568162002114565b9050919050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203460008201527f3820626974730000000000000000000000000000000000000000000000000000602082015250565b6000620021bb60268362001d7c565b9150620021c8826200215d565b604082019050919050565b60006020820190508181036000830152620021ee81620021ac565b9050919050565b7f436865636b706f696e743a2064656372656173696e67206b6579730000000000600082015250565b60006200222d601b8362001d7c565b91506200223a82620021f5565b602082019050919050565b6000602082019050818103600083015262002260816200221e565b9050919050565b60805160a05160c05160e051610100516101205161014051613a6b620022c2600039600061070e015260006106da0152600061171a015260006116f901526000610f8601526000610fdc015260006110050152613a6b6000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80638e539e8c116100b8578063be9a65551161007c578063be9a65551461036c578063c3cda5201461038a578063d086c254146103a6578063e252cdfc146103d6578063ebb6dad814610406578063fc0c546a1461043657610137565b80638e539e8c146102a0578063913b722c146102d057806391ddadf4146102ee5780639ab24eb01461030c578063b4d11f351461033c57610137565b8063587cde1e116100ff578063587cde1e146101f65780635c19a95c146102265780637ecebe001461024257806384b0196e1461027257806386d1a69f1461029657610137565b80630fb5a6b41461013c5780633644e5151461015a5780633a46b1a8146101785780634bf5d7e9146101a85780635421213e146101c6575b600080fd5b610144610454565b6040516101519190612810565b60405180910390f35b610162610476565b60405161016f9190612844565b60405180910390f35b610192600480360381019061018d91906128f8565b610485565b60405161019f9190612947565b60405180910390f35b6101b0610541565b6040516101bd91906129f2565b60405180910390f35b6101e060048036038101906101db9190612a14565b6105cf565b6040516101ed9190612947565b60405180910390f35b610210600480360381019061020b9190612a14565b6105f4565b60405161021d9190612a50565b60405180910390f35b610240600480360381019061023b9190612a14565b61065d565b005b61025c60048036038101906102579190612a14565b610677565b6040516102699190612947565b60405180910390f35b61027a6106c7565b60405161028d9796959493929190612b64565b60405180910390f35b61029e6107c9565b005b6102ba60048036038101906102b59190612be8565b61094e565b6040516102c79190612947565b60405180910390f35b6102d86109e2565b6040516102e59190612cd3565b60405180910390f35b6102f6610a70565b6040516103039190612d16565b60405180910390f35b61032660048036038101906103219190612a14565b610a80565b6040516103339190612947565b60405180910390f35b61035660048036038101906103519190612a14565b610b38565b6040516103639190612947565b60405180910390f35b610374610b84565b6040516103819190612810565b60405180910390f35b6103a4600480360381019061039f9190612d96565b610ba6565b005b6103c060048036038101906103bb9190612a14565b610caa565b6040516103cd9190612947565b60405180910390f35b6103f060048036038101906103eb9190612a14565b610d43565b6040516103fd9190612947565b60405180910390f35b610420600480360381019061041b9190612a14565b610ee4565b60405161042d9190612947565b60405180910390f35b61043e610f30565b60405161044b9190612a50565b60405180910390f35b600760109054906101000a90046fffffffffffffffffffffffffffffffff1681565b6000610480610f82565b905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633a46b1a884846040518363ffffffff1660e01b81526004016104e4929190612e23565b602060405180830381865afa158015610501573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105259190612e61565b61052f8484611039565b6105399190612ebd565b905092915050565b60604361054c610a70565b65ffffffffffff1614610594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058b90612f3d565b60405180910390fd5b6040518060400160405280601d81526020017f6d6f64653d626c6f636b6e756d6265722666726f6d3d64656661756c74000000815250905090565b60006105da82610b38565b6105e383610d43565b6105ed9190612f5d565b9050919050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061066761110b565b90506106738183611113565b5050565b60006106c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611227565b9050919050565b60006060806000806000606061070760007f000000000000000000000000000000000000000000000000000000000000000061123590919063ffffffff16565b61073b60017f000000000000000000000000000000000000000000000000000000000000000061123590919063ffffffff16565b46306000801b600067ffffffffffffffff81111561075c5761075b612f91565b5b60405190808252806020026020018201604052801561078a5781602001602082028036833780820191505090505b507f0f00000000000000000000000000000000000000000000000000000000000000959493929190965096509650965096509650965090919293949596565b60006107d4336105cf565b905060008103610810576040517fb10205ed00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015461085e9190612ebd565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101819055506108b0336000836112e5565b6108fd3382600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661139f9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fc7798891864187665ac6dd119286e44ec13f014527aeeb2b8eb3fd413df93179826040516109439190612947565b60405180910390a250565b6000610958610a70565b65ffffffffffff1682106109a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109989061300c565b60405180910390fd5b6109bd6109ad83611425565b600461147890919063ffffffff16565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff169050919050565b60606008805480602002602001604051908101604052809291908181526020018280548015610a6657602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610a1c575b5050505050905090565b6000610a7b4361156e565b905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639ab24eb0836040518263ffffffff1660e01b8152600401610add9190612a50565b602060405180830381865afa158015610afa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1e9190612e61565b610b27836115c3565b610b319190612ebd565b9050919050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101549050919050565b600760009054906101000a90046fffffffffffffffffffffffffffffffff1681565b83421115610be9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be090613078565b60405180910390fd5b6000610c4b610c437fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf898989604051602001610c289493929190613098565b60405160208183030381529060405280519060200120611631565b85858561164b565b9050610c5681611676565b8614610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e90613129565b60405180910390fd5b610ca18188611113565b50505050505050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154610d3c9190612f5d565b9050919050565b6000600760009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16421015610d865760009050610edf565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040529081600082015481526020016001820154815250509050600760109054906101000a90046fffffffffffffffffffffffffffffffff16600760009054906101000a90046fffffffffffffffffffffffffffffffff16610e309190613149565b6fffffffffffffffffffffffffffffffff164210610e55578060000151915050610edf565b600760109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16600760009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1642610ec29190612f5d565b8260000151610ed1919061318d565b610edb91906131fe565b9150505b919050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001549050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008183610f649190613257565b905092915050565b60008183610f7a91906132a7565b905092915050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16148015610ffe57507f000000000000000000000000000000000000000000000000000000000000000046145b1561102b577f00000000000000000000000000000000000000000000000000000000000000009050611036565b6110336116d4565b90505b90565b6000611043610a70565b65ffffffffffff16821061108c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110839061300c565b60405180910390fd5b6110e561109883611425565b600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061147890919063ffffffff16565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16905092915050565b600033905090565b600061111e836105f4565b905081600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a4611222818361121d8661176a565b611803565b505050565b600081600001549050919050565b606060ff60001b83146112525761124b83611a84565b90506112df565b81805461125e90613326565b80601f016020809104026020016040519081016040528092919081815260200182805461128a90613326565b80156112d75780601f106112ac576101008083540402835291602001916112d7565b820191906000526020600020905b8154815290600101906020018083116112ba57829003601f168201915b505050505090505b92915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036113325761132f6004610f5661132a84611af8565b611b63565b50505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361137f5761137c6004610f6c61137784611af8565b611b63565b50505b61139a61138b846105f4565b611394846105f4565b83611803565b505050565b6114208363a9059cbb60e01b84846040516024016113be929190612e23565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611bb3565b505050565b600063ffffffff8016821115611470576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611467906133c9565b60405180910390fd5b819050919050565b6000808360000180549050905060008082905060058311156114fa57600061149f84611c7b565b846114aa9190612f5d565b90506114b98760000182611d74565b60000160009054906101000a900463ffffffff1663ffffffff168663ffffffff1610156114e8578091506114f8565b6001816114f59190612ebd565b92505b505b600061150b87600001878585611d89565b90506000811461155f5761152e876000016001836115299190612f5d565b611d74565b60000160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16611562565b60005b94505050505092915050565b600065ffffffffffff80168211156115bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b29061345b565b60405180910390fd5b819050919050565b600061160c600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611dfc565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff169050919050565b600061164461163e610f82565b83611e66565b9050919050565b600080600061165c87878787611ea7565b9150915061166981611f89565b8192505050949350505050565b600080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506116c381611227565b91506116ce816120ef565b50919050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000463060405160200161174f95949392919061347b565b60405160208183030381529060405280519060200120905090565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001546117fc9190612f5d565b9050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561183f5750600081115b15611a7f57600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611961576000806118ce600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020610f6c6118c986611af8565b611b63565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1691507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1691508473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516119569291906134ce565b60405180910390a250505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611a7e576000806119eb600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020610f566119e686611af8565b611b63565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1691507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1691508373ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611a739291906134ce565b60405180910390a250505b5b505050565b60606000611a9183612105565b90506000602067ffffffffffffffff811115611ab057611aaf612f91565b5b6040519080825280601f01601f191660200182016040528015611ae25781602001600182028036833780820191505090505b5090508181528360208201528092505050919050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8016821115611b5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5290613569565b60405180910390fd5b819050919050565b600080611ba7611b81611b74610a70565b65ffffffffffff16611425565b611b97611b8d88611dfc565b868863ffffffff16565b876121559092919063ffffffff16565b91509150935093915050565b6000611c15826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166121729092919063ffffffff16565b9050600081511480611c37575080806020019051810190611c3691906135c1565b5b611c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6d90613660565b60405180910390fd5b505050565b6000808203611c8d5760009050611d6f565b60006001611c9a8461218a565b901c6001901b90506001818481611cb457611cb36131cf565b5b048201901c90506001818481611ccd57611ccc6131cf565b5b048201901c90506001818481611ce657611ce56131cf565b5b048201901c90506001818481611cff57611cfe6131cf565b5b048201901c90506001818481611d1857611d176131cf565b5b048201901c90506001818481611d3157611d306131cf565b5b048201901c90506001818481611d4a57611d496131cf565b5b048201901c9050611d6b81828581611d6557611d646131cf565b5b0461226b565b9150505b919050565b60008260005281602060002001905092915050565b60005b81831015611df1576000611da08484612284565b90508463ffffffff16611db38783611d74565b60000160009054906101000a900463ffffffff1663ffffffff161115611ddb57809250611deb565b600181611de89190612ebd565b93505b50611d8c565b819050949350505050565b6000808260000180549050905060008114611e5b57611e2a83600001600183611e259190612f5d565b611d74565b60000160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16611e5e565b60005b915050919050565b60006040517f190100000000000000000000000000000000000000000000000000000000000081528360028201528260228201526042812091505092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115611ee2576000600391509150611f80565b600060018787878760405160008152602001604052604051611f07949392919061368f565b6020604051602081039080840390855afa158015611f29573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f7757600060019250925050611f80565b80600092509250505b94509492505050565b60006004811115611f9d57611f9c6136d4565b5b816004811115611fb057611faf6136d4565b5b03156120ec5760016004811115611fca57611fc96136d4565b5b816004811115611fdd57611fdc6136d4565b5b0361201d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120149061374f565b60405180910390fd5b60026004811115612031576120306136d4565b5b816004811115612044576120436136d4565b5b03612084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207b906137bb565b60405180910390fd5b60036004811115612098576120976136d4565b5b8160048111156120ab576120aa6136d4565b5b036120eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e29061384d565b60405180910390fd5b5b50565b6001816000016000828254019250508190555050565b60008060ff8360001c169050601f81111561214c576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b6000806121668560000185856122aa565b91509150935093915050565b60606121818484600085612630565b90509392505050565b600080600090506000608084901c11156121ac57608083901c92506080810190505b6000604084901c11156121c757604083901c92506040810190505b6000602084901c11156121e257602083901c92506020810190505b6000601084901c11156121fd57601083901c92506010810190505b6000600884901c111561221857600883901c92506008810190505b6000600484901c111561223357600483901c92506004810190505b6000600284901c111561224e57600283901c92506002810190505b6000600184901c1115612262576001810190505b80915050919050565b600081831061227a578161227c565b825b905092915050565b6000600282841861229591906131fe565b8284166122a29190612ebd565b905092915050565b60008060008580549050905060008111156125405760006122d7876001846122d29190612f5d565b611d74565b6040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a90047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152505090508563ffffffff16816000015163ffffffff1611156123cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c2906138b9565b60405180910390fd5b8563ffffffff16816000015163ffffffff160361244f57846123f9886001856123f49190612f5d565b611d74565b60000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555061252f565b8660405180604001604052808863ffffffff168152602001877bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16021790555050505b806020015185935093505050612628565b8560405180604001604052808763ffffffff168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a8154817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff02191690837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff160217905550505060008492509250505b935093915050565b606082471015612675576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266c9061394b565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161269e91906139b2565b60006040518083038185875af1925050503d80600081146126db576040519150601f19603f3d011682016040523d82523d6000602084013e6126e0565b606091505b50915091506126f1878383876126fd565b92505050949350505050565b6060831561275f5760008351036127575761271785612772565b612756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274d90613a15565b60405180910390fd5b5b82905061276a565b6127698383612795565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000825111156127a85781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127dc91906129f2565b60405180910390fd5b60006fffffffffffffffffffffffffffffffff82169050919050565b61280a816127e5565b82525050565b60006020820190506128256000830184612801565b92915050565b6000819050919050565b61283e8161282b565b82525050565b60006020820190506128596000830184612835565b92915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061288f82612864565b9050919050565b61289f81612884565b81146128aa57600080fd5b50565b6000813590506128bc81612896565b92915050565b6000819050919050565b6128d5816128c2565b81146128e057600080fd5b50565b6000813590506128f2816128cc565b92915050565b6000806040838503121561290f5761290e61285f565b5b600061291d858286016128ad565b925050602061292e858286016128e3565b9150509250929050565b612941816128c2565b82525050565b600060208201905061295c6000830184612938565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561299c578082015181840152602081019050612981565b60008484015250505050565b6000601f19601f8301169050919050565b60006129c482612962565b6129ce818561296d565b93506129de81856020860161297e565b6129e7816129a8565b840191505092915050565b60006020820190508181036000830152612a0c81846129b9565b905092915050565b600060208284031215612a2a57612a2961285f565b5b6000612a38848285016128ad565b91505092915050565b612a4a81612884565b82525050565b6000602082019050612a656000830184612a41565b92915050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b612aa081612a6b565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612adb816128c2565b82525050565b6000612aed8383612ad2565b60208301905092915050565b6000602082019050919050565b6000612b1182612aa6565b612b1b8185612ab1565b9350612b2683612ac2565b8060005b83811015612b57578151612b3e8882612ae1565b9750612b4983612af9565b925050600181019050612b2a565b5085935050505092915050565b600060e082019050612b79600083018a612a97565b8181036020830152612b8b81896129b9565b90508181036040830152612b9f81886129b9565b9050612bae6060830187612938565b612bbb6080830186612a41565b612bc860a0830185612835565b81810360c0830152612bda8184612b06565b905098975050505050505050565b600060208284031215612bfe57612bfd61285f565b5b6000612c0c848285016128e3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612c4a81612884565b82525050565b6000612c5c8383612c41565b60208301905092915050565b6000602082019050919050565b6000612c8082612c15565b612c8a8185612c20565b9350612c9583612c31565b8060005b83811015612cc6578151612cad8882612c50565b9750612cb883612c68565b925050600181019050612c99565b5085935050505092915050565b60006020820190508181036000830152612ced8184612c75565b905092915050565b600065ffffffffffff82169050919050565b612d1081612cf5565b82525050565b6000602082019050612d2b6000830184612d07565b92915050565b600060ff82169050919050565b612d4781612d31565b8114612d5257600080fd5b50565b600081359050612d6481612d3e565b92915050565b612d738161282b565b8114612d7e57600080fd5b50565b600081359050612d9081612d6a565b92915050565b60008060008060008060c08789031215612db357612db261285f565b5b6000612dc189828a016128ad565b9650506020612dd289828a016128e3565b9550506040612de389828a016128e3565b9450506060612df489828a01612d55565b9350506080612e0589828a01612d81565b92505060a0612e1689828a01612d81565b9150509295509295509295565b6000604082019050612e386000830185612a41565b612e456020830184612938565b9392505050565b600081519050612e5b816128cc565b92915050565b600060208284031215612e7757612e7661285f565b5b6000612e8584828501612e4c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612ec8826128c2565b9150612ed3836128c2565b9250828201905080821115612eeb57612eea612e8e565b5b92915050565b7f566f7465733a2062726f6b656e20636c6f636b206d6f64650000000000000000600082015250565b6000612f2760188361296d565b9150612f3282612ef1565b602082019050919050565b60006020820190508181036000830152612f5681612f1a565b9050919050565b6000612f68826128c2565b9150612f73836128c2565b9250828203905081811115612f8b57612f8a612e8e565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f566f7465733a20667574757265206c6f6f6b7570000000000000000000000000600082015250565b6000612ff660148361296d565b915061300182612fc0565b602082019050919050565b6000602082019050818103600083015261302581612fe9565b9050919050565b7f566f7465733a207369676e617475726520657870697265640000000000000000600082015250565b600061306260188361296d565b915061306d8261302c565b602082019050919050565b6000602082019050818103600083015261309181613055565b9050919050565b60006080820190506130ad6000830187612835565b6130ba6020830186612a41565b6130c76040830185612938565b6130d46060830184612938565b95945050505050565b7f566f7465733a20696e76616c6964206e6f6e6365000000000000000000000000600082015250565b600061311360148361296d565b915061311e826130dd565b602082019050919050565b6000602082019050818103600083015261314281613106565b9050919050565b6000613154826127e5565b915061315f836127e5565b925082820190506fffffffffffffffffffffffffffffffff81111561318757613186612e8e565b5b92915050565b6000613198826128c2565b91506131a3836128c2565b92508282026131b1816128c2565b915082820484148315176131c8576131c7612e8e565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613209826128c2565b9150613214836128c2565b925082613224576132236131cf565b5b828204905092915050565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132628261322f565b915061326d8361322f565b925082820190507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8111156132a1576132a0612e8e565b5b92915050565b60006132b28261322f565b91506132bd8361322f565b925082820390507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8111156132f1576132f0612e8e565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061333e57607f821691505b602082108103613351576133506132f7565b5b50919050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203360008201527f3220626974730000000000000000000000000000000000000000000000000000602082015250565b60006133b360268361296d565b91506133be82613357565b604082019050919050565b600060208201905081810360008301526133e2816133a6565b9050919050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203460008201527f3820626974730000000000000000000000000000000000000000000000000000602082015250565b600061344560268361296d565b9150613450826133e9565b604082019050919050565b6000602082019050818103600083015261347481613438565b9050919050565b600060a0820190506134906000830188612835565b61349d6020830187612835565b6134aa6040830186612835565b6134b76060830185612938565b6134c46080830184612a41565b9695505050505050565b60006040820190506134e36000830185612938565b6134f06020830184612938565b9392505050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203260008201527f3234206269747300000000000000000000000000000000000000000000000000602082015250565b600061355360278361296d565b915061355e826134f7565b604082019050919050565b6000602082019050818103600083015261358281613546565b9050919050565b60008115159050919050565b61359e81613589565b81146135a957600080fd5b50565b6000815190506135bb81613595565b92915050565b6000602082840312156135d7576135d661285f565b5b60006135e5848285016135ac565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061364a602a8361296d565b9150613655826135ee565b604082019050919050565b600060208201905081810360008301526136798161363d565b9050919050565b61368981612d31565b82525050565b60006080820190506136a46000830187612835565b6136b16020830186613680565b6136be6040830185612835565b6136cb6060830184612835565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061373960188361296d565b915061374482613703565b602082019050919050565b600060208201905081810360008301526137688161372c565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006137a5601f8361296d565b91506137b08261376f565b602082019050919050565b600060208201905081810360008301526137d481613798565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061383760228361296d565b9150613842826137db565b604082019050919050565b600060208201905081810360008301526138668161382a565b9050919050565b7f436865636b706f696e743a2064656372656173696e67206b6579730000000000600082015250565b60006138a3601b8361296d565b91506138ae8261386d565b602082019050919050565b600060208201905081810360008301526138d281613896565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061393560268361296d565b9150613940826138d9565b604082019050919050565b6000602082019050818103600083015261396481613928565b9050919050565b600081519050919050565b600081905092915050565b600061398c8261396b565b6139968185613976565b93506139a681856020860161297e565b80840191505092915050565b60006139be8284613981565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006139ff601d8361296d565b9150613a0a826139c9565b602082019050919050565b60006020820190508181036000830152613a2e816139f2565b905091905056fea264697066735822122045b29433d5b47fd3bbd0539a5cabcb2d770fce83293c7e05b5d1643170f9661064736f6c63430008130033"; - -export class LockRelease__factory extends ContractFactory { - constructor( - ...args: [signer: Signer] | ConstructorParameters - ) { - if (args.length === 1) { - super(_abi, _bytecode, args[0]); - } else { - super(...args); - } - } - - deploy( - _token: string, - _beneficiaries: string[], - _amounts: BigNumberish[], - _start: BigNumberish, - _duration: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): Promise { - return super.deploy( - _token, - _beneficiaries, - _amounts, - _start, - _duration, - overrides || {} - ) as Promise; - } - getDeployTransaction( - _token: string, - _beneficiaries: string[], - _amounts: BigNumberish[], - _start: BigNumberish, - _duration: BigNumberish, - overrides?: Overrides & { from?: string | Promise } - ): TransactionRequest { - return super.getDeployTransaction( - _token, - _beneficiaries, - _amounts, - _start, - _duration, - overrides || {} - ); - } - attach(address: string): LockRelease { - return super.attach(address) as LockRelease; - } - connect(signer: Signer): LockRelease__factory { - return super.connect(signer) as LockRelease__factory; - } - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): LockReleaseInterface { - return new utils.Interface(_abi) as LockReleaseInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): LockRelease { - return new Contract(address, _abi, signerOrProvider) as LockRelease; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/Ownable__factory.ts b/src/assets/typechain-types/dcnt/factories/Ownable__factory.ts deleted file mode 100644 index df0453aa29..0000000000 --- a/src/assets/typechain-types/dcnt/factories/Ownable__factory.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import { Provider } from "@ethersproject/providers"; -import type { Ownable, OwnableInterface } from "../Ownable"; - -const _abi = [ - { - 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: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class Ownable__factory { - static readonly abi = _abi; - static createInterface(): OwnableInterface { - return new utils.Interface(_abi) as OwnableInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): Ownable { - return new Contract(address, _abi, signerOrProvider) as Ownable; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/ShortStrings__factory.ts b/src/assets/typechain-types/dcnt/factories/ShortStrings__factory.ts deleted file mode 100644 index 4ae2a15b13..0000000000 --- a/src/assets/typechain-types/dcnt/factories/ShortStrings__factory.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* 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 { ShortStrings, ShortStringsInterface } from "../ShortStrings"; - -const _abi = [ - { - inputs: [], - name: "InvalidShortString", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "str", - type: "string", - }, - ], - name: "StringTooLong", - type: "error", - }, -]; - -const _bytecode = - "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207b070ef87ce2a8f6655559d6f80d60474a249a271498b7f3a2015ffd3f9e066a64736f6c63430008130033"; - -export class ShortStrings__factory extends ContractFactory { - constructor( - ...args: [signer: Signer] | ConstructorParameters - ) { - if (args.length === 1) { - super(_abi, _bytecode, args[0]); - } else { - super(...args); - } - } - - deploy( - overrides?: Overrides & { from?: string | Promise } - ): Promise { - return super.deploy(overrides || {}) as Promise; - } - getDeployTransaction( - overrides?: Overrides & { from?: string | Promise } - ): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - attach(address: string): ShortStrings { - return super.attach(address) as ShortStrings; - } - connect(signer: Signer): ShortStrings__factory { - return super.connect(signer) as ShortStrings__factory; - } - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ShortStringsInterface { - return new utils.Interface(_abi) as ShortStringsInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): ShortStrings { - return new Contract(address, _abi, signerOrProvider) as ShortStrings; - } -} diff --git a/src/assets/typechain-types/dcnt/factories/Votes__factory.ts b/src/assets/typechain-types/dcnt/factories/Votes__factory.ts deleted file mode 100644 index a67ad216b7..0000000000 --- a/src/assets/typechain-types/dcnt/factories/Votes__factory.ts +++ /dev/null @@ -1,325 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import { Provider } from "@ethersproject/providers"; -import type { Votes, VotesInterface } from "../Votes"; - -const _abi = [ - { - inputs: [], - name: "InvalidShortString", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "str", - type: "string", - }, - ], - name: "StringTooLong", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "delegator", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "fromDelegate", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "toDelegate", - type: "address", - }, - ], - name: "DelegateChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "delegate", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "previousBalance", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "newBalance", - type: "uint256", - }, - ], - name: "DelegateVotesChanged", - type: "event", - }, - { - anonymous: false, - inputs: [], - name: "EIP712DomainChanged", - type: "event", - }, - { - inputs: [], - name: "CLOCK_MODE", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "DOMAIN_SEPARATOR", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "clock", - outputs: [ - { - internalType: "uint48", - name: "", - type: "uint48", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - ], - name: "delegate", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - { - internalType: "uint256", - name: "nonce", - type: "uint256", - }, - { - internalType: "uint256", - name: "expiry", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "delegateBySig", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "delegates", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "eip712Domain", - outputs: [ - { - internalType: "bytes1", - name: "fields", - type: "bytes1", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "string", - name: "version", - type: "string", - }, - { - internalType: "uint256", - name: "chainId", - type: "uint256", - }, - { - internalType: "address", - name: "verifyingContract", - type: "address", - }, - { - internalType: "bytes32", - name: "salt", - type: "bytes32", - }, - { - internalType: "uint256[]", - name: "extensions", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timepoint", - type: "uint256", - }, - ], - name: "getPastTotalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - { - internalType: "uint256", - name: "timepoint", - type: "uint256", - }, - ], - name: "getPastVotes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "getVotes", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "nonces", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, -]; - -export class Votes__factory { - static readonly abi = _abi; - static createInterface(): VotesInterface { - return new utils.Interface(_abi) as VotesInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): Votes { - return new Contract(address, _abi, signerOrProvider) as Votes; - } -} diff --git a/src/assets/typechain-types/dcnt/hardhat.d.ts b/src/assets/typechain-types/dcnt/hardhat.d.ts deleted file mode 100644 index 2c85abb48b..0000000000 --- a/src/assets/typechain-types/dcnt/hardhat.d.ts +++ /dev/null @@ -1,186 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { ethers } from "ethers"; -import { - FactoryOptions, - HardhatEthersHelpers as HardhatEthersHelpersBase, -} from "@nomiclabs/hardhat-ethers/types"; - -import * as Contracts from "."; - -declare module "hardhat/types/runtime" { - interface HardhatEthersHelpers extends HardhatEthersHelpersBase { - getContractFactory( - name: "Ownable", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IVotes", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "Votes", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IERC5267", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IERC5805", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IERC6372", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ERC20", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ERC20Permit", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ERC20Votes", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IERC20Metadata", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IERC20Permit", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IERC20", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "EIP712", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ShortStrings", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "DCNTToken", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ILockRelease", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "LockRelease", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - - getContractAt( - name: "Ownable", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IVotes", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "Votes", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IERC5267", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IERC5805", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IERC6372", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ERC20", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ERC20Permit", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ERC20Votes", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IERC20Metadata", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IERC20Permit", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IERC20", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "EIP712", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ShortStrings", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "DCNTToken", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ILockRelease", - address: string, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "LockRelease", - address: string, - signer?: ethers.Signer - ): Promise; - - // default types - getContractFactory( - name: string, - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - abi: any[], - bytecode: ethers.utils.BytesLike, - signer?: ethers.Signer - ): Promise; - getContractAt( - nameOrAbi: string | any[], - address: string, - signer?: ethers.Signer - ): Promise; - } -} diff --git a/src/assets/typechain-types/dcnt/index.ts b/src/assets/typechain-types/dcnt/index.ts deleted file mode 100644 index c66f7385e6..0000000000 --- a/src/assets/typechain-types/dcnt/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { Ownable } from "./Ownable"; -export type { IVotes } from "./IVotes"; -export type { Votes } from "./Votes"; -export type { IERC5267 } from "./IERC5267"; -export type { IERC5805 } from "./IERC5805"; -export type { IERC6372 } from "./IERC6372"; -export type { ERC20 } from "./ERC20"; -export type { ERC20Permit } from "./ERC20Permit"; -export type { ERC20Votes } from "./ERC20Votes"; -export type { IERC20Metadata } from "./IERC20Metadata"; -export type { IERC20Permit } from "./IERC20Permit"; -export type { IERC20 } from "./IERC20"; -export type { EIP712 } from "./EIP712"; -export type { ShortStrings } from "./ShortStrings"; -export type { DCNTToken } from "./DCNTToken"; -export type { ILockRelease } from "./ILockRelease"; -export type { LockRelease } from "./LockRelease"; - -export { Ownable__factory } from "./factories/Ownable__factory"; -export { IVotes__factory } from "./factories/IVotes__factory"; -export { Votes__factory } from "./factories/Votes__factory"; -export { IERC5267__factory } from "./factories/IERC5267__factory"; -export { IERC5805__factory } from "./factories/IERC5805__factory"; -export { IERC6372__factory } from "./factories/IERC6372__factory"; -export { ERC20__factory } from "./factories/ERC20__factory"; -export { ERC20Permit__factory } from "./factories/ERC20Permit__factory"; -export { ERC20Votes__factory } from "./factories/ERC20Votes__factory"; -export { IERC20Metadata__factory } from "./factories/IERC20Metadata__factory"; -export { IERC20Permit__factory } from "./factories/IERC20Permit__factory"; -export { IERC20__factory } from "./factories/IERC20__factory"; -export { EIP712__factory } from "./factories/EIP712__factory"; -export { ShortStrings__factory } from "./factories/ShortStrings__factory"; -export { DCNTToken__factory } from "./factories/DCNTToken__factory"; -export { ILockRelease__factory } from "./factories/ILockRelease__factory"; -export { LockRelease__factory } from "./factories/LockRelease__factory";