GNSCompensationHandler

Compensation contract that gives GNS to dev fund renouncing dai revenue and allows users to redeem NFTs that are now deprecated for GNS

Methods

devFundUnlockScheduled

function devFundUnlockScheduled() external view returns (bool)

Returns

NameTypeDescription

_0

bool

undefined

gns

function gns() external view returns (contract IERC20)

Returns

NameTypeDescription

_0

contract IERC20

undefined

nfts

function nfts(uint256) external view returns (contract IERC721)

Parameters

NameTypeDescription

_0

uint256

undefined

Returns

NameTypeDescription

_0

contract IERC721

undefined

retireNfts

function retireNfts(GNSCompensationHandler.ClaimInput[] _inputArr, bool _lock) external nonpayable

Parameters

NameTypeDescription

_inputArr

GNSCompensationHandler.ClaimInput[]

undefined

_lock

bool

undefined

scheduleDevFundUnlock

function scheduleDevFundUnlock() external nonpayable

staking

function staking() external view returns (contract IGNSStaking)

Returns

NameTypeDescription

_0

contract IGNSStaking

undefined

Events

DevFundUnlockScheduled

event DevFundUnlockScheduled()

NftsConverted

event NftsConverted(address indexed user, GNSCompensationHandler.ClaimInput[] input, uint256 claimAmount, uint256 penaltyAmount, bool locked)

Parameters

NameTypeDescription

user indexed

address

undefined

input

GNSCompensationHandler.ClaimInput[]

undefined

claimAmount

uint256

undefined

penaltyAmount

uint256

undefined

locked

bool

undefined