contract

Nep5TransferEvent: boa3.builtin.Event

The NEP-5 transfer event that will be triggered whenever a token is transferred, minted or burned. It needs the addresses of the sender, receiver and the amount transferred.

Nep17TransferEvent: boa3.builtin.Event

The NEP-17 Transfer event that will be triggered whenever a token is transferred, minted or burned. It needs the addresses of the sender, receiver and the amount transferred.

abort()

Aborts the execution of a smart contract.

class NeoAccountState

Bases: object

Represents the account state of NEO token in the NEO system.

Variables
  • balance (int) – the current account balance, which equals to the votes cast

  • height (int) – the height of the block where the balance changed last time

  • vote_to (ECPoint) – the voting target of the account