Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
  "amount": 100000000000,
  "fio_address": "FIO8k7N7jU9eyj57AfazGxMuvPGZG5hvXNUyxt9pBchnkXXx9KUuD",
  "max_oracle_fee": 1000000000,
  "max_fee": 1000000000,
  "tpid": "rewards@wallet"
}

...

Parameter

Required

Format

Definition

eth_address

Yes

Ethereum public address

Ethereum address owned by the Oracle.

Example

Code Block
{
  "eth_address": "FIO8k7N7jU9eyj57AfazGxMuvPGZG5hvXNUyxt9pBchnkXXx9KUuD"
}

Processing

  • Request is validated per Exception handling.

  • Consensus required. Oracle is added after 2/3+1 Custodians have called regoracle with same eth_address.

  • Ethereum address is registered as a valid Oracle.

...

Parameter

Format

Definition

status

String

OK if successful

Example
Code Block
{
  "status": "OK"
}

...

Parameter

Required

Format

Definition

eth_address

Yes

Ethereum public address

Ethereum address owned by the Oracle.

Example

Code Block
{
  "eth_address": "FIO8k7N7jU9eyj57AfazGxMuvPGZG5hvXNUyxt9pBchnkXXx9KUuD"
}

Processing

  • Oracle is removed after 2/3+1 Custodians have unregistered the same Oracle Ethereum address

  • Consensus required. Oracle is removed after 2/3+1 Custodians have called unregoracle with same oracle_address.

  • Ethereum address is removed as a valid Oracle.

...

Parameter

Format

Definition

status

String

OK if successful

Example
Code Block
{
  "status": "OK"
}

...

Parameter

Required

Format

Definition

eth_address

Yes

Ethereum public address

Ethereum address owned by the Custodian.

Example

Code Block
{
  "eth_address": "FIO8k7N7jU9eyj57AfazGxMuvPGZG5hvXNUyxt9pBchnkXXx9KUuD"
}

Processing

  • Request is validated per Exception handling.

  • Consensus required. Custodian is added after 2/3+1 custodians have registered the same Ethereum address.

  • Ethereum address is added as a valid Custodian.

...

Parameter

Required

Format

Definition

eth_address

Yes

Ethereum public address

Ethereum address owned by the Custodian.

Example

Code Block
{
  "eth_address": "FIO8k7N7jU9eyj57AfazGxMuvPGZG5hvXNUyxt9pBchnkXXx9KUuD"
}

Processing

  • Request is validated per Exception handling.

  • Consensus required. Custodian is removed after 2/3+1 custodians have registered the same Ethereum address.

  • Ethereum address is removed as a valid Custodian.

...

Parameter

Format

Definition

status

String

OK if successful

Example
Code Block
{
  "status": "OK"
}

...