Table Structures:
oracleledger
keeps track of all wrapping transactions and logs the actor performing the request. This will be the same table used in both token and domain wrapping transactions.
( type
could be added in new iterations to allow for quick and simple index lookups based on status. )
oracles
tracks registered oracles used during the validation of unwrapping of NFT/tokens. This table also stores fee information used during the wrapping process.
The type oraclefees is defined as:
The oracle_votes
table is used during unwrapping operations. The registered oracles will call unwraptokens
and emplace a new record. Once an oracle calls this action and 51% consensus is reached, the unwrapping will be approved and funds will be transferred.
regoracle - Oracle must be a topprod and must be approved by eosio permissions ( BP msig )
unregoracle - Any registered oracle can unregister themselves. eosio permissions grant BPs to unregister ANY registered oracle using an msig.
Add Comment