Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 532 Bytes

contract.md

File metadata and controls

18 lines (15 loc) · 532 Bytes

Contract

The Contract object models an Antelope contract.

Properties

wasm: string

WASM of the contract

abi: any

ABI of the contract

account: Account

The host account of the contract

abiSerializer: any

The ABI serializer for the contract

action: { [ key: string]: ( data: object, authorization?: [{ actor: string, permission: string }] ) => Promise<TransactResult> }

A dictionary of actions defined in the contract

table: { [ key: string]: Table }

A dictionary of tables defined in the contract