PendingManager /// Contract provides a way to control multisignature for transactions and perform them after collecting a required amount of confirmations. Allows to track transactions that are already in pending queue. Uses UserManager contrant for managing access to contract's functions.
/contracts/pending/PendingManager.sol

constructor

PendingManager

inputs0address_store
inputs1bytes32_crate
event

AddMultisigTx e01f210f

inputs0addressself
inputs1addressowner
inputs2addresssender
inputs3bytes32hash
event

Cancelled 5c073039

inputs0addressself
inputs1bytes32hash
event

Confirmation 73357994

inputs0addressself
inputs1addressowner
inputs2bytes32hash
event

Done 145862c7

inputs0addressself
inputs1bytes32hash
inputs2bytesdata
inputs3uint256timestamp
event

Error 9cf38cf2

inputs0addressself
inputs1uint256errorCode
event

Revoke ec0353ba

inputs0addressself
inputs1addressowner
inputs2bytes32hash
function

addTx 0fee1efc

Add a transaction that should be confirmed by authorized users and only then be performed.

inputs0bytes32_hash

key for tx (value of resulted hash will be posted in an event)

inputs1bytes_data

data of ts

inputs2address_to

target of tx

inputs3address_sender

who is an initiator of a call

outputs0uint256errorCode

result code of an operation. When yetNeeded <= 1 returns OK, otherwise MULTISIG_ADDED (in case of success)

function

changeContractOwnership 557f4bc9

Prepares ownership pass. * Can only be called by current owner.

inputs0address_to

address of the next owner. 0x0 is not allowed.

outputs0bool
function

claimContractOwnership 4592cd1d

Finalize ownership pass. * Can only be called by pending owner.

outputs0bool
function

confirm 797af627

Confirms a transaction proposal and if it is the last vote then invokes stored function Allowed only for authorized addresses

inputs0bytes32_hash

key of tx

outputs0uint256
function, constant

contractOwner ce606ee0

function, constant

contractsManager 53253d31

function

destroy 83197ef0

function

emitCancelled 7d11317a

inputs0bytes32_hash
function

emitConfirmation 14da0797

inputs0address_owner
inputs1bytes32_hash
function

emitDone c02ea6d7

inputs0bytes32_hash
inputs1bytes_data
inputs2uint256_timestamp
function

emitError df26ca08

inputs0uint256_errorCode
function

emitRevoke d4554737

inputs0address_owner
inputs1bytes32_hash
function

emitTxAdded 37ab24a7

inputs0address_owner
inputs1address_sender
inputs2bytes32_hash
function, constant

getEventsHistory fff10aba

function, constant

getTx b915cb6c

Gets a single transaction description

inputs0bytes32_hash

key of tx

outputs0bytes_data
outputs1uint256_yetNeeded
outputs2uint256_ownersDone
outputs3uint256_timestamp
function, constant

getTxData 520ff62e

Gets a data that was passed with transaction with provided hash

inputs0bytes32_hash

key of tx

function, constant

getTxs e0cedd9c

Gets pending transactions description

outputs0bytes32[]_hashes

list of hashes

outputs1uint256[]_yetNeeded

list of amount of confirmations needed

outputs2uint256[]_ownersDone

list of bitmasks with owners who already confirmed

outputs3uint256[]_timestamp

list of timestamps

function, constant

getUserManager 1dffd012

Gets an address of UserManager currenty used by this contract

function, constant

hasConfirmed c2cf7326

Gets an information whether provided owner had confirmed pending transaction or not Only authorized address could be passed as an owner.

inputs0bytes32_hash

key of tx

inputs1address_owner

user address an info of which has been asked for

outputs0bool
function

init 19ab453c

PendingManager (re-)initialization

inputs0address_contractsManager
function, constant

isAuthorized fe9fbb80

inputs0addresskey
function, constant

lookupManager 4fe59012

Will crash if no manager in the system with given identifier.

Returns manager's address by its identifier (type).

inputs0bytes32_identifier

is a manager's identifier. 0x0 is not allowed.

function, constant

pendingContractOwner 5aa77d3c

function, constant

pendingYetNeeded a6896dd7

Gets an amount of needed confirmations for provided transaction hash

inputs0bytes32_hash

key of tx

function, constant

pendingsCount d3913350

Gets a number of transactions that are waiting for confirmation (revocation)

function

revoke b75c7dc6

Revokes a prior confirmation of the given operation Allowed only for authorized addresses

inputs0bytes32_hash

key of tx

outputs0uint256
function

setContractsManager 71d3b573

Setter for ContractsManager. Force overrides currect manager.

inputs0address_contractsManager

contracts manager. 0x0 is not allowed.

function

setEventsHistory 6521afd7

inputs0address_eventsHistory
function

transferContractOwnership a843c51f

Direct ownership pass without change/claim pattern. Can be invoked only by current contract owner

inputs0address_to

the next contract owner

outputs0bool
function

withdrawnTokens d8f9659b

inputs0address[]tokens
inputs1address_to