Example #1
0
def msg_examples(tdd):
    """Stores the __schema__ validation set for oracle messages."""
    return load_msg_examples(
        tdd,
        msg_types=[
            MsgDelegateFeedConsent, MsgExchangeRateVote, MsgExchangeRatePrevote
        ],
    )
Example #2
0
def msg_examples(tdd):
    """Stores the __schema__ validation set for distribution messages."""
    return load_msg_examples(
        tdd,
        msg_types=[
            MsgModifyWithdrawAddress,
            MsgWithdrawDelegationReward,
            MsgWithdrawValidatorCommission,
        ],
    )
Example #3
0
def msg_examples(tdd):
    """Stores the __schema__ validation set for staking messages."""
    return load_msg_examples(
        tdd,
        msg_types=[
            MsgBeginRedelegate,
            MsgCreateValidator,
            MsgDelegate,
            MsgEditValidator,
            MsgUndelegate,
        ],
    )
Example #4
0
def msg_examples(tdd):
    """Stores the __schema__ validation set for slashing messages."""
    return load_msg_examples(tdd, msg_types=[MsgSend, MsgMultiSend],)
Example #5
0
def msg_examples(tdd):
    """Stores the schema validation set for gov messages."""
    return load_msg_examples(
        tdd,
        msg_types=[MsgDeposit, MsgSubmitProposal, MsgVote],
    )
Example #6
0
def msg_examples(tdd):
    """Stores the __schema__ validation set for market messages."""
    return load_msg_examples(
        tdd,
        msg_types=[MsgSwap],
    )