import { AbiItem } from 'web3-utils' ; export const STAKING_CONTRACT_ABI = [ { inputs : [ { internalType : 'contract IERC20Minimal' , name : '_BRBC' , type : 'address' } ] , 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 : false , internalType : 'address' , name : 'staker' , type : 'address' } , { indexed : false , internalType : 'uint256' , name : 'stakedRBC' , type : 'uint256' } , { indexed : false , internalType : 'uint256' , name : 'mintedXRBC' , type : 'uint256' } ] , name : 'Entered' , type : 'event' } , { anonymous : false , inputs : [ { indexed : true , internalType : 'address' , name : 'to' , type : 'address' } , { indexed : false , internalType : 'uint64' , name : 'release' , type : 'uint64' } , { indexed : false , internalType : 'uint256' , name : 'amount' , type : 'uint256' } ] , name : 'Freezed' , type : 'event' } , { anonymous : false , inputs : [ { indexed : false , internalType : 'address' , name : 'staker' , type : 'address' } , { indexed : false , internalType : 'uint256' , name : 'burnedXRBC' , type : 'uint256' } , { indexed : false , internalType : 'uint256' , name : 'givenRBC' , type : 'uint256' } ] , name : 'Left' , 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 : 'owner' , type : 'address' } , { indexed : false , internalType : 'uint256' , name : 'amount' , type : 'uint256' } ] , name : 'Released' , 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 : 'BRBC' , outputs : [ { internalType : 'contract IERC20Minimal' , name : '' , type : 'address' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'address' , name : '_owner' , type : 'address' } ] , name : 'actualBalanceOf' , outputs : [ { internalType : 'uint256' , name : 'balance' , type : 'uint256' } ] , 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 : '_owner' , type : 'address' } ] , name : 'balanceOf' , outputs : [ { internalType : 'uint256' , name : 'balance' , type : 'uint256' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'uint256' , name : '_amount' , type : 'uint256' } ] , name : 'canReceive' , 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 : 'uint256' , name : '_amount' , type : 'uint256' } ] , name : 'enter' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ { internalType : 'uint256' , name : '_amount' , type : 'uint256' } , { internalType : 'address' , name : '_to' , type : 'address' } ] , name : 'enterTo' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ ] , name : 'freezeTime' , outputs : [ { internalType : 'uint256' , name : '' , type : 'uint256' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'address' , name : '_owner' , type : 'address' } ] , name : 'freezingBalanceOf' , outputs : [ { internalType : 'uint256' , name : 'balance' , type : 'uint256' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'address' , name : '_addr' , type : 'address' } ] , name : 'freezingCount' , outputs : [ { internalType : 'uint256' , name : 'count' , type : 'uint256' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'address' , name : '_addr' , type : 'address' } , { internalType : 'uint256' , name : '_index' , type : 'uint256' } ] , name : 'getFreezing' , outputs : [ { internalType : 'uint64' , name : '_release' , type : 'uint64' } , { internalType : 'uint256' , name : '_balance' , 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 : 'uint256' , name : 'xRBCAmount' , type : 'uint256' } ] , name : 'leave' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ ] , name : 'name' , outputs : [ { internalType : 'string' , name : '' , type : 'string' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ ] , name : 'owner' , outputs : [ { internalType : 'address' , name : '' , type : 'address' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ ] , name : 'renounceOwnership' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ { internalType : 'uint256' , name : '_freezeTime' , type : 'uint256' } ] , name : 'setFreezeTime' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ { internalType : 'uint256' , name : '_startDate' , type : 'uint256' } ] , name : 'setStartDate' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ ] , name : 'startDate' , outputs : [ { internalType : 'uint256' , name : '' , type : 'uint256' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'contract IERC20Minimal' , name : 'token' , type : 'address' } ] , name : 'sweepTokens' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ ] , name : 'symbol' , outputs : [ { internalType : 'string' , name : '' , type : 'string' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ ] , name : 'totalRBCEntered' , 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 : 'recipient' , type : 'address' } , { internalType : 'uint256' , name : 'amount' , type : 'uint256' } ] , name : 'transfer' , outputs : [ { internalType : 'bool' , name : '' , type : 'bool' } ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ { internalType : 'address' , name : 'sender' , type : 'address' } , { internalType : 'address' , name : 'recipient' , 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' } , { inputs : [ { internalType : 'address' , name : '' , type : 'address' } ] , name : 'userEnteredAmount' , outputs : [ { internalType : 'uint256' , name : '' , type : 'uint256' } ] , stateMutability : 'view' , type : 'function' } ] as AbiItem [ ] ;