Contract
Last updated
Last updated
Set with the create method after the contract is deployed, the admin is the only one that can call the add_admin_operation method.
Operations:
schedule_admin_operation
: create new box storage and add a new admin operation.
revoke_admin_operation
: revoke a pending admin operation.
update_admin
: set the new admin address to the global state.
Users can trigger the operations scheduled by the admin.
update_time_delay
: update the time delay value.
update_updater_authorization
: update the authorization flag of an updater by setting it to true or false.
add_asset
: add a new feed. Check if the asset doesn't exist yet and add it in a new global state. The asset id is set as key and as value: [price, timestamp, price_threshold, initialized]
update_asset_data
: update the data of an existing feed e.g. price threshold.
Account created by the FFO Server, over which no one has control. It can update feed prices if authorized.
Operations:
update_prices
: Update the prices of the assets added. Different updaters could update different feeds.
Testnet
159512493
RFAPNRJLIFD4DD5MFYZT6DBIFA4ZTS2TS6SL6KMFADMHT3QVHLPCZIJWYI
VGAEJ4PYJZZDKII6PU6TZ35ZZCZ3S63FFMMEFCHX7EWWREHKUQTU3RNL7E
Mainnet
Q5Q5FC5PTYQIUX5PGNTEW22UJHJHVVUEMMWV2LSG6MGT33YQ54ST7FEIGA
ZU34PMV4Q6EKBZIBZHIOJECWTRQHNJGSC5FVPMVX36E3BJYS4KSMVXFBBA