⬅️ Contracts
Mainnet implementations
FeiDAO
Events
CancelTransaction
event CancelTransaction(bytes32,address,uint256,string,bytes,uint256)
Params
Param |
Type |
Notes |
txHash |
bytes32 indexed |
|
target |
address indexed |
|
value |
uint256 |
|
signature |
string |
|
data |
bytes |
|
eta |
uint256 |
|
ExecuteTransaction
event ExecuteTransaction(bytes32,address,uint256,string,bytes,uint256)
Params
Param |
Type |
Notes |
txHash |
bytes32 indexed |
|
target |
address indexed |
|
value |
uint256 |
|
signature |
string |
|
data |
bytes |
|
eta |
uint256 |
|
NewAdmin
event NewAdmin(address)
Params
Param |
Type |
Notes |
newAdmin |
address indexed |
|
NewDelay
event NewDelay(uint256)
Params
Param |
Type |
Notes |
newDelay |
uint256 indexed |
|
NewPendingAdmin
event NewPendingAdmin(address)
Params
Param |
Type |
Notes |
newPendingAdmin |
address indexed |
|
QueueTransaction
event QueueTransaction(bytes32,address,uint256,string,bytes,uint256)
Params
Param |
Type |
Notes |
txHash |
bytes32 indexed |
|
target |
address indexed |
|
value |
uint256 |
|
signature |
string |
|
data |
bytes |
|
eta |
uint256 |
|
Methods
GRACE_PERIOD
function GRACE_PERIOD() view returns(uint256)
Returns
MAXIMUM_DELAY
function MAXIMUM_DELAY() view returns(uint256)
Returns
MINIMUM_DELAY
function MINIMUM_DELAY() view returns(uint256)
Returns
acceptAdmin
function acceptAdmin() nonpayable
admin
function admin() view returns(address)
Returns
cancelTransaction
function cancelTransaction(address,uint256,string,bytes,uint256) nonpayable
Params
Param |
Type |
Notes |
target |
address |
|
value |
uint256 |
|
signature |
string |
|
data |
bytes |
|
eta |
uint256 |
|
delay
function delay() view returns(uint256)
Returns
executeTransaction
function executeTransaction(address,uint256,string,bytes,uint256) payable returns(bytes)
Params
Param |
Type |
Notes |
target |
address |
|
value |
uint256 |
|
signature |
string |
|
data |
bytes |
|
eta |
uint256 |
|
Returns
getTxHash
function getTxHash(address,uint256,string,bytes,uint256) pure returns(bytes32)
Params
Param |
Type |
Notes |
target |
address |
|
value |
uint256 |
|
signature |
string |
|
data |
bytes |
|
eta |
uint256 |
|
Returns
pendingAdmin
function pendingAdmin() view returns(address)
Returns
queueTransaction
function queueTransaction(address,uint256,string,bytes,uint256) nonpayable returns(bytes32)
Params
Param |
Type |
Notes |
target |
address |
|
value |
uint256 |
|
signature |
string |
|
data |
bytes |
|
eta |
uint256 |
|
Returns
queuedTransactions
function queuedTransactions(bytes32) view returns(bool)
Params
Returns
setDelay
function setDelay(uint256) nonpayable
Params
Param |
Type |
Notes |
delay_ |
uint256 |
|
setPendingAdmin
function setPendingAdmin(address) nonpayable
Params
Param |
Type |
Notes |
pendingAdmin_ |
address |
|
⬅️ Contracts