{"modulePath":"github.com/Sifchain/sifnode","version":"v1.4.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\n## Variables\n\n```go\nvar (\n\tAccountPubKeyPrefix    = AccountAddressPrefix + \"pub\"\n\tValidatorAddressPrefix = AccountAddressPrefix + \"valoper\"\n\tValidatorPubKeyPrefix  = AccountAddressPrefix + \"valoperpub\"\n\tConsNodeAddressPrefix  = AccountAddressPrefix + \"valcons\"\n\tConsNodePubKeyPrefix   = AccountAddressPrefix + \"valconspub\"\n)\n```\n\n## Functions\n\n```go\nfunc BroadCast(txf tx.Factory, clientCtx sdkclient.Context, msg sdk.Msg) *sdk.TxResponse\n```\n\n```go\nfunc SetConfig(seal bool)\n```\n\n## Types\n\n```go\ntype Args struct {\n\tNetwork          Network         `json:\"network\"`\n\tChainID          string          `json:\"chain_id,omitempty\"`\n\tGasPrice         string          `json:\"gas_price,omitempty\"`\n\tGasAdjustment    float64         `json:\"gas_adjustment,omitempty\"`\n\tKeybase          keyring.Keyring `json:\"keybase,omitempty\"`\n\tChannelID        string          `json:\"channel_id,omitempty\"`\n\tSender           sdk.AccAddress  `json:\"sender,omitempty\"`\n\tSenderName       string          `json:\"sender_name\"`\n\tSifchainReceiver sdk.AccAddress  `json:\"receiver,omitempty\"`\n\tCosmosReceiver   string          `json:\"cosmos_receiver\"`\n\tAmount           sdk.Coins       `json:\"\"`\n\tTimeoutTimestamp uint64          `json:\"timeout_timestamp,omitempty\"`\n\tFees             string          `json:\"fees\"`\n}\n```\n\n```go\ntype CommonArgs struct {\n\tDispensationName string\n}\n```\n\n```go\ntype CreateDispensationMultiTx struct{} //nolint\n\n```\n\n```go\nfunc (s CreateDispensationMultiTx) Assert(response *sdk.TxResponse, _ *CommonArgs)\n```\n\n```go\nfunc (CreateDispensationMultiTx) GetMsgAndArgs(_ CommonArgs) (sdk.Msg, Args)\n```\n\n```go\nfunc (CreateDispensationMultiTx) GetName() string\n```\n\n```go\ntype CreateDispensationNegativeTx struct{} //nolint\n\n```\n\n```go\nfunc (s CreateDispensationNegativeTx) Assert(response *sdk.TxResponse, _ *CommonArgs)\n```\n\n```go\nfunc (CreateDispensationNegativeTx) GetMsgAndArgs(_ CommonArgs) (sdk.Msg, Args)\n```\n\n```go\nfunc (CreateDispensationNegativeTx) GetName() string\n```\n\n```go\ntype CreateDispensationTx struct{}\n```\n\n```go\nfunc (s CreateDispensationTx) Assert(response *sdk.TxResponse, _ *CommonArgs)\n```\n\n```go\nfunc (CreateDispensationTx) GetMsgAndArgs(_ CommonArgs) (sdk.Msg, Args)\n```\n\n```go\nfunc (CreateDispensationTx) GetName() string\n```\n\n```go\ntype Network int8\n```\n\n```go\nconst (\n\tAccountAddressPrefix         = \"sif\"\n\tDevnet               Network = 1\n\tTestNet              Network = 2\n\tMainNet              Network = 3\n\tLocalNet             Network = 4\n)\n```\n\n```go\ntype SentTx struct{} //nolint\n\n```\n\n```go\nfunc (s SentTx) Assert(response *sdk.TxResponse, _ *CommonArgs)\n```\n\n```go\nfunc (SentTx) GetMsgAndArgs(_ CommonArgs) (sdk.Msg, Args)\n```\n\n```go\nfunc (SentTx) GetName() string\n```\n\n```go\ntype TestCase interface {\n\tGetMsgAndArgs(iArgs CommonArgs) (sdk.Msg, Args)\n\tGetName() string\n\tAssert(*sdk.TxResponse, *CommonArgs)\n}\n```\n\n","path":"github.com/Sifchain/sifnode/scripts/cli_tests","name":"main","synopsis":"","isRedistributable":true}
