Point
Last updated
Was this helpful?
Last updated
Was this helpful?
The Point ADO allows users to store the coordinates for one point. This ADO can then be referenced in the to save this coordinate for the user.
The Point ADO can be set to one of the following:
Private: Only accessible by the contract owner of the ADO.
Public: Accessible by anyone.
Restricted: Only accessible to the address that set the point the first time.
Ado_type: point
Version: 0.1.0-beta
restriction
Specifies who has access specify the point coordiantes
kernel_address
String
owner
Option<String>
Optional address to specify as the owner of the ADO being created. Defaults to the sender if not specified.
An enum defining the different types of restrictions that can be set.
Private: Only accessible by the contract owner of the ADO.
Public: Accessible by anyone.
Restricted: Only accessible to the key owner (The address that first set the point).
Sets the point coordinates.
point
The coordinates of the point to save.
x_coordinate
String
The x coordinate for the point.
y_coordinate
String
The y coordinate for the point.
z_coordinate
Option<String>
The z coordinate for the point. Do not specify in case the graph is 2D.
Deletes the data attached to set point.
Changes the restriction set on the Point ADO.
Only available to the contract owner.
restriction
The new restriction type to use for the Point ADO.
Gets the coordinates of the stored point.
x_coordinate
String
The x coordinate for the point.
y_coordinate
String
The y coordinate for the point.
z_coordinate
Option<String>
The z coordinate for the point.
Queries the address of the user who set the point coordinates.
owner
AndrAddr
The address that set the point coordinates.
Contract address of the to be used for messaging. Kernel contract address can be found in our .
Authorization for this message depends on the set .
Authorization for this message depends on the set .
The rest of the execute messages can be found in the section.
The rest of the query messages can be found in the section.