external_token_list.gno

AddToken

func AddToken(
	cur realm,
	tokenPath string
)

AddToken adds a token to the reward token whitelist.

Parameters

Name
Type
Description

cur

realm

Pass cross as argument.

tokenPath

string

path of the token to add

RemoveToken

RemoveToken removes a token from the reward token whitelist.

Parameters

Name
Type
Description

cur

realm

Pass cross as argument.

tokenPath

string

path of the token to remove

Last updated