PermissionGroups
function
removeOperator
nonpayable
Restricted (onlyAdmin)
Inputs
| Parameter | Type | Description |
|---|---|---|
| operator | address |
Outputs
(void)
function
addOperator
nonpayable
Restricted (onlyAdmin)
Inputs
| Parameter | Type | Description |
|---|---|---|
| newOperator | address |
Outputs
(void)
function
transferAdminQuickly
nonpayable
Restricted (onlyAdmin)
Inputs
| Parameter | Type | Description |
|---|---|---|
| newAdmin | address |
Outputs
(void)
function
transferAdmin
nonpayable
Restricted (onlyAdmin)
Inputs
| Parameter | Type | Description |
|---|---|---|
| newAdmin | address |
Outputs
(void)
function
addAlerter
nonpayable
Restricted (onlyAdmin)
Inputs
| Parameter | Type | Description |
|---|---|---|
| newAlerter | address |
Outputs
(void)
function
removeAlerter
nonpayable
Restricted (onlyAdmin)
Inputs
| Parameter | Type | Description |
|---|---|---|
| alerter | address |
Outputs
(void)
function
claimAdmin
nonpayable
Inputs
(void)
Outputs
(void)
function
getAlerters
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address[] |
function
getOperators
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address[] |
event
OperatorAdded
Inputs
| Parameter | Type | Description |
|---|---|---|
| newOperator | address | |
| isAdd | bool |
Outputs
(void)
event
AlerterAdded
Inputs
| Parameter | Type | Description |
|---|---|---|
| newAlerter | address | |
| isAdd | bool |
Outputs
(void)
event
AdminClaimed
Inputs
| Parameter | Type | Description |
|---|---|---|
| newAdmin | address | |
| previousAdmin | address |
Outputs
(void)
event
TransferAdminPending
Inputs
| Parameter | Type | Description |
|---|---|---|
| pendingAdmin | address |
Outputs
(void)
SanityRates
function
setReasonableDiff
nonpayable
Restricted (onlyAdmin)
Inputs
| Parameter | Type | Description |
|---|---|---|
| srcs | address[] | |
| diff | uint256[] |
Outputs
(void)
function
setSanityRates
nonpayable
Restricted (onlyOperator)
Inputs
| Parameter | Type | Description |
|---|---|---|
| srcs | address[] | |
| rates | uint256[] |
Outputs
(void)
function
getSanityRate
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| src | address | |
| dest | address |
Outputs
| Type | Description |
|---|---|
| uint256 |
constructor
SanityRates
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| _admin | address |
Outputs
(void)
Withdrawable
function
withdrawEther
nonpayable
Restricted (onlyAdmin)
Inputs
| Parameter | Type | Description |
|---|---|---|
| amount | uint256 | |
| sendTo | address |
Outputs
(void)
function
withdrawToken
nonpayable
Restricted (onlyAdmin)
Inputs
| Parameter | Type | Description |
|---|---|---|
| token | address | |
| amount | uint256 | |
| sendTo | address |
Outputs
(void)
event
EtherWithdraw
Inputs
| Parameter | Type | Description |
|---|---|---|
| amount | uint256 | |
| sendTo | address |
Outputs
(void)
event
TokenWithdraw
Inputs
| Parameter | Type | Description |
|---|---|---|
| token | address | |
| amount | uint256 | |
| sendTo | address |
Outputs
(void)
function
admin
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
tokenRate
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| address |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
reasonableDiffInBps
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| address |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
pendingAdmin
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |