Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToCommunityTokenProtobuf ¶ added in v0.163.14
func ToCommunityTokenProtobuf(token *CommunityToken) *protobuf.CommunityToken
Types ¶
type CommunityToken ¶
type CommunityToken struct { TokenType protobuf.CommunityTokenType `json:"tokenType"` CommunityID string `json:"communityId"` Address string `json:"address"` Name string `json:"name"` Symbol string `json:"symbol"` Description string `json:"description"` Supply *bigint.BigInt `json:"supply"` InfiniteSupply bool `json:"infiniteSupply"` Transferable bool `json:"transferable"` RemoteSelfDestruct bool `json:"remoteSelfDestruct"` ChainID int `json:"chainId"` DeployState DeployState `json:"deployState"` Base64Image string `json:"image"` Decimals int `json:"decimals"` Deployer string `json:"deployer"` PrivilegesLevel PrivilegesLevel `json:"privilegesLevel"` }
func FromCommunityTokenProtobuf ¶ added in v0.163.14
func FromCommunityTokenProtobuf(pToken *protobuf.CommunityToken) *CommunityToken
type PrivilegesLevel ¶ added in v0.163.14
type PrivilegesLevel uint8
const ( OwnerLevel PrivilegesLevel = iota MasterLevel CommunityLevel )
Click to show internal directories.
Click to hide internal directories.