|
1 | 1 | [ |
2 | 2 | "constructor()", |
3 | 3 | "function addImplementation((bytes32 contractId, address implementation, uint8 implementationType, uint8 createHook, bytes createHookData) config, bool isDefault)", |
4 | | - "function buyAsset(address asset, (address recipient, address referrer, address tokenIn, uint256 amountIn, uint256 minAmountOut, uint256 deadline, bytes hookData) params) payable returns (uint256 amountIn, uint256 amountOut)", |
| 4 | + "function buy(address asset, (address recipient, address referrer, address tokenIn, uint256 amountIn, uint256 minAmountOut, uint256 deadline, bytes hookData) params) payable returns (uint256 amountIn, uint256 amountOut)", |
5 | 5 | "function cancelOwnershipHandover() payable", |
6 | 6 | "function claimReward(address asset)", |
7 | 7 | "function completeOwnershipHandover(address pendingOwner) payable", |
8 | | - "function createAsset(address creator, (uint256 amount, address referrer, bytes32 salt, bytes data, bytes hookData) createParams) returns (address asset)", |
9 | | - "function createAssetById(bytes32 contractId, address creator, (uint256 amount, address referrer, bytes32 salt, bytes data, bytes hookData) params) returns (address asset)", |
10 | | - "function createAssetByImplementationConfig((bytes32 contractId, address implementation, uint8 implementationType, uint8 createHook, bytes createHookData) config, address creator, (uint256 amount, address referrer, bytes32 salt, bytes data, bytes hookData) params) returns (address asset)", |
11 | | - "function decodeOwnerFromInitData(bytes data) pure returns (address owner)", |
12 | | - "function distributeAsset(address asset, (uint256 amount, address recipient)[] contents) payable", |
| 8 | + "function create(address creator, (address referrer, bytes32 salt, bytes data, bytes hookData) createParams) payable returns (address asset)", |
| 9 | + "function createById(bytes32 contractId, address creator, (address referrer, bytes32 salt, bytes data, bytes hookData) params) payable returns (address asset)", |
| 10 | + "function createByImplementationConfig((bytes32 contractId, address implementation, uint8 implementationType, uint8 createHook, bytes createHookData) config, address creator, (address referrer, bytes32 salt, bytes data, bytes hookData) params) payable returns (address asset)", |
| 11 | + "function distribute(address asset, (uint256 amount, address recipient)[] contents) payable", |
13 | 12 | "function getAirdrop() view returns (address airdrop)", |
14 | 13 | "function getImplementation(bytes32 contractId) view returns ((bytes32 contractId, address implementation, uint8 implementationType, uint8 createHook, bytes createHookData) config)", |
15 | 14 | "function getReward(address asset) view returns ((address positionManager, uint256 tokenId, address recipient, address referrer, uint16 referrerBps))", |
16 | 15 | "function getRewardLocker() view returns (address rewardLocker)", |
17 | 16 | "function getRouter() view returns (address router)", |
18 | 17 | "function guardSalt(bytes32 salt, address creator, bytes contractInitData, bytes hookInitData) view returns (bytes32)", |
19 | 18 | "function initialize(address owner, address router, address rewardLocker, address airdrop)", |
20 | | - "function listAsset(address asset, (address tokenOut, uint256 pricePerUnit, uint8 priceDenominator, uint256 totalSupply, uint48 startTime, uint48 endTime, address hook, bytes createHookData) params) returns (address sale, address position, uint256 positionId)", |
21 | 19 | "function owner() view returns (address result)", |
22 | 20 | "function ownershipHandoverExpiresAt(address pendingOwner) view returns (uint256 result)", |
23 | | - "function predictAssetAddress(bytes32 contractId, address creator, (uint256 amount, address referrer, bytes32 salt, bytes data, bytes hookData) params) view returns (address predicted)", |
24 | | - "function predictAssetAddressByConfig((bytes32 contractId, address implementation, uint8 implementationType, uint8 createHook, bytes createHookData) config, address creator, (uint256 amount, address referrer, bytes32 salt, bytes data, bytes hookData) params) view returns (address predicted)", |
| 21 | + "function predictAddress(bytes32 contractId, address creator, (address referrer, bytes32 salt, bytes data, bytes hookData) params) view returns (address predicted)", |
| 22 | + "function predictAddressByConfig((bytes32 contractId, address implementation, uint8 implementationType, uint8 createHook, bytes createHookData) config, address creator, (address referrer, bytes32 salt, bytes data, bytes hookData) params) view returns (address predicted)", |
25 | 23 | "function proxiableUUID() view returns (bytes32)", |
26 | 24 | "function renounceOwnership() payable", |
27 | 25 | "function requestOwnershipHandover() payable", |
28 | | - "function sellAsset(address asset, (address recipient, address tokenOut, uint256 amountIn, uint256 minAmountOut, uint256 deadline, bytes hookData) params) returns (uint256 amountIn, uint256 amountOut)", |
| 26 | + "function sell(address asset, (address recipient, address tokenOut, uint256 amountIn, uint256 minAmountOut, uint256 deadline, bytes hookData) params) returns (uint256 amountIn, uint256 amountOut)", |
29 | 27 | "function setAirdrop(address airdrop)", |
30 | 28 | "function setRewardLocker(address rewardLocker)", |
31 | 29 | "function setRouter(address router)", |
32 | 30 | "function transferOwnership(address newOwner) payable", |
33 | 31 | "function upgradeToAndCall(address newImplementation, bytes data) payable", |
34 | 32 | "event AirdropUpdated(address airdrop)", |
35 | | - "event AssetCreated(bytes32 contractId, address indexed creator, address indexed asset, address referrer, bytes aux)", |
36 | | - "event AssetDistributed(address asset, uint256 recipientCount, uint256 totalAmount)", |
37 | | - "event AssetRewardClaimed(address asset, address claimer)", |
| 33 | + "event Created(bytes32 contractId, address indexed creator, address indexed asset, address referrer, bytes aux)", |
| 34 | + "event Distributed(address asset, uint256 recipientCount, uint256 totalAmount)", |
38 | 35 | "event ImplementationAdded(bytes32 contractId, address indexed implementation, uint8 implementationType, uint8 createHook, bytes createHookData)", |
39 | 36 | "event Initialized(uint64 version)", |
40 | 37 | "event OwnershipHandoverCanceled(address indexed pendingOwner)", |
41 | 38 | "event OwnershipHandoverRequested(address indexed pendingOwner)", |
42 | 39 | "event OwnershipTransferred(address indexed oldOwner, address indexed newOwner)", |
| 40 | + "event RewardClaimed(address asset, address claimer)", |
43 | 41 | "event RewardLockerUpdated(address locker)", |
44 | 42 | "event RouterUpdated(address router)", |
45 | 43 | "event Upgraded(address indexed implementation)", |
46 | 44 | "error AlreadyInitialized()", |
47 | 45 | "error ArrayLengthMismatch()", |
48 | | - "error AssetNotRegistered()", |
49 | | - "error CreateHookFailed()", |
50 | | - "error CreateHookReverted(string reason)", |
51 | 46 | "error ImplementationAlreadyExists()", |
| 47 | + "error InvalidAmount()", |
52 | 48 | "error InvalidContractId()", |
53 | 49 | "error InvalidCreateHook()", |
54 | 50 | "error InvalidCreator()", |
55 | | - "error InvalidDeploymentArgs()", |
| 51 | + "error InvalidDeploymentCall()", |
56 | 52 | "error InvalidImplementation()", |
57 | 53 | "error InvalidInitialization()", |
58 | | - "error InvalidInitializer()", |
| 54 | + "error InvalidPoolAmount()", |
59 | 55 | "error InvalidSaltFlags()", |
60 | 56 | "error InvalidValue()", |
61 | 57 | "error NewOwnerIsZeroAddress()", |
62 | 58 | "error NoHandoverRequest()", |
63 | 59 | "error NotInitializing()", |
| 60 | + "error NotRegistered()", |
64 | 61 | "error Unauthorized()", |
65 | 62 | "error UnauthorizedCallContext()", |
66 | 63 | "error UpgradeFailed()", |
|
0 commit comments