#pdao #blockchain #chain #contract #colony

pdao-colony-contract-common

PDAO library for colony chain contract development

4 releases

0.1.2 Sep 14, 2022
0.1.1 Aug 29, 2022
0.1.0 Aug 21, 2022
0.0.0 Aug 4, 2022

#4 in #colony


Used in pdao-colony-common

MIT license

15KB
195 lines

pdao-colony-contract-common

Please refer to beacon-chain


lib.rs:

A set of utilities, types, and constants to be used in the contract code, for all the colony chains based on WASM.

Message-delivery related types (LightClientUpdateMessage, FungibleTokenTransferMessage, NonFungibleTokenTransferMessage, CustomMessage) are en/decoded between the contract-relayer communication; you should use the provided (in this crate) serialization method to decode the message given by the transaction, as the matching serialization method will be used in the relayer side too, which depends on this crate as well.

For the details of each message-delivery type, please refer to the pbc-colony-common crate.

Dependencies

~0.7–2.1MB
~46K SLoC