UNPKG

@orionprotocol/contracts

Version:
766 lines (765 loc) 40.1 kB
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common"; export declare namespace ITWBalance { type TWItemStruct = { timestamp: BigNumberish; amountTW: BigNumberish; }; type TWItemStructOutput = [timestamp: bigint, amountTW: bigint] & { timestamp: bigint; amountTW: bigint; }; } export interface VeORNInterface extends Interface { getFunction(nameOrSignature: "ALPHA7" | "START_TIME" | "admin" | "allStake" | "amountAt" | "amountByTokenAt" | "balanceOf(address,uint256)" | "balanceOf(address)" | "balanceOf0" | "balanceOfAvg" | "balanceOfTW" | "balanceTokenOf" | "calcNewRate" | "calcPointsNewRate" | "claimReward" | "create_lock" | "create_lock_period" | "decimals" | "dropLockUsers" | "endCumulativePointsTime" | "getK" | "getPointsReward" | "getPointsRewardCumulativeAll" | "getPointsStake" | "getReward" | "getRewardCumulative" | "getRewardCumulativeAll" | "getRewardWithdraw" | "getStake" | "increase_amount" | "increase_unlock_period" | "increase_unlock_time" | "isAirdropPassed" | "lockTime" | "name" | "poolStake" | "rateCumulative" | "rateCumulativePoints" | "rateTime" | "rateTimePoints" | "rewardPointsRate" | "rewardRate" | "setAdmin" | "setPointsRewards" | "setRewards" | "setSmartVote" | "smartOwner" | "smartVote" | "symbol" | "tokenMap" | "totalSupply()" | "totalSupply(uint256)" | "totalSupply0" | "totalSupplyAvg" | "totalSupplyDropLockUsersT0" | "totalSupplyTW" | "updateAirdropState" | "withdraw"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "AirdropStateUpdated" | "ClaimReward" | "Deposit" | "DropLockActivated" | "SetPointsRewards" | "SetRewards" | "Stake" | "StakePoints" | "Unstake" | "UpdateDeposit" | "Withdraw"): EventFragment; encodeFunctionData(functionFragment: "ALPHA7", values?: undefined): string; encodeFunctionData(functionFragment: "START_TIME", values?: undefined): string; encodeFunctionData(functionFragment: "admin", values?: undefined): string; encodeFunctionData(functionFragment: "allStake", values?: undefined): string; encodeFunctionData(functionFragment: "amountAt", values: [BigNumberish, BigNumberish]): string; encodeFunctionData(functionFragment: "amountByTokenAt", values: [BigNumberish, BigNumberish]): string; encodeFunctionData(functionFragment: "balanceOf(address,uint256)", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "balanceOf(address)", values: [AddressLike]): string; encodeFunctionData(functionFragment: "balanceOf0", values: [AddressLike]): string; encodeFunctionData(functionFragment: "balanceOfAvg", values: [AddressLike, ITWBalance.TWItemStruct]): string; encodeFunctionData(functionFragment: "balanceOfTW", values: [AddressLike]): string; encodeFunctionData(functionFragment: "balanceTokenOf", values: [AddressLike]): string; encodeFunctionData(functionFragment: "calcNewRate", values?: undefined): string; encodeFunctionData(functionFragment: "calcPointsNewRate", values?: undefined): string; encodeFunctionData(functionFragment: "claimReward", values?: undefined): string; encodeFunctionData(functionFragment: "create_lock", values: [BigNumberish, BigNumberish]): string; encodeFunctionData(functionFragment: "create_lock_period", values: [BigNumberish, BigNumberish]): string; encodeFunctionData(functionFragment: "decimals", values?: undefined): string; encodeFunctionData(functionFragment: "dropLockUsers", values: [AddressLike]): string; encodeFunctionData(functionFragment: "endCumulativePointsTime", values?: undefined): string; encodeFunctionData(functionFragment: "getK", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "getPointsReward", values: [AddressLike]): string; encodeFunctionData(functionFragment: "getPointsRewardCumulativeAll", values?: undefined): string; encodeFunctionData(functionFragment: "getPointsStake", values: [AddressLike]): string; encodeFunctionData(functionFragment: "getReward", values: [AddressLike]): string; encodeFunctionData(functionFragment: "getRewardCumulative", values: [AddressLike]): string; encodeFunctionData(functionFragment: "getRewardCumulativeAll", values?: undefined): string; encodeFunctionData(functionFragment: "getRewardWithdraw", values: [AddressLike]): string; encodeFunctionData(functionFragment: "getStake", values: [AddressLike]): string; encodeFunctionData(functionFragment: "increase_amount", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "increase_unlock_period", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "increase_unlock_time", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "isAirdropPassed", values?: undefined): string; encodeFunctionData(functionFragment: "lockTime", values: [AddressLike]): string; encodeFunctionData(functionFragment: "name", values?: undefined): string; encodeFunctionData(functionFragment: "poolStake", values: [AddressLike]): string; encodeFunctionData(functionFragment: "rateCumulative", values?: undefined): string; encodeFunctionData(functionFragment: "rateCumulativePoints", values?: undefined): string; encodeFunctionData(functionFragment: "rateTime", values?: undefined): string; encodeFunctionData(functionFragment: "rateTimePoints", values?: undefined): string; encodeFunctionData(functionFragment: "rewardPointsRate", values?: undefined): string; encodeFunctionData(functionFragment: "rewardRate", values?: undefined): string; encodeFunctionData(functionFragment: "setAdmin", values: [AddressLike]): string; encodeFunctionData(functionFragment: "setPointsRewards", values: [BigNumberish, BigNumberish]): string; encodeFunctionData(functionFragment: "setRewards", values: [BigNumberish, BigNumberish]): string; encodeFunctionData(functionFragment: "setSmartVote", values: [AddressLike]): string; encodeFunctionData(functionFragment: "smartOwner", values?: undefined): string; encodeFunctionData(functionFragment: "smartVote", values?: undefined): string; encodeFunctionData(functionFragment: "symbol", values?: undefined): string; encodeFunctionData(functionFragment: "tokenMap", values: [AddressLike]): string; encodeFunctionData(functionFragment: "totalSupply()", values?: undefined): string; encodeFunctionData(functionFragment: "totalSupply(uint256)", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "totalSupply0", values?: undefined): string; encodeFunctionData(functionFragment: "totalSupplyAvg", values: [ITWBalance.TWItemStruct]): string; encodeFunctionData(functionFragment: "totalSupplyDropLockUsersT0", values?: undefined): string; encodeFunctionData(functionFragment: "totalSupplyTW", values?: undefined): string; encodeFunctionData(functionFragment: "updateAirdropState", values?: undefined): string; encodeFunctionData(functionFragment: "withdraw", values?: undefined): string; decodeFunctionResult(functionFragment: "ALPHA7", data: BytesLike): Result; decodeFunctionResult(functionFragment: "START_TIME", data: BytesLike): Result; decodeFunctionResult(functionFragment: "admin", data: BytesLike): Result; decodeFunctionResult(functionFragment: "allStake", data: BytesLike): Result; decodeFunctionResult(functionFragment: "amountAt", data: BytesLike): Result; decodeFunctionResult(functionFragment: "amountByTokenAt", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOf(address,uint256)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOf(address)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOf0", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOfAvg", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOfTW", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceTokenOf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "calcNewRate", data: BytesLike): Result; decodeFunctionResult(functionFragment: "calcPointsNewRate", data: BytesLike): Result; decodeFunctionResult(functionFragment: "claimReward", data: BytesLike): Result; decodeFunctionResult(functionFragment: "create_lock", data: BytesLike): Result; decodeFunctionResult(functionFragment: "create_lock_period", data: BytesLike): Result; decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; decodeFunctionResult(functionFragment: "dropLockUsers", data: BytesLike): Result; decodeFunctionResult(functionFragment: "endCumulativePointsTime", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getK", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getPointsReward", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getPointsRewardCumulativeAll", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getPointsStake", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getReward", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getRewardCumulative", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getRewardCumulativeAll", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getRewardWithdraw", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getStake", data: BytesLike): Result; decodeFunctionResult(functionFragment: "increase_amount", data: BytesLike): Result; decodeFunctionResult(functionFragment: "increase_unlock_period", data: BytesLike): Result; decodeFunctionResult(functionFragment: "increase_unlock_time", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isAirdropPassed", data: BytesLike): Result; decodeFunctionResult(functionFragment: "lockTime", data: BytesLike): Result; decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; decodeFunctionResult(functionFragment: "poolStake", data: BytesLike): Result; decodeFunctionResult(functionFragment: "rateCumulative", data: BytesLike): Result; decodeFunctionResult(functionFragment: "rateCumulativePoints", data: BytesLike): Result; decodeFunctionResult(functionFragment: "rateTime", data: BytesLike): Result; decodeFunctionResult(functionFragment: "rateTimePoints", data: BytesLike): Result; decodeFunctionResult(functionFragment: "rewardPointsRate", data: BytesLike): Result; decodeFunctionResult(functionFragment: "rewardRate", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setAdmin", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setPointsRewards", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setRewards", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setSmartVote", data: BytesLike): Result; decodeFunctionResult(functionFragment: "smartOwner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "smartVote", data: BytesLike): Result; decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; decodeFunctionResult(functionFragment: "tokenMap", data: BytesLike): Result; decodeFunctionResult(functionFragment: "totalSupply()", data: BytesLike): Result; decodeFunctionResult(functionFragment: "totalSupply(uint256)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "totalSupply0", data: BytesLike): Result; decodeFunctionResult(functionFragment: "totalSupplyAvg", data: BytesLike): Result; decodeFunctionResult(functionFragment: "totalSupplyDropLockUsersT0", data: BytesLike): Result; decodeFunctionResult(functionFragment: "totalSupplyTW", data: BytesLike): Result; decodeFunctionResult(functionFragment: "updateAirdropState", data: BytesLike): Result; decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result; } export declare namespace AirdropStateUpdatedEvent { type InputTuple = []; type OutputTuple = []; interface OutputObject { } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace ClaimRewardEvent { type InputTuple = [ account: AddressLike, amount: BigNumberish, rewardCumulativeTotal: BigNumberish, rateCumulative: BigNumberish, reward: BigNumberish, timestamp: BigNumberish ]; type OutputTuple = [ account: string, amount: bigint, rewardCumulativeTotal: bigint, rateCumulative: bigint, reward: bigint, timestamp: bigint ]; interface OutputObject { account: string; amount: bigint; rewardCumulativeTotal: bigint; rateCumulative: bigint; reward: bigint; timestamp: bigint; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace DepositEvent { type InputTuple = [ provider: AddressLike, value: BigNumberish, locktime: BigNumberish, mode: BigNumberish, ts: BigNumberish ]; type OutputTuple = [ provider: string, value: bigint, locktime: bigint, mode: bigint, ts: bigint ]; interface OutputObject { provider: string; value: bigint; locktime: bigint; mode: bigint; ts: bigint; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace DropLockActivatedEvent { type InputTuple = [sender: AddressLike]; type OutputTuple = [sender: string]; interface OutputObject { sender: string; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace SetPointsRewardsEvent { type InputTuple = [ rewards: BigNumberish, duration: BigNumberish, rewardCumulativePointsTotal: BigNumberish, rateCumulativePoints: BigNumberish, timestamp: BigNumberish ]; type OutputTuple = [ rewards: bigint, duration: bigint, rewardCumulativePointsTotal: bigint, rateCumulativePoints: bigint, timestamp: bigint ]; interface OutputObject { rewards: bigint; duration: bigint; rewardCumulativePointsTotal: bigint; rateCumulativePoints: bigint; timestamp: bigint; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace SetRewardsEvent { type InputTuple = [ rewards: BigNumberish, duration: BigNumberish, rewardCumulativeTotal: BigNumberish, rateCumulative: BigNumberish, timestamp: BigNumberish ]; type OutputTuple = [ rewards: bigint, duration: bigint, rewardCumulativeTotal: bigint, rateCumulative: bigint, timestamp: bigint ]; interface OutputObject { rewards: bigint; duration: bigint; rewardCumulativeTotal: bigint; rateCumulative: bigint; timestamp: bigint; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace StakeEvent { type InputTuple = [ account: AddressLike, amount: BigNumberish, rewardCumulativeTotal: BigNumberish, rateCumulative: BigNumberish, reward: BigNumberish, timestamp: BigNumberish ]; type OutputTuple = [ account: string, amount: bigint, rewardCumulativeTotal: bigint, rateCumulative: bigint, reward: bigint, timestamp: bigint ]; interface OutputObject { account: string; amount: bigint; rewardCumulativeTotal: bigint; rateCumulative: bigint; reward: bigint; timestamp: bigint; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace StakePointsEvent { type InputTuple = [ account: AddressLike, amount: BigNumberish, rewardCumulativePointsTotal: BigNumberish, rateCumulativePoints: BigNumberish, reward: BigNumberish, timestamp: BigNumberish ]; type OutputTuple = [ account: string, amount: bigint, rewardCumulativePointsTotal: bigint, rateCumulativePoints: bigint, reward: bigint, timestamp: bigint ]; interface OutputObject { account: string; amount: bigint; rewardCumulativePointsTotal: bigint; rateCumulativePoints: bigint; reward: bigint; timestamp: bigint; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace UnstakeEvent { type InputTuple = [ account: AddressLike, amount: BigNumberish, rewardCumulativeTotal: BigNumberish, rateCumulative: BigNumberish, reward: BigNumberish, timestamp: BigNumberish ]; type OutputTuple = [ account: string, amount: bigint, rewardCumulativeTotal: bigint, rateCumulative: bigint, reward: bigint, timestamp: bigint ]; interface OutputObject { account: string; amount: bigint; rewardCumulativeTotal: bigint; rateCumulative: bigint; reward: bigint; timestamp: bigint; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace UpdateDepositEvent { type InputTuple = [ provider: AddressLike, time_lock: BigNumberish, balance: BigNumberish, amount_token: BigNumberish, value: BigNumberish, totalSupplyT0: BigNumberish, ts: BigNumberish ]; type OutputTuple = [ provider: string, time_lock: bigint, balance: bigint, amount_token: bigint, value: bigint, totalSupplyT0: bigint, ts: bigint ]; interface OutputObject { provider: string; time_lock: bigint; balance: bigint; amount_token: bigint; value: bigint; totalSupplyT0: bigint; ts: bigint; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace WithdrawEvent { type InputTuple = [ provider: AddressLike, value: BigNumberish, ts: BigNumberish ]; type OutputTuple = [provider: string, value: bigint, ts: bigint]; interface OutputObject { provider: string; value: bigint; ts: bigint; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export interface VeORN extends BaseContract { connect(runner?: ContractRunner | null): VeORN; waitForDeployment(): Promise<this>; interface: VeORNInterface; queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>; queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>; on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>; on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>; once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>; once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>; listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>; listeners(eventName?: string): Promise<Array<Listener>>; removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>; ALPHA7: TypedContractMethod<[], [bigint], "view">; START_TIME: TypedContractMethod<[], [bigint], "view">; admin: TypedContractMethod<[], [string], "view">; allStake: TypedContractMethod<[], [bigint], "view">; amountAt: TypedContractMethod<[ amount: BigNumberish, time: BigNumberish ], [ bigint ], "view">; amountByTokenAt: TypedContractMethod<[ amount_token: BigNumberish, time_lock: BigNumberish ], [ bigint ], "view">; "balanceOf(address,uint256)": TypedContractMethod<[ account: AddressLike, time: BigNumberish ], [ bigint ], "view">; "balanceOf(address)": TypedContractMethod<[ account: AddressLike ], [ bigint ], "view">; balanceOf0: TypedContractMethod<[account: AddressLike], [bigint], "view">; balanceOfAvg: TypedContractMethod<[ user: AddressLike, itemStart: ITWBalance.TWItemStruct ], [ bigint ], "view">; balanceOfTW: TypedContractMethod<[ user: AddressLike ], [ ITWBalance.TWItemStructOutput ], "view">; balanceTokenOf: TypedContractMethod<[account: AddressLike], [bigint], "view">; calcNewRate: TypedContractMethod<[], [bigint], "view">; calcPointsNewRate: TypedContractMethod<[], [bigint], "view">; claimReward: TypedContractMethod<[], [void], "nonpayable">; create_lock: TypedContractMethod<[ _value: BigNumberish, unlock_time: BigNumberish ], [ void ], "payable">; create_lock_period: TypedContractMethod<[ _value: BigNumberish, unlock_period: BigNumberish ], [ void ], "payable">; decimals: TypedContractMethod<[], [bigint], "view">; dropLockUsers: TypedContractMethod<[arg0: AddressLike], [boolean], "view">; endCumulativePointsTime: TypedContractMethod<[], [bigint], "view">; getK: TypedContractMethod<[time: BigNumberish], [bigint], "view">; getPointsReward: TypedContractMethod<[ account: AddressLike ], [ bigint ], "view">; getPointsRewardCumulativeAll: TypedContractMethod<[], [bigint], "view">; getPointsStake: TypedContractMethod<[account: AddressLike], [bigint], "view">; getReward: TypedContractMethod<[account: AddressLike], [bigint], "view">; getRewardCumulative: TypedContractMethod<[ account: AddressLike ], [ bigint ], "view">; getRewardCumulativeAll: TypedContractMethod<[], [bigint], "view">; getRewardWithdraw: TypedContractMethod<[ account: AddressLike ], [ bigint ], "view">; getStake: TypedContractMethod<[account: AddressLike], [bigint], "view">; increase_amount: TypedContractMethod<[ _value: BigNumberish ], [ void ], "payable">; increase_unlock_period: TypedContractMethod<[ unlock_period: BigNumberish ], [ void ], "nonpayable">; increase_unlock_time: TypedContractMethod<[ unlock_time: BigNumberish ], [ void ], "nonpayable">; isAirdropPassed: TypedContractMethod<[], [boolean], "view">; lockTime: TypedContractMethod<[account: AddressLike], [bigint], "view">; name: TypedContractMethod<[], [string], "view">; poolStake: TypedContractMethod<[ arg0: AddressLike ], [ [ bigint, bigint, bigint, bigint, bigint, bigint ] & { stake: bigint; rateCumulative: bigint; rateCumulativePoints: bigint; reward: bigint; pointsReward: bigint; rewardWithdraw: bigint; } ], "view">; rateCumulative: TypedContractMethod<[], [bigint], "view">; rateCumulativePoints: TypedContractMethod<[], [bigint], "view">; rateTime: TypedContractMethod<[], [bigint], "view">; rateTimePoints: TypedContractMethod<[], [bigint], "view">; rewardPointsRate: TypedContractMethod<[], [bigint], "view">; rewardRate: TypedContractMethod<[], [bigint], "view">; setAdmin: TypedContractMethod<[_admin: AddressLike], [void], "nonpayable">; setPointsRewards: TypedContractMethod<[ rewards: BigNumberish, duration: BigNumberish ], [ void ], "nonpayable">; setRewards: TypedContractMethod<[ rewards: BigNumberish, duration: BigNumberish ], [ void ], "nonpayable">; setSmartVote: TypedContractMethod<[ addrVote: AddressLike ], [ void ], "nonpayable">; smartOwner: TypedContractMethod<[], [string], "view">; smartVote: TypedContractMethod<[], [string], "view">; symbol: TypedContractMethod<[], [string], "view">; tokenMap: TypedContractMethod<[ arg0: AddressLike ], [ [ bigint, bigint, bigint ] & { time_lock: bigint; balance: bigint; amount_token: bigint; } ], "view">; "totalSupply()": TypedContractMethod<[], [bigint], "view">; "totalSupply(uint256)": TypedContractMethod<[ time: BigNumberish ], [ bigint ], "view">; totalSupply0: TypedContractMethod<[], [bigint], "view">; totalSupplyAvg: TypedContractMethod<[ itemStart: ITWBalance.TWItemStruct ], [ bigint ], "view">; totalSupplyDropLockUsersT0: TypedContractMethod<[], [bigint], "view">; totalSupplyTW: TypedContractMethod<[ ], [ ITWBalance.TWItemStructOutput ], "view">; updateAirdropState: TypedContractMethod<[], [void], "nonpayable">; withdraw: TypedContractMethod<[], [void], "nonpayable">; getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T; getFunction(nameOrSignature: "ALPHA7"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "START_TIME"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "admin"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "allStake"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "amountAt"): TypedContractMethod<[ amount: BigNumberish, time: BigNumberish ], [ bigint ], "view">; getFunction(nameOrSignature: "amountByTokenAt"): TypedContractMethod<[ amount_token: BigNumberish, time_lock: BigNumberish ], [ bigint ], "view">; getFunction(nameOrSignature: "balanceOf(address,uint256)"): TypedContractMethod<[ account: AddressLike, time: BigNumberish ], [ bigint ], "view">; getFunction(nameOrSignature: "balanceOf(address)"): TypedContractMethod<[account: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "balanceOf0"): TypedContractMethod<[account: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "balanceOfAvg"): TypedContractMethod<[ user: AddressLike, itemStart: ITWBalance.TWItemStruct ], [ bigint ], "view">; getFunction(nameOrSignature: "balanceOfTW"): TypedContractMethod<[ user: AddressLike ], [ ITWBalance.TWItemStructOutput ], "view">; getFunction(nameOrSignature: "balanceTokenOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "calcNewRate"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "calcPointsNewRate"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "claimReward"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "create_lock"): TypedContractMethod<[ _value: BigNumberish, unlock_time: BigNumberish ], [ void ], "payable">; getFunction(nameOrSignature: "create_lock_period"): TypedContractMethod<[ _value: BigNumberish, unlock_period: BigNumberish ], [ void ], "payable">; getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "dropLockUsers"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">; getFunction(nameOrSignature: "endCumulativePointsTime"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "getK"): TypedContractMethod<[time: BigNumberish], [bigint], "view">; getFunction(nameOrSignature: "getPointsReward"): TypedContractMethod<[account: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "getPointsRewardCumulativeAll"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "getPointsStake"): TypedContractMethod<[account: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "getReward"): TypedContractMethod<[account: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "getRewardCumulative"): TypedContractMethod<[account: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "getRewardCumulativeAll"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "getRewardWithdraw"): TypedContractMethod<[account: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "getStake"): TypedContractMethod<[account: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "increase_amount"): TypedContractMethod<[_value: BigNumberish], [void], "payable">; getFunction(nameOrSignature: "increase_unlock_period"): TypedContractMethod<[unlock_period: BigNumberish], [void], "nonpayable">; getFunction(nameOrSignature: "increase_unlock_time"): TypedContractMethod<[unlock_time: BigNumberish], [void], "nonpayable">; getFunction(nameOrSignature: "isAirdropPassed"): TypedContractMethod<[], [boolean], "view">; getFunction(nameOrSignature: "lockTime"): TypedContractMethod<[account: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "poolStake"): TypedContractMethod<[ arg0: AddressLike ], [ [ bigint, bigint, bigint, bigint, bigint, bigint ] & { stake: bigint; rateCumulative: bigint; rateCumulativePoints: bigint; reward: bigint; pointsReward: bigint; rewardWithdraw: bigint; } ], "view">; getFunction(nameOrSignature: "rateCumulative"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "rateCumulativePoints"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "rateTime"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "rateTimePoints"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "rewardPointsRate"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "rewardRate"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "setAdmin"): TypedContractMethod<[_admin: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "setPointsRewards"): TypedContractMethod<[ rewards: BigNumberish, duration: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setRewards"): TypedContractMethod<[ rewards: BigNumberish, duration: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setSmartVote"): TypedContractMethod<[addrVote: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "smartOwner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "smartVote"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "tokenMap"): TypedContractMethod<[ arg0: AddressLike ], [ [ bigint, bigint, bigint ] & { time_lock: bigint; balance: bigint; amount_token: bigint; } ], "view">; getFunction(nameOrSignature: "totalSupply()"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "totalSupply(uint256)"): TypedContractMethod<[time: BigNumberish], [bigint], "view">; getFunction(nameOrSignature: "totalSupply0"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "totalSupplyAvg"): TypedContractMethod<[ itemStart: ITWBalance.TWItemStruct ], [ bigint ], "view">; getFunction(nameOrSignature: "totalSupplyDropLockUsersT0"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "totalSupplyTW"): TypedContractMethod<[], [ITWBalance.TWItemStructOutput], "view">; getFunction(nameOrSignature: "updateAirdropState"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[], [void], "nonpayable">; getEvent(key: "AirdropStateUpdated"): TypedContractEvent<AirdropStateUpdatedEvent.InputTuple, AirdropStateUpdatedEvent.OutputTuple, AirdropStateUpdatedEvent.OutputObject>; getEvent(key: "ClaimReward"): TypedContractEvent<ClaimRewardEvent.InputTuple, ClaimRewardEvent.OutputTuple, ClaimRewardEvent.OutputObject>; getEvent(key: "Deposit"): TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>; getEvent(key: "DropLockActivated"): TypedContractEvent<DropLockActivatedEvent.InputTuple, DropLockActivatedEvent.OutputTuple, DropLockActivatedEvent.OutputObject>; getEvent(key: "SetPointsRewards"): TypedContractEvent<SetPointsRewardsEvent.InputTuple, SetPointsRewardsEvent.OutputTuple, SetPointsRewardsEvent.OutputObject>; getEvent(key: "SetRewards"): TypedContractEvent<SetRewardsEvent.InputTuple, SetRewardsEvent.OutputTuple, SetRewardsEvent.OutputObject>; getEvent(key: "Stake"): TypedContractEvent<StakeEvent.InputTuple, StakeEvent.OutputTuple, StakeEvent.OutputObject>; getEvent(key: "StakePoints"): TypedContractEvent<StakePointsEvent.InputTuple, StakePointsEvent.OutputTuple, StakePointsEvent.OutputObject>; getEvent(key: "Unstake"): TypedContractEvent<UnstakeEvent.InputTuple, UnstakeEvent.OutputTuple, UnstakeEvent.OutputObject>; getEvent(key: "UpdateDeposit"): TypedContractEvent<UpdateDepositEvent.InputTuple, UpdateDepositEvent.OutputTuple, UpdateDepositEvent.OutputObject>; getEvent(key: "Withdraw"): TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>; filters: { "AirdropStateUpdated()": TypedContractEvent<AirdropStateUpdatedEvent.InputTuple, AirdropStateUpdatedEvent.OutputTuple, AirdropStateUpdatedEvent.OutputObject>; AirdropStateUpdated: TypedContractEvent<AirdropStateUpdatedEvent.InputTuple, AirdropStateUpdatedEvent.OutputTuple, AirdropStateUpdatedEvent.OutputObject>; "ClaimReward(address,uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<ClaimRewardEvent.InputTuple, ClaimRewardEvent.OutputTuple, ClaimRewardEvent.OutputObject>; ClaimReward: TypedContractEvent<ClaimRewardEvent.InputTuple, ClaimRewardEvent.OutputTuple, ClaimRewardEvent.OutputObject>; "Deposit(address,uint256,uint256,int128,uint256)": TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>; Deposit: TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>; "DropLockActivated(address)": TypedContractEvent<DropLockActivatedEvent.InputTuple, DropLockActivatedEvent.OutputTuple, DropLockActivatedEvent.OutputObject>; DropLockActivated: TypedContractEvent<DropLockActivatedEvent.InputTuple, DropLockActivatedEvent.OutputTuple, DropLockActivatedEvent.OutputObject>; "SetPointsRewards(uint64,uint64,uint256,uint256,uint256)": TypedContractEvent<SetPointsRewardsEvent.InputTuple, SetPointsRewardsEvent.OutputTuple, SetPointsRewardsEvent.OutputObject>; SetPointsRewards: TypedContractEvent<SetPointsRewardsEvent.InputTuple, SetPointsRewardsEvent.OutputTuple, SetPointsRewardsEvent.OutputObject>; "SetRewards(uint64,uint64,uint256,uint256,uint256)": TypedContractEvent<SetRewardsEvent.InputTuple, SetRewardsEvent.OutputTuple, SetRewardsEvent.OutputObject>; SetRewards: TypedContractEvent<SetRewardsEvent.InputTuple, SetRewardsEvent.OutputTuple, SetRewardsEvent.OutputObject>; "Stake(address,uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<StakeEvent.InputTuple, StakeEvent.OutputTuple, StakeEvent.OutputObject>; Stake: TypedContractEvent<StakeEvent.InputTuple, StakeEvent.OutputTuple, StakeEvent.OutputObject>; "StakePoints(address,uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<StakePointsEvent.InputTuple, StakePointsEvent.OutputTuple, StakePointsEvent.OutputObject>; StakePoints: TypedContractEvent<StakePointsEvent.InputTuple, StakePointsEvent.OutputTuple, StakePointsEvent.OutputObject>; "Unstake(address,uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<UnstakeEvent.InputTuple, UnstakeEvent.OutputTuple, UnstakeEvent.OutputObject>; Unstake: TypedContractEvent<UnstakeEvent.InputTuple, UnstakeEvent.OutputTuple, UnstakeEvent.OutputObject>; "UpdateDeposit(address,uint48,uint128,uint128,uint256,uint256,uint256)": TypedContractEvent<UpdateDepositEvent.InputTuple, UpdateDepositEvent.OutputTuple, UpdateDepositEvent.OutputObject>; UpdateDeposit: TypedContractEvent<UpdateDepositEvent.InputTuple, UpdateDepositEvent.OutputTuple, UpdateDepositEvent.OutputObject>; "Withdraw(address,uint256,uint256)": TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>; Withdraw: TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>; }; }