Endpoint
EndPoint contract
Contract entry point for operation executing by executor to destination protocol Also contract contain GOV-protocol logic for adding and verify new protocols and transmitters
Endpoint__InvalidProtocolId
Endpoint__ExecutorIsNotAllowed
Endpoint__ExecutorIsAlreadyAllowed
Endpoint__ProtocolIsNotAllowed
Endpoint__ProtocolIsNotAdded
Endpoint__OpIsNotApproved
Endpoint__OpIsAlreadyExecuted
Endpoint__OpIsNotForThisChain
Endpoint__IsNotAllowedProposer
Endpoint__ZeroTransmittersCount
Endpoint__AddrTooBig
Endpoint__SelectorTooBig
Endpoint__ParamsTooBig
ProposalExecuted
Propose
ADMIN
GOV
govProtocolId
Signature
AllowedProtocolInfo
numberOfAllowedTransmitters
allowedTransmitters
executors
allowedProposers
allowedProtocolInfo
protocol info map
protocolAddressToProtocolId
map of protocol contract address to protocol id
opExecutedMap
map of executed operations
rateDecimals
10000 = 100%
masterSmartContract
eobChainId
globalNonce
protocolNonce
_isAllowedExecutorInternal
END of VARS *
isAllowedExecutor
_isAllowedProtocolInternal
isAllowedProtocol
_isAllowedProposerInternal
isAllowedProposer
_isValidProtocol
isValidProtocol
initialize
_authorizeUpgrade
__chainId
addGov
Adding gov contract and first gov transmitters
Parameters
addAllowedProtocol
Adding protocol to whitelist
Parameters
addAllowedProtocolAddress
Adding protocol contract address to whitelist
Parameters
removeAllowedProtocolAddress
Removing protocol contract address from whitelist
Parameters
addAllowedProposer
Adding proposer to whitelist
Parameters
removeAllowedProposer
Removing proposer to whitelist
Parameters
addExecutor
Adding executor to whitelist
Parameters
removeExecutor
Removing executor from whitelist
Parameters
addTransmitters
Adding transmitters to whitelist (payable is cheaper in gas cost)
Parameters
removeTransmitters
Removing transmitters from whitelist (payable is cheaper in gas cost)
Parameters
setConsensusTargetRate
Setting of target rate
Parameters
checkOperationsExecuteStatus
Get array of opHashes, check it was executed and returns array of result
Parameters
Return Values
executeOperation
execute approved operation
Parameters
checkProposeData
propose
function of emitting event Propose for catching by transmitters
Parameters
proposeInOrder
function of emitting event Propose with order for catching by transmitters
Parameters
Last updated