Support type
Typescript syntax needs to be followed when writing defaultValue
in obelisk.config.ts
.
Obelisk.config | Move | *Typescript |
---|---|---|
"string" | String | string |
"address" | address | string |
"bool" | bool | boolean |
"u8" | u8 | number |
"u64" | u64 | number |
"u128" | u128 | number |
"vector<string>" | vector<String> | string[] |
"vector<address>" | vector<address> | string[] |
"vector<bool>" | vector<bool> | boolean[] |
"vector<u8>" | vector<u8> | number[] |
"vector<u64>" | vector<u64> | number[] |
"vector<u128>" | vector<u128> | number[] |
"vector<vector<u8>>" | vector<vector<u8>> | number[][] |