Documentation ¶
Index ¶
- type Authorizer
- type GetDomainRequest
- type GetDomainResult
- type GetFungibleBalanceRequest
- type GetFungibleBalanceResult
- type GetFungibleRequest
- type GetFungibleResult
- type GetGroupRequest
- type GetGroupResult
- type GetSuspendRequest
- type GetSuspendResult
- type GetTokenRequest
- type GetTokenResult
- type GetTokensRequest
- type GetTokensResult
- type Instance
- func (it *Instance) GetDomain(domainName string) (*GetDomainResult, *client.ApiError)
- func (it *Instance) GetFungible(id string) (*GetFungibleResult, *client.ApiError)
- func (it *Instance) GetFungibleBalance(symid uint, address string) (*GetFungibleBalanceResult, *client.ApiError)
- func (it *Instance) GetGroup(domainName string) (*GetGroupResult, *client.ApiError)
- func (it *Instance) GetSuspend(id string) (*GetSuspendResult, *client.ApiError)
- func (it *Instance) GetToken(domainName string, tokenName string) (*GetTokenResult, *client.ApiError)
- func (it *Instance) GetTokens(domainName string, skip int, take int) (*GetTokensResult, *client.ApiError)
- type Role
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
type GetDomainRequest ¶
type GetDomainRequest struct {
Name string `json:"name"`
}
type GetDomainResult ¶
type GetFungibleBalanceResult ¶
type GetFungibleBalanceResult = []string
type GetFungibleRequest ¶
type GetFungibleRequest struct {
Id string `json:"id"`
}
type GetFungibleResult ¶
type GetFungibleResult struct { Name string `json:"name"` SymName string `json:"sym_name"` Sym string `json:"sym"` Creator string `json:"creator"` CreateTime string `json:"create_time"` Issue evttypes.PermissionDef `json:"issue"` Manage evttypes.PermissionDef `json:"manage"` TotalSupply string `json:"total_supply"` Metas []map[string]string `json:"metas"` CurrentSupply string `json:"current_supply"` Address string `json:"address"` }
type GetGroupRequest ¶
type GetGroupRequest struct {
Name string `json:"name"`
}
type GetGroupResult ¶
type GetGroupResult struct { Name string `json:"name"` Key string `json:"key"` Root struct { Threshold int `json:"threshold"` Weight int `json:"weight"` Nodes []struct { Threshold int `json:"threshold,omitempty"` Weight int `json:"weight"` Nodes []struct { Key string `json:"key"` Weight int `json:"weight"` } `json:"nodes,omitempty"` Key string `json:"key,omitempty"` } `json:"nodes"` } `json:"root"` }
type GetSuspendRequest ¶
type GetSuspendRequest struct {
Id string `json:"id"`
}
type GetSuspendResult ¶
type GetSuspendResult struct { Name string `json:"name"` Proposer string `json:"proposer"` Status string `json:"status"` Trx struct { Expiration string `json:"expiration"` RefBlockNum int `json:"ref_block_num"` RefBlockPrefix int `json:"ref_block_prefix"` MaxCharge int `json:"max_charge"` Payer string `json:"payer"` Actions []evttypes.FullAction `json:"actions"` TransactionExtensions []interface{} `json:"transaction_extensions"` } `json:"trx"` SignedKeys []string `json:"signed_keys"` Signatures []string `json:"signatures"` }
type GetTokenRequest ¶
type GetTokenResult ¶
type GetTokenResult struct { }
type GetTokensRequest ¶
type GetTokensResult ¶
type GetTokensResult = []interface{}
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
func (*Instance) GetDomain ¶
func (it *Instance) GetDomain(domainName string) (*GetDomainResult, *client.ApiError)
func (*Instance) GetFungible ¶
func (it *Instance) GetFungible(id string) (*GetFungibleResult, *client.ApiError)
func (*Instance) GetFungibleBalance ¶
func (*Instance) GetGroup ¶
func (it *Instance) GetGroup(domainName string) (*GetGroupResult, *client.ApiError)
func (*Instance) GetSuspend ¶
func (it *Instance) GetSuspend(id string) (*GetSuspendResult, *client.ApiError)
type Role ¶
type Role struct { Name string `json:"name"` Threshold int `json:"threshold"` Authorizers []Authorizer `json:"authorizers"` }
Click to show internal directories.
Click to hide internal directories.