/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Interface, type ContractRunner } from "ethers"; import type { ArianeeStaking, ArianeeStakingInterface, } from "../ArianeeStaking"; const _abi = [ { constant: false, inputs: [ { name: "_amount", type: "uint256", }, { name: "_data", type: "bytes", }, ], name: "stake", outputs: [], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: false, inputs: [ { name: "_user", type: "address", }, { name: "_amount", type: "uint256", }, { name: "_data", type: "bytes", }, ], name: "stakeFor", outputs: [], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: false, inputs: [ { name: "_amount", type: "uint256", }, { name: "_data", type: "bytes", }, ], name: "stakeWithMinimal", outputs: [], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: false, inputs: [ { name: "_newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: false, inputs: [ { name: "_fees", type: "uint8", }, ], name: "udpateFees", outputs: [], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: false, inputs: [ { name: "_staker", type: "address", }, { name: "_percentUnstake", type: "uint256", }, ], name: "unlockStakeWithFee", outputs: [], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: false, inputs: [ { name: "_amount", type: "uint256", }, { name: "_data", type: "bytes", }, ], name: "unstake", outputs: [], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: false, inputs: [ { name: "_newAriaUSDExchange", type: "uint256", }, ], name: "updateAriaUSDExchange", outputs: [], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: false, inputs: [ { name: "_defaultLockInDuration", type: "uint256", }, ], name: "updateDefaultLockInDuration", outputs: [], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: false, inputs: [ { name: "_newFeesReceiver", type: "address", }, ], name: "updateFeesReceiver", outputs: [], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: false, inputs: [ { name: "_newMinimalUSDStakable", type: "uint256", }, ], name: "updateMinimalUSDStakable", outputs: [], payable: false, stateMutability: "nonpayable", type: "function", }, { inputs: [ { name: "_stakingToken", type: "address", }, ], payable: false, stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: false, name: "_amount", type: "uint256", }, { indexed: false, name: "staker", type: "address", }, ], name: "newStake", type: "event", }, { anonymous: false, inputs: [ { indexed: true, name: "previousOwner", type: "address", }, { indexed: true, name: "newOwner", type: "address", }, ], name: "OwnershipTransferred", type: "event", }, { anonymous: false, inputs: [ { indexed: true, name: "user", type: "address", }, { indexed: false, name: "amount", type: "uint256", }, { indexed: false, name: "total", type: "uint256", }, { indexed: false, name: "data", type: "bytes", }, ], name: "Staked", type: "event", }, { anonymous: false, inputs: [ { indexed: true, name: "user", type: "address", }, { indexed: false, name: "amount", type: "uint256", }, { indexed: false, name: "total", type: "uint256", }, { indexed: false, name: "data", type: "bytes", }, ], name: "Unstaked", type: "event", }, { constant: true, inputs: [], name: "ariaUSDExchange", outputs: [ { name: "", type: "uint256", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [], name: "defaultLockInDuration", outputs: [ { name: "", type: "uint256", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [], name: "feesReceiver", outputs: [ { name: "", type: "address", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [ { name: "_address", type: "address", }, ], name: "getPersonalStakeActualAmounts", outputs: [ { name: "", type: "uint256[]", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [ { name: "_address", type: "address", }, ], name: "getPersonalStakeForAddresses", outputs: [ { name: "", type: "address[]", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [ { name: "_address", type: "address", }, ], name: "getPersonalStakes", outputs: [ { name: "", type: "uint256[]", }, { name: "", type: "uint256[]", }, { name: "", type: "address[]", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [ { name: "_address", type: "address", }, ], name: "getPersonalStakeUnlockedTimestamps", outputs: [ { name: "", type: "uint256[]", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [], name: "minimalUSDStakable", outputs: [ { name: "", type: "uint256", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [], name: "owner", outputs: [ { name: "", type: "address", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [ { name: "", type: "address", }, ], name: "stakeHolders", outputs: [ { name: "totalStakedFor", type: "uint256", }, { name: "personalStakeIndex", type: "uint256", }, { name: "exists", type: "bool", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [], name: "supportsHistory", outputs: [ { name: "", type: "bool", }, ], payable: false, stateMutability: "pure", type: "function", }, { constant: true, inputs: [], name: "token", outputs: [ { name: "", type: "address", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [], name: "totalStaked", outputs: [ { name: "", type: "uint256", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [ { name: "_address", type: "address", }, ], name: "totalStakedFor", outputs: [ { name: "", type: "uint256", }, ], payable: false, stateMutability: "view", type: "function", }, ] as const; export class ArianeeStaking__factory { static readonly abi = _abi; static createInterface(): ArianeeStakingInterface { return new Interface(_abi) as ArianeeStakingInterface; } static connect( address: string, runner?: ContractRunner | null ): ArianeeStaking { return new Contract(address, _abi, runner) as unknown as ArianeeStaking; } }