Closed think-in-universe closed 3 years ago
The set_metadata method now doesn't support icon field, which is necessary to update in many cases
set_metadata
https://github.com/aurora-is-near/rainbow-token-connector/blob/a45e23aed6d3566ea8f89da7d9527da931699fe6/bridge-token/src/lib.rs#L63-L78
We need to support icon field update.
icon
Please feel free to refer to the FT metadata Rust implementation if necessary: https://github.com/near/near-sdk-rs/blob/ddd9affe7dc9433d6e2abe454841d416d80cb43f/near-contract-standards/src/fungible_token/metadata.rs#L9-L17
The
set_metadata
method now doesn't support icon field, which is necessary to update in many caseshttps://github.com/aurora-is-near/rainbow-token-connector/blob/a45e23aed6d3566ea8f89da7d9527da931699fe6/bridge-token/src/lib.rs#L63-L78
We need to support
icon
field update.Please feel free to refer to the FT metadata Rust implementation if necessary: https://github.com/near/near-sdk-rs/blob/ddd9affe7dc9433d6e2abe454841d416d80cb43f/near-contract-standards/src/fungible_token/metadata.rs#L9-L17