setTokenAction
params of setUseParams -> storage with [ tokenLambdas ]
transfer -> 0n
update_operators -> 1n
getBalance -> 2n
get_total_supply -> 3nUsage
const yupana = await tezos.contract.at(yTokenAddress);
const operation = await yupana.methods.setTokenAction(index, bytes).send();
await operation.confirmation();yupana = ContractInterface.from_michelson(code) # or client.contract(contract_address)...
call = yupana.setTokenAction(index, bytes)
opg = call.inject()Errors
Last updated