IChainAdminOwnable
Author: Matter Labs
Note: security-contact: security@matterlabs.dev
Functions
setTokenMultiplierSetter
function setTokenMultiplierSetter(address _tokenMultiplierSetter) external;
setUpgradeTimestamp
function setUpgradeTimestamp(
uint256 _protocolVersion,
uint256 _upgradeTimestamp
) external;
multicall
function multicall(Call[] calldata _calls, bool _requireSuccess)
external
payable;
setTokenMultiplier
function setTokenMultiplier(
IAdmin _chainContract,
uint128 _nominator,
uint128 _denominator
) external;
Events
UpdateUpgradeTimestamp
Emitted when the expected upgrade timestamp for a specific protocol version is set.
event UpdateUpgradeTimestamp(
uint256 indexed _protocolVersion, uint256 _upgradeTimestamp
);
CallExecuted
Emitted when the call is executed from the contract.
event CallExecuted(Call _call, bool _success, bytes _returnData);
NewTokenMultiplierSetter
Emitted when the new token multiplier address is set.
event NewTokenMultiplierSetter(
address _oldTokenMultiplierSetter, address _newTokenMultiplierSetter
);
Structs
Call
Represents a call to be made during multicall.
struct Call {
address target;
uint256 value;
bytes data;
}
Properties
Name | Type | Description |
---|---|---|
target | address | The address to which the call will be made. |
value | uint256 | The amount of Ether (in wei) to be sent along with the call. |
data | bytes | The calldata to be executed on the target address. |