-
Notifications
You must be signed in to change notification settings - Fork 2
/
IMultiAccount.sol
25 lines (24 loc) · 1.32 KB
/
IMultiAccount.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// SPDX-License-Identifier: SYMM-Core-Business-Source-License-1.1
// This contract is licensed under the SYMM Core Business Source License 1.1
// Copyright (c) 2023 Symmetry Labs AG
// For more information, see https://docs.symm.io/legal-disclaimer/license
pragma solidity >=0.8.18;
interface IMultiAccount {
struct Account {
address accountAddress;
string name;
}
event SetAccountImplementation(bytes oldAddress, bytes newAddress);
event SetSymmioAddress(address oldAddress, address newAddress);
event DeployContract(address sender, address contractAddress);
event AddAccount(address user, address account, string name);
event EditAccountName(address user, address account, string newName);
event DepositForAccount(address user, address account, uint256 amount);
event AllocateForAccount(address user, address account, uint256 amount);
event WithdrawFromAccount(address user, address account, uint256 amount);
event Call(address user, address account, bytes _callData, bool _success, bytes _resultData);
event DelegateAccess(address account, address target, bytes4 selector, bool state);
event DelegateAccesses(address account, address target, bytes4[] selector, bool state);
event ProposeToRevokeAccesses(address account, address target, bytes4[] selector);
event SetRevokeCooldown(uint256 oldCooldown, uint256 newCooldown);
}