OCPool

token

contract IERC20 token

router

address router

constructor

constructor(address _token) public

Initializes the contract setting the deployer as the initial owner.

Parameters

NameTypeDescription

_token

address

The address of the token contract.

withdraw

function withdraw(address _receiver, uint256 _amount) external

Transfers tokens from sender to receiver on the same chain.

Parameters

NameTypeDescription

_receiver

address

The address of the receiver.

_amount

uint256

The amount of tokens to transfer.

Last updated