Versions in this module Expand all Collapse all v1 v1.2.1 Sep 24, 2019 Changes in this version type IrisTx + Log string v1.2.0 Aug 29, 2019 Changes in this version + type AssetCreateGateway = asset.MsgCreateGateway + type AssetEditGateWay = asset.MsgEditGateway + type AssetEditToken = asset.MsgEditToken + type AssetIssueToken = asset.MsgIssueToken + type AssetMintToken = asset.MsgMintToken + type AssetTransferGatewayOwner = asset.MsgTransferGatewayOwner + type AssetTransferTokenOwner = asset.MsgTransferTokenOwner + type DocTxMsg struct + Msg Msg + Type string type IrisTx + Msgs []DocTxMsg + type Msg interface + BuildMsg func(msg interface{}) + Type func() string + type MsgRequestRand = rand.MsgRequestRand + type MsgSetMemoRegexp = bank.MsgSetMemoRegexp + type MsgSubmitTokenAdditionProposal = gov.MsgSubmitTokenAdditionProposal v1.1.0 Aug 21, 2019 Changes in this version + const CollectionNameAssetDetail + const CollectionNameBlock + const CollectionNameIrisTx + const CollectionNameSyncTask + var TagDistributionReward = dtags.Reward + type ActualFee struct + Amount float64 + Denom string + type Block struct + CreateTime int64 + Height int64 + type Coin struct + Amount float64 + Denom string + type Coins []*Coin + type Delegation = stake.Delegation + type Fee struct + Amount Coins + Gas int64 + type IrisAssetDetail struct + CoinAmount string + CoinUnit string + Description string + Ext string + From string + Height int64 + Subject string + Timestamp string + To string + Trigger string + TxHash string + func (d IrisAssetDetail) Name() string + func (d IrisAssetDetail) PkKvPair() map[string]interface{} + type IrisTx struct + ActualFee *ActualFee + Amount []*Coin + Code uint32 + Fee *Fee + From string + Height int64 + Initiator string + Memo string + Status string + Tags map[string]string + Time time.Time + To string + TxHash string + Type string + func (d IrisTx) Name() string + func (d IrisTx) PkKvPair() map[string]interface{} + type KVPair = types.KVPair + type MsgBeginRedelegate = stake.MsgBeginRedelegate + type MsgBurn = bank.MsgBurn + type MsgDeposit = gov.MsgDeposit + type MsgSetWithdrawAddress = dtypes.MsgSetWithdrawAddress + type MsgStakeBeginUnbonding = stake.MsgBeginUnbonding + type MsgStakeCreate = stake.MsgCreateValidator + type MsgStakeDelegate = stake.MsgDelegate + type MsgStakeEdit = stake.MsgEditValidator + type MsgSubmitProposal = gov.MsgSubmitProposal + type MsgSubmitSoftwareUpgradeProposal = gov.MsgSubmitSoftwareUpgradeProposal + type MsgSubmitTaxUsageProposal = gov.MsgSubmitTxTaxUsageProposal + type MsgTransfer = bank.MsgSend + type MsgUnjail = slashing.MsgUnjail + type MsgVote = gov.MsgVote + type MsgWithdrawDelegatorReward = distribution.MsgWithdrawDelegatorReward + type MsgWithdrawDelegatorRewardsAll = distribution.MsgWithdrawDelegatorRewardsAll + type MsgWithdrawValidatorRewardsAll = distribution.MsgWithdrawValidatorRewardsAll + type Proposal = gov.Proposal + type SdkCoins = types.Coins + type SdkVote = gov.Vote + type StakeValidator = stake.Validator + type SyncTask struct + CurrentHeight int64 + EndHeight int64 + ID bson.ObjectId + LastUpdateTime int64 + StartHeight int64 + Status string + WorkerId string + WorkerLogs []WorkerLog + func (d SyncTask) GetExecutableTask(maxWorkerSleepTime int64) ([]SyncTask, error) + func (d SyncTask) GetMaxBlockHeight() (int64, error) + func (d SyncTask) GetTaskById(id bson.ObjectId) (SyncTask, error) + func (d SyncTask) GetTaskByIdAndWorker(id bson.ObjectId, worker string) (SyncTask, error) + func (d SyncTask) Name() string + func (d SyncTask) PkKvPair() map[string]interface{} + func (d SyncTask) QueryAll(status []string, taskType string) ([]SyncTask, error) + func (d SyncTask) TakeOverTask(task SyncTask, workerId string) error + func (d SyncTask) UpdateLastUpdateTime(task SyncTask) error + type UnbondingDelegation = stake.UnbondingDelegation + type WorkerLog struct + BeginTime time.Time + WorkerId string