@pearldigital/p3-abis 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +17 -0
- package/README.md +50 -0
- package/package.json +37 -0
- package/src/IAbstractFeeModule.d.ts +252 -0
- package/src/IAbstractFeeModule.js +252 -0
- package/src/IAbstractTimelockUpgrade.d.ts +169 -0
- package/src/IAbstractTimelockUpgrade.js +169 -0
- package/src/IAbstractTreasuryManagerRestricted.d.ts +15 -0
- package/src/IAbstractTreasuryManagerRestricted.js +15 -0
- package/src/IAbstractTreasuryRestricted.d.ts +15 -0
- package/src/IAbstractTreasuryRestricted.js +15 -0
- package/src/IP3AgentLimitComplianceModule.d.ts +761 -0
- package/src/IP3AgentLimitComplianceModule.js +761 -0
- package/src/IP3AgenticRegistryManager.d.ts +2074 -0
- package/src/IP3AgenticRegistryManager.js +2074 -0
- package/src/IP3AttestationManager.d.ts +1347 -0
- package/src/IP3AttestationManager.js +1347 -0
- package/src/IP3BasicToken.d.ts +951 -0
- package/src/IP3BasicToken.js +951 -0
- package/src/IP3ComplianceFactory.d.ts +591 -0
- package/src/IP3ComplianceFactory.js +591 -0
- package/src/IP3ComplianceModule.d.ts +609 -0
- package/src/IP3ComplianceModule.js +609 -0
- package/src/IP3DepositToken.d.ts +1104 -0
- package/src/IP3DepositToken.js +1104 -0
- package/src/IP3DigitalSecurityToken.d.ts +1197 -0
- package/src/IP3DigitalSecurityToken.js +1197 -0
- package/src/IP3EIP3009.d.ts +586 -0
- package/src/IP3EIP3009.js +586 -0
- package/src/IP3ERC20ConverterManager.d.ts +867 -0
- package/src/IP3ERC20ConverterManager.js +867 -0
- package/src/IP3ERC8004Connector.d.ts +955 -0
- package/src/IP3ERC8004Connector.js +955 -0
- package/src/IP3FXSwap.d.ts +779 -0
- package/src/IP3FXSwap.js +779 -0
- package/src/IP3ModularCompliance.d.ts +771 -0
- package/src/IP3ModularCompliance.js +771 -0
- package/src/IP3ReputationComplianceModule.d.ts +691 -0
- package/src/IP3ReputationComplianceModule.js +691 -0
- package/src/IP3StablecoinSwap.d.ts +1082 -0
- package/src/IP3StablecoinSwap.js +1082 -0
- package/src/IP3StablecoinToken.d.ts +1127 -0
- package/src/IP3StablecoinToken.js +1127 -0
- package/src/IP3TokensFactory.d.ts +431 -0
- package/src/IP3TokensFactory.js +431 -0
- package/src/IP3TransferManager.d.ts +1234 -0
- package/src/IP3TransferManager.js +1234 -0
- package/src/IP3TreasuryManager.d.ts +1652 -0
- package/src/IP3TreasuryManager.js +1652 -0
- package/src/IP3YieldBearingStablecoinToken.d.ts +1163 -0
- package/src/IP3YieldBearingStablecoinToken.js +1163 -0
- package/src/IRecoveryVelocityComplianceModule.d.ts +1032 -0
- package/src/IRecoveryVelocityComplianceModule.js +1032 -0
- package/src/ISolvencyComplianceModule.d.ts +653 -0
- package/src/ISolvencyComplianceModule.js +653 -0
- package/src/index.d.ts +27 -0
- package/src/index.js +27 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright © 2026 Pearl Digital Issuance Company B.S.C.(c)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of the Frictionless protocol smart contracts
|
|
6
|
+
(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,
|
|
7
|
+
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
|
|
8
|
+
Software is furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies
|
|
11
|
+
or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
14
|
+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL PEARL DIGITAL
|
|
15
|
+
ISSUANCE COMPANY B.S.C.(c) OR ANY OF ITS SUBSIDIARIES BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
|
16
|
+
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
17
|
+
DEALINGS IN THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# @pearldigital/p3-abis
|
|
2
|
+
|
|
3
|
+
Generated ABI exports for the Pearl Path Protocol (P3) smart contracts.
|
|
4
|
+
|
|
5
|
+
This package is **auto-generated** from the Solidity interfaces in
|
|
6
|
+
[pearl-path-protocol](https://gitlab.com/pearl-digital/pearl-path-protocol)
|
|
7
|
+
on every tagged release. Do not edit the contents of `src/` by hand —
|
|
8
|
+
changes will be overwritten by the next CI build.
|
|
9
|
+
|
|
10
|
+
## Versioning
|
|
11
|
+
|
|
12
|
+
The package version matches the `pearl-path-protocol` git tag it was
|
|
13
|
+
built from. `@pearldigital/p3-abis@3.0.0` is generated from the
|
|
14
|
+
`3.0.0` tag of the protocol repo, with ABIs sourced from the
|
|
15
|
+
corresponding `forge build` artifacts.
|
|
16
|
+
|
|
17
|
+
## Install
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
pnpm add @pearldigital/p3-abis
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
import { P3TreasuryManagerABI } from "@pearldigital/p3-abis";
|
|
27
|
+
// or tree-shake-friendly per-contract imports:
|
|
28
|
+
import { abi as P3AgenticRegistryABI } from "@pearldigital/p3-abis/IP3AgenticRegistryManager";
|
|
29
|
+
|
|
30
|
+
import { createPublicClient, getContract, http } from "viem";
|
|
31
|
+
|
|
32
|
+
const client = createPublicClient({ transport: http(rpcUrl) });
|
|
33
|
+
const treasury = getContract({
|
|
34
|
+
address: treasuryAddress,
|
|
35
|
+
abi: P3TreasuryManagerABI,
|
|
36
|
+
client,
|
|
37
|
+
});
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## What's included
|
|
41
|
+
|
|
42
|
+
Every `IP3*.sol` interface under `contracts/interface/` is exported.
|
|
43
|
+
Implementation ABIs are intentionally not included — consumers should
|
|
44
|
+
bind to interfaces, not implementations, so contract upgrades do not
|
|
45
|
+
break downstream code.
|
|
46
|
+
|
|
47
|
+
## License
|
|
48
|
+
|
|
49
|
+
See the `LICENSE` file. Source-available under the Pearl Digital
|
|
50
|
+
Source-Available License v1.0.
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pearldigital/p3-abis",
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "Generated ABI exports for Pearl Path Protocol (P3) smart contracts",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "src/index.js",
|
|
7
|
+
"types": "src/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./src/index.d.ts",
|
|
11
|
+
"import": "./src/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./*": {
|
|
14
|
+
"types": "./src/*.d.ts",
|
|
15
|
+
"import": "./src/*.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"src",
|
|
20
|
+
"README.md",
|
|
21
|
+
"LICENSE"
|
|
22
|
+
],
|
|
23
|
+
"sideEffects": false,
|
|
24
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
25
|
+
"author": "Pearl Digital Issuance Company B.S.C.(c)",
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://gitlab.com/pearl-digital/pearl-path-protocol.git",
|
|
29
|
+
"directory": "packages/abis"
|
|
30
|
+
},
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
33
|
+
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=20"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
// Auto-generated by scripts/build-abis.mjs. Do not edit by hand.
|
|
2
|
+
export declare const abi: [
|
|
3
|
+
{
|
|
4
|
+
"type": "function",
|
|
5
|
+
"name": "calculateFeeAmount",
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"name": "tokensAmount_",
|
|
9
|
+
"type": "uint256",
|
|
10
|
+
"internalType": "uint256"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "feeInBps_",
|
|
14
|
+
"type": "uint256",
|
|
15
|
+
"internalType": "uint256"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"outputs": [
|
|
19
|
+
{
|
|
20
|
+
"name": "feeAmount_",
|
|
21
|
+
"type": "uint256",
|
|
22
|
+
"internalType": "uint256"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"stateMutability": "pure"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "function",
|
|
29
|
+
"name": "getFeeInBps",
|
|
30
|
+
"inputs": [
|
|
31
|
+
{
|
|
32
|
+
"name": "tokenFeeKey_",
|
|
33
|
+
"type": "bytes32",
|
|
34
|
+
"internalType": "bytes32"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"outputs": [
|
|
38
|
+
{
|
|
39
|
+
"name": "",
|
|
40
|
+
"type": "uint256",
|
|
41
|
+
"internalType": "uint256"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"stateMutability": "view"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "function",
|
|
48
|
+
"name": "getFeeInfo",
|
|
49
|
+
"inputs": [
|
|
50
|
+
{
|
|
51
|
+
"name": "feeKey_",
|
|
52
|
+
"type": "bytes32",
|
|
53
|
+
"internalType": "bytes32"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"outputs": [
|
|
57
|
+
{
|
|
58
|
+
"name": "",
|
|
59
|
+
"type": "tuple",
|
|
60
|
+
"internalType": "struct IAbstractFeeModule.FeeInfo",
|
|
61
|
+
"components": [
|
|
62
|
+
{
|
|
63
|
+
"name": "feeInBps",
|
|
64
|
+
"type": "uint96",
|
|
65
|
+
"internalType": "uint96"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "feeRecipientAddr",
|
|
69
|
+
"type": "address",
|
|
70
|
+
"internalType": "address"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"stateMutability": "view"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "function",
|
|
79
|
+
"name": "getFeeRecipient",
|
|
80
|
+
"inputs": [
|
|
81
|
+
{
|
|
82
|
+
"name": "tokenFeeKey_",
|
|
83
|
+
"type": "bytes32",
|
|
84
|
+
"internalType": "bytes32"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"outputs": [
|
|
88
|
+
{
|
|
89
|
+
"name": "",
|
|
90
|
+
"type": "address",
|
|
91
|
+
"internalType": "address"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"stateMutability": "view"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"type": "event",
|
|
98
|
+
"name": "P3DistributorFeeFallback",
|
|
99
|
+
"inputs": [
|
|
100
|
+
{
|
|
101
|
+
"name": "feeKey",
|
|
102
|
+
"type": "bytes32",
|
|
103
|
+
"indexed": true,
|
|
104
|
+
"internalType": "bytes32"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "distributorAddr",
|
|
108
|
+
"type": "address",
|
|
109
|
+
"indexed": false,
|
|
110
|
+
"internalType": "address"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "primaryRecipient",
|
|
114
|
+
"type": "address",
|
|
115
|
+
"indexed": false,
|
|
116
|
+
"internalType": "address"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "amount",
|
|
120
|
+
"type": "uint256",
|
|
121
|
+
"indexed": false,
|
|
122
|
+
"internalType": "uint256"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"anonymous": false
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": "event",
|
|
129
|
+
"name": "P3FeeSet",
|
|
130
|
+
"inputs": [
|
|
131
|
+
{
|
|
132
|
+
"name": "feeKey",
|
|
133
|
+
"type": "bytes32",
|
|
134
|
+
"indexed": true,
|
|
135
|
+
"internalType": "bytes32"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "feeInfo",
|
|
139
|
+
"type": "tuple",
|
|
140
|
+
"indexed": false,
|
|
141
|
+
"internalType": "struct IAbstractFeeModule.FeeInfo",
|
|
142
|
+
"components": [
|
|
143
|
+
{
|
|
144
|
+
"name": "feeInBps",
|
|
145
|
+
"type": "uint96",
|
|
146
|
+
"internalType": "uint96"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "feeRecipientAddr",
|
|
150
|
+
"type": "address",
|
|
151
|
+
"internalType": "address"
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"anonymous": false
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"type": "event",
|
|
160
|
+
"name": "P3FeeSplitConfigured",
|
|
161
|
+
"inputs": [
|
|
162
|
+
{
|
|
163
|
+
"name": "feeKey",
|
|
164
|
+
"type": "bytes32",
|
|
165
|
+
"indexed": true,
|
|
166
|
+
"internalType": "bytes32"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "config",
|
|
170
|
+
"type": "tuple",
|
|
171
|
+
"indexed": false,
|
|
172
|
+
"internalType": "struct IAbstractFeeModule.FeeSplitConfig",
|
|
173
|
+
"components": [
|
|
174
|
+
{
|
|
175
|
+
"name": "distributorShareBps",
|
|
176
|
+
"type": "uint96",
|
|
177
|
+
"internalType": "uint96"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "distributorRecipient",
|
|
181
|
+
"type": "address",
|
|
182
|
+
"internalType": "address"
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"anonymous": false
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"type": "event",
|
|
191
|
+
"name": "P3MaxDistributorSplitUpdated",
|
|
192
|
+
"inputs": [
|
|
193
|
+
{
|
|
194
|
+
"name": "oldMaxBps",
|
|
195
|
+
"type": "uint256",
|
|
196
|
+
"indexed": false,
|
|
197
|
+
"internalType": "uint256"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "newMaxBps",
|
|
201
|
+
"type": "uint256",
|
|
202
|
+
"indexed": false,
|
|
203
|
+
"internalType": "uint256"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"anonymous": false
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"type": "error",
|
|
210
|
+
"name": "AbstractFeeModuleDistributorSplitTooHigh",
|
|
211
|
+
"inputs": [
|
|
212
|
+
{
|
|
213
|
+
"name": "distributorShareBps",
|
|
214
|
+
"type": "uint256",
|
|
215
|
+
"internalType": "uint256"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "maxBps",
|
|
219
|
+
"type": "uint256",
|
|
220
|
+
"internalType": "uint256"
|
|
221
|
+
}
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"type": "error",
|
|
226
|
+
"name": "AbstractFeeModuleInvalidDistributorRecipient",
|
|
227
|
+
"inputs": [
|
|
228
|
+
{
|
|
229
|
+
"name": "distributorAddr",
|
|
230
|
+
"type": "address",
|
|
231
|
+
"internalType": "address"
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"type": "error",
|
|
237
|
+
"name": "AbstractFeeModuleInvalidFee",
|
|
238
|
+
"inputs": [
|
|
239
|
+
{
|
|
240
|
+
"name": "feeInBps",
|
|
241
|
+
"type": "uint256",
|
|
242
|
+
"internalType": "uint256"
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"type": "error",
|
|
248
|
+
"name": "AbstractFeeModuleInvalidFeeRecipient",
|
|
249
|
+
"inputs": []
|
|
250
|
+
}
|
|
251
|
+
] as const;
|
|
252
|
+
export default abi;
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
// Auto-generated by scripts/build-abis.mjs. Do not edit by hand.
|
|
2
|
+
export const abi = [
|
|
3
|
+
{
|
|
4
|
+
"type": "function",
|
|
5
|
+
"name": "calculateFeeAmount",
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"name": "tokensAmount_",
|
|
9
|
+
"type": "uint256",
|
|
10
|
+
"internalType": "uint256"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "feeInBps_",
|
|
14
|
+
"type": "uint256",
|
|
15
|
+
"internalType": "uint256"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"outputs": [
|
|
19
|
+
{
|
|
20
|
+
"name": "feeAmount_",
|
|
21
|
+
"type": "uint256",
|
|
22
|
+
"internalType": "uint256"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"stateMutability": "pure"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "function",
|
|
29
|
+
"name": "getFeeInBps",
|
|
30
|
+
"inputs": [
|
|
31
|
+
{
|
|
32
|
+
"name": "tokenFeeKey_",
|
|
33
|
+
"type": "bytes32",
|
|
34
|
+
"internalType": "bytes32"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"outputs": [
|
|
38
|
+
{
|
|
39
|
+
"name": "",
|
|
40
|
+
"type": "uint256",
|
|
41
|
+
"internalType": "uint256"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"stateMutability": "view"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "function",
|
|
48
|
+
"name": "getFeeInfo",
|
|
49
|
+
"inputs": [
|
|
50
|
+
{
|
|
51
|
+
"name": "feeKey_",
|
|
52
|
+
"type": "bytes32",
|
|
53
|
+
"internalType": "bytes32"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"outputs": [
|
|
57
|
+
{
|
|
58
|
+
"name": "",
|
|
59
|
+
"type": "tuple",
|
|
60
|
+
"internalType": "struct IAbstractFeeModule.FeeInfo",
|
|
61
|
+
"components": [
|
|
62
|
+
{
|
|
63
|
+
"name": "feeInBps",
|
|
64
|
+
"type": "uint96",
|
|
65
|
+
"internalType": "uint96"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "feeRecipientAddr",
|
|
69
|
+
"type": "address",
|
|
70
|
+
"internalType": "address"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"stateMutability": "view"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "function",
|
|
79
|
+
"name": "getFeeRecipient",
|
|
80
|
+
"inputs": [
|
|
81
|
+
{
|
|
82
|
+
"name": "tokenFeeKey_",
|
|
83
|
+
"type": "bytes32",
|
|
84
|
+
"internalType": "bytes32"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"outputs": [
|
|
88
|
+
{
|
|
89
|
+
"name": "",
|
|
90
|
+
"type": "address",
|
|
91
|
+
"internalType": "address"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"stateMutability": "view"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"type": "event",
|
|
98
|
+
"name": "P3DistributorFeeFallback",
|
|
99
|
+
"inputs": [
|
|
100
|
+
{
|
|
101
|
+
"name": "feeKey",
|
|
102
|
+
"type": "bytes32",
|
|
103
|
+
"indexed": true,
|
|
104
|
+
"internalType": "bytes32"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "distributorAddr",
|
|
108
|
+
"type": "address",
|
|
109
|
+
"indexed": false,
|
|
110
|
+
"internalType": "address"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "primaryRecipient",
|
|
114
|
+
"type": "address",
|
|
115
|
+
"indexed": false,
|
|
116
|
+
"internalType": "address"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "amount",
|
|
120
|
+
"type": "uint256",
|
|
121
|
+
"indexed": false,
|
|
122
|
+
"internalType": "uint256"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"anonymous": false
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": "event",
|
|
129
|
+
"name": "P3FeeSet",
|
|
130
|
+
"inputs": [
|
|
131
|
+
{
|
|
132
|
+
"name": "feeKey",
|
|
133
|
+
"type": "bytes32",
|
|
134
|
+
"indexed": true,
|
|
135
|
+
"internalType": "bytes32"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "feeInfo",
|
|
139
|
+
"type": "tuple",
|
|
140
|
+
"indexed": false,
|
|
141
|
+
"internalType": "struct IAbstractFeeModule.FeeInfo",
|
|
142
|
+
"components": [
|
|
143
|
+
{
|
|
144
|
+
"name": "feeInBps",
|
|
145
|
+
"type": "uint96",
|
|
146
|
+
"internalType": "uint96"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "feeRecipientAddr",
|
|
150
|
+
"type": "address",
|
|
151
|
+
"internalType": "address"
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"anonymous": false
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"type": "event",
|
|
160
|
+
"name": "P3FeeSplitConfigured",
|
|
161
|
+
"inputs": [
|
|
162
|
+
{
|
|
163
|
+
"name": "feeKey",
|
|
164
|
+
"type": "bytes32",
|
|
165
|
+
"indexed": true,
|
|
166
|
+
"internalType": "bytes32"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "config",
|
|
170
|
+
"type": "tuple",
|
|
171
|
+
"indexed": false,
|
|
172
|
+
"internalType": "struct IAbstractFeeModule.FeeSplitConfig",
|
|
173
|
+
"components": [
|
|
174
|
+
{
|
|
175
|
+
"name": "distributorShareBps",
|
|
176
|
+
"type": "uint96",
|
|
177
|
+
"internalType": "uint96"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "distributorRecipient",
|
|
181
|
+
"type": "address",
|
|
182
|
+
"internalType": "address"
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"anonymous": false
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"type": "event",
|
|
191
|
+
"name": "P3MaxDistributorSplitUpdated",
|
|
192
|
+
"inputs": [
|
|
193
|
+
{
|
|
194
|
+
"name": "oldMaxBps",
|
|
195
|
+
"type": "uint256",
|
|
196
|
+
"indexed": false,
|
|
197
|
+
"internalType": "uint256"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "newMaxBps",
|
|
201
|
+
"type": "uint256",
|
|
202
|
+
"indexed": false,
|
|
203
|
+
"internalType": "uint256"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"anonymous": false
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"type": "error",
|
|
210
|
+
"name": "AbstractFeeModuleDistributorSplitTooHigh",
|
|
211
|
+
"inputs": [
|
|
212
|
+
{
|
|
213
|
+
"name": "distributorShareBps",
|
|
214
|
+
"type": "uint256",
|
|
215
|
+
"internalType": "uint256"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "maxBps",
|
|
219
|
+
"type": "uint256",
|
|
220
|
+
"internalType": "uint256"
|
|
221
|
+
}
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"type": "error",
|
|
226
|
+
"name": "AbstractFeeModuleInvalidDistributorRecipient",
|
|
227
|
+
"inputs": [
|
|
228
|
+
{
|
|
229
|
+
"name": "distributorAddr",
|
|
230
|
+
"type": "address",
|
|
231
|
+
"internalType": "address"
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"type": "error",
|
|
237
|
+
"name": "AbstractFeeModuleInvalidFee",
|
|
238
|
+
"inputs": [
|
|
239
|
+
{
|
|
240
|
+
"name": "feeInBps",
|
|
241
|
+
"type": "uint256",
|
|
242
|
+
"internalType": "uint256"
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"type": "error",
|
|
248
|
+
"name": "AbstractFeeModuleInvalidFeeRecipient",
|
|
249
|
+
"inputs": []
|
|
250
|
+
}
|
|
251
|
+
];
|
|
252
|
+
export default abi;
|