コード例 #1
0
def msg_examples(tdd):
    """Stores the __schema__ validation set for oracle messages."""
    return load_msg_examples(
        tdd,
        msg_types=[
            MsgDelegateFeedConsent, MsgExchangeRateVote, MsgExchangeRatePrevote
        ],
    )
コード例 #2
0
def msg_examples(tdd):
    """Stores the __schema__ validation set for distribution messages."""
    return load_msg_examples(
        tdd,
        msg_types=[
            MsgModifyWithdrawAddress,
            MsgWithdrawDelegationReward,
            MsgWithdrawValidatorCommission,
        ],
    )
コード例 #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,
        ],
    )
コード例 #4
0
def msg_examples(tdd):
    """Stores the __schema__ validation set for slashing messages."""
    return load_msg_examples(tdd, msg_types=[MsgSend, MsgMultiSend],)
コード例 #5
0
def msg_examples(tdd):
    """Stores the schema validation set for gov messages."""
    return load_msg_examples(
        tdd,
        msg_types=[MsgDeposit, MsgSubmitProposal, MsgVote],
    )
コード例 #6
0
ファイル: test_market_msgs.py プロジェクト: terra-money/jigu
def msg_examples(tdd):
    """Stores the __schema__ validation set for market messages."""
    return load_msg_examples(
        tdd,
        msg_types=[MsgSwap],
    )