approve

function approve(
    address spender, 
    uint256 amount
) public virtual override returns (bool)

ํ† ํฐ Approve ํ•  ๋•Œ ์‚ฌ์šฉ

Parameters

Example

// ํ† ํฐ ํ—ˆ์šฉ
await mockToken0Contract.approve(
    stakingRouterContract.address, 
    MaxUint256
)

2022.12.28

Last updated