evmos.proto.autogen.py.evmos.vesting.v1

Classes

ClawbackVestingAccount(base_vesting_account, ...)

ClawbackVestingAccount implements the VestingAccount interface.

MsgBase()

MsgClawback(funder_address, account_address, ...)

MsgClawback defines a message that removes unvested tokens from a ClawbackVestingAccount.

MsgClawbackResponse()

MsgClawbackResponse defines the MsgClawback response type.

MsgCreateClawbackVestingAccount(...)

MsgCreateClawbackVestingAccount defines a message that enables creating a ClawbackVestingAccount.

MsgCreateClawbackVestingAccountResponse()

MsgCreateClawbackVestingAccountResponse defines the MsgCreateClawbackVestingAccount response type.

MsgStub(channel, *[, timeout, deadline, ...])

QueryBalancesRequest(address)

QueryBalancesRequest is the request type for the Query/Balances RPC method.

QueryBalancesResponse(locked, unvested, vested)

QueryBalancesResponse is the response type for the Query/Balances RPC method.

QueryBase()

QueryStub(channel, *[, timeout, deadline, ...])

class evmos.proto.autogen.py.evmos.vesting.v1.ClawbackVestingAccount(base_vesting_account: ~evmos.proto.autogen.py.cosmos.vesting.v1beta1.BaseVestingAccount = <object object>, funder_address: str = <object object>, start_time: ~datetime.datetime = <object object>, lockup_periods: ~typing.List[~evmos.proto.autogen.py.cosmos.vesting.v1beta1.Period] = <object object>, vesting_periods: ~typing.List[~evmos.proto.autogen.py.cosmos.vesting.v1beta1.Period] = <object object>)[source]

Bases: Message

ClawbackVestingAccount implements the VestingAccount interface. It provides an account that can hold contributions subject to “lockup” (like a PeriodicVestingAccount), or vesting which is subject to clawback of unvested tokens, or a combination (tokens vest, but are still locked).

base_vesting_account: BaseVestingAccount = <object object>

base_vesting_account implements the VestingAccount interface. It contains all the necessary fields needed for any vesting account implementation

funder_address: str = <object object>

funder_address specifies the account which can perform clawback

lockup_periods: List[Period] = <object object>

lockup_periods defines the unlocking schedule relative to the start_time

start_time: datetime = <object object>

start_time defines the time at which the vesting period begins

vesting_periods: List[Period] = <object object>

vesting_periods defines the vesting schedule relative to the start_time

class evmos.proto.autogen.py.evmos.vesting.v1.MsgBase[source]

Bases: ServiceBase

async clawback(msg_clawback: MsgClawback) MsgClawbackResponse[source]
async create_clawback_vesting_account(msg_create_clawback_vesting_account: MsgCreateClawbackVestingAccount) MsgCreateClawbackVestingAccountResponse[source]
class evmos.proto.autogen.py.evmos.vesting.v1.MsgClawback(funder_address: str = <object object>, account_address: str = <object object>, dest_address: str = <object object>)[source]

Bases: Message

MsgClawback defines a message that removes unvested tokens from a ClawbackVestingAccount.

account_address: str = <object object>

account_address is the address of the ClawbackVestingAccount to claw back from.

dest_address: str = <object object>

dest_address specifies where the clawed-back tokens should be transferred to. If empty, the tokens will be transferred back to the original funder of the account.

funder_address: str = <object object>

funder_address is the address which funded the account

class evmos.proto.autogen.py.evmos.vesting.v1.MsgClawbackResponse[source]

Bases: Message

MsgClawbackResponse defines the MsgClawback response type.

class evmos.proto.autogen.py.evmos.vesting.v1.MsgCreateClawbackVestingAccount(from_address: str = <object object>, to_address: str = <object object>, start_time: ~datetime.datetime = <object object>, lockup_periods: ~typing.List[~evmos.proto.autogen.py.cosmos.vesting.v1beta1.Period] = <object object>, vesting_periods: ~typing.List[~evmos.proto.autogen.py.cosmos.vesting.v1beta1.Period] = <object object>, merge: bool = <object object>)[source]

Bases: Message

MsgCreateClawbackVestingAccount defines a message that enables creating a ClawbackVestingAccount.

from_address: str = <object object>

from_address specifies the account to provide the funds and sign the clawback request

lockup_periods: List[Period] = <object object>

lockup_periods defines the unlocking schedule relative to the start_time

merge: bool = <object object>

merge specifies a the creation mechanism for existing ClawbackVestingAccounts. If true, merge this new grant into an existing ClawbackVestingAccount, or create it if it does not exist. If false, creates a new account. New grants to an existing account must be from the same from_address.

start_time: datetime = <object object>

start_time defines the time at which the vesting period begins

to_address: str = <object object>

to_address specifies the account to receive the funds

vesting_periods: List[Period] = <object object>

vesting_periods defines thevesting schedule relative to the start_time

class evmos.proto.autogen.py.evmos.vesting.v1.MsgCreateClawbackVestingAccountResponse[source]

Bases: Message

MsgCreateClawbackVestingAccountResponse defines the MsgCreateClawbackVestingAccount response type.

class evmos.proto.autogen.py.evmos.vesting.v1.MsgStub(channel: Channel, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[Union[Mapping[str, Union[str, bytes]], Collection[Tuple[str, Union[str, bytes]]]]] = None)[source]

Bases: ServiceStub

async clawback(msg_clawback: MsgClawback, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) MsgClawbackResponse[source]
async create_clawback_vesting_account(msg_create_clawback_vesting_account: MsgCreateClawbackVestingAccount, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) MsgCreateClawbackVestingAccountResponse[source]
class evmos.proto.autogen.py.evmos.vesting.v1.QueryBalancesRequest(address: str = <object object>)[source]

Bases: Message

QueryBalancesRequest is the request type for the Query/Balances RPC method.

address: str = <object object>

address of the clawback vesting account

class evmos.proto.autogen.py.evmos.vesting.v1.QueryBalancesResponse(locked: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>, unvested: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>, vested: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>)[source]

Bases: Message

QueryBalancesResponse is the response type for the Query/Balances RPC method.

locked: List[Coin] = <object object>

current amount of locked tokens

unvested: List[Coin] = <object object>

current amount of unvested tokens

vested: List[Coin] = <object object>

current amount of vested tokens

class evmos.proto.autogen.py.evmos.vesting.v1.QueryBase[source]

Bases: ServiceBase

async balances(query_balances_request: QueryBalancesRequest) QueryBalancesResponse[source]
class evmos.proto.autogen.py.evmos.vesting.v1.QueryStub(channel: Channel, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[Union[Mapping[str, Union[str, bytes]], Collection[Tuple[str, Union[str, bytes]]]]] = None)[source]

Bases: ServiceStub

async balances(query_balances_request: QueryBalancesRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryBalancesResponse[source]