Documentation ¶
Index ¶
- Constants
- func GetWalletFromPrivKey(privKey string) (module.Wallet, error)
- func NewApi(l log.Logger, cfg *chain.Config) (chain.ChainAPI, error)
- func NewFinder(l log.Logger, nameToAddrMap map[chain.ContractName]string) *finder
- func NewParser(nameToAddr map[chain.ContractName]string) (*parser, error)
- func SignTransactionParam(wallet module.Wallet, param *types.TransactionParam) error
- type AssetTx
- type AssetTxDetails
- type BMCMessage
- type ServiceBlacklistMessagePayload
- type ServiceFeeGatheringRequestPayload
- type ServiceMessage
- type ServiceTokenlimitMessagePayload
- type TxnEventLog
Constants ¶
View Source
const ( EventSignature = "Message(str,int,bytes)" MonitorBlockMaxConcurrency = 1 )
View Source
const ( ADD_TO_BLACKLIST = 0 REMOVE_FROM_BLACKLIST = 1 BLACKLIST_MESSAGE = 3 CHANGE_TOKEN_LIMIT = 4 FEE_GATHERING = "FeeGathering" )
View Source
const ( DefaultSendTransactionRetryInterval = 3 * time.Second //3sec DefaultGetTransactionResultPollingInterval = 1500 * time.Millisecond //1.5sec )
Variables ¶
This section is empty.
Functions ¶
func SignTransactionParam ¶
func SignTransactionParam(wallet module.Wallet, param *types.TransactionParam) error
Types ¶
type AssetTxDetails ¶
type BMCMessage ¶
type ServiceMessage ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.