Roles
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "Roles"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Roles"
ABI
ABI objects
Getter at block 21248080
avatar() view returns (address)
0x0000000000000000000000000000000000000001
owner() view returns (address)
0x0000000000000000000000000000000000000001
target() view returns (address)
0x0000000000000000000000000000000000000001
Read-only
allowances(bytes32) view returns (uint128 refill, uint128 maxRefill, uint64 period, uint128 balance, uint64 timestamp)
consumed(address, bytes32) view returns (bool)
defaultRoles(address) view returns (bytes32)
getModulesPaginated(address start, uint256 pageSize) view returns (address[] array, address next)
isModuleEnabled(address _module) view returns (bool)
moduleTxHash(bytes data, bytes32 salt) view returns (bytes32)
unwrappers(bytes32) view returns (address)
State-modifying
Events allowFunction(bytes32 roleKey, address targetAddress, bytes4 selector, uint8 options)
allowTarget(bytes32 roleKey, address targetAddress, uint8 options)
assignRoles(address module, bytes32[] roleKeys, bool[] memberOf)
disableModule(address prevModule, address module)
enableModule(address module)
execTransactionFromModule(address to, uint256 value, bytes data, uint8 operation) returns (bool success)
execTransactionFromModuleReturnData(address to, uint256 value, bytes data, uint8 operation) returns (bool success, bytes returnData)
execTransactionWithRole(address to, uint256 value, bytes data, uint8 operation, bytes32 roleKey, bool shouldRevert) returns (bool success)
execTransactionWithRoleReturnData(address to, uint256 value, bytes data, uint8 operation, bytes32 roleKey, bool shouldRevert) returns (bool success, bytes returnData)
invalidate(bytes32 hash)
renounceOwnership()
revokeFunction(bytes32 roleKey, address targetAddress, bytes4 selector)
revokeTarget(bytes32 roleKey, address targetAddress)
scopeFunction(bytes32 roleKey, address targetAddress, bytes4 selector, struct ConditionFlat[] conditions, uint8 options)
scopeTarget(bytes32 roleKey, address targetAddress)
setAllowance(bytes32 key, uint128 balance, uint128 maxRefill, uint128 refill, uint64 period, uint64 timestamp)
setAvatar(address _avatar)
setDefaultRole(address module, bytes32 roleKey)
setTarget(address _target)
setTransactionUnwrapper(address to, bytes4 selector, address adapter)
setUp(bytes initParams)
transferOwnership(address newOwner)
AllowFunction(bytes32 roleKey, address targetAddress, bytes4 selector, uint8 options)
AllowTarget(bytes32 roleKey, address targetAddress, uint8 options)
AssignRoles(address module, bytes32[] roleKeys, bool[] memberOf)
AvatarSet(address indexed previousAvatar, address indexed newAvatar)
ConsumeAllowance(bytes32 allowanceKey, uint128 consumed, uint128 newBalance)
DisabledModule(address module)
EnabledModule(address module)
ExecutionFromModuleFailure(address indexed module)
ExecutionFromModuleSuccess(address indexed module)
HashExecuted(bytes32 arg0)
HashInvalidated(bytes32 arg0)
Initialized(uint64 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RevokeFunction(bytes32 roleKey, address targetAddress, bytes4 selector)
RevokeTarget(bytes32 roleKey, address targetAddress)
RolesModSetup(address indexed initiator, address indexed owner, address indexed avatar, address target)
ScopeFunction(bytes32 roleKey, address targetAddress, bytes4 selector, struct ConditionFlat[] conditions, uint8 options)
ScopeTarget(bytes32 roleKey, address targetAddress)
SetAllowance(bytes32 allowanceKey, uint128 balance, uint128 maxRefill, uint128 refill, uint64 period, uint64 timestamp)
SetDefaultRole(address module, bytes32 defaultRoleKey)
SetUnwrapAdapter(address to, bytes4 selector, address adapter)
TargetSet(address indexed previousTarget, address indexed newTarget)
constructor(address _owner, address _avatar, address _target)
This contract contains no fallback and receive objects.
AlreadyDisabledModule(address module)
AlreadyEnabledModule(address module)
ArraysDifferentLength()
CalldataOutOfBounds()
ConditionViolation(uint8 status, bytes32 info)
FunctionSignatureTooShort()
HashAlreadyConsumed(bytes32 arg0)
InvalidInitialization()
InvalidModule(address module)
InvalidPageSize()
MalformedMultiEntrypoint()
ModuleTransactionFailed()
NoMembership()
NotAuthorized(address sender)
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
SetupModulesAlreadyCalled()