ADO Base
The ADO Base contains all the common functionality applied on all ADOs upon instantiation.
InstantiateMsg
The struct used to hold important information about each instantiated ADO. Implemented as BaseInstantiateMsg
.
Name | Type | Description |
---|---|---|
| String | The type of the ADO. Usually, it is the same as the name. It is automatically set when an ADO is instantiated. |
| String | The version of the ADO. It is automatically set when an ADO is instantiated. |
| Option<String> | |
| Option<String> | The address of the ADO owner. Specified by the creator in the instantiation message of an ADO. |
Our ADOs have a set of execute and query messages referred to as the "base executes" and "base queries". These messages are common to every ADO in our Andromeda Digital Library (Except AMP ADOs). They are listed in the AndromedaMsg and AndromedaQuery enums which we will discuss next.
Migrate Message
All of our ADOs contain a migrate message to allowing migrating an ADO to a newer version:
Last updated