ocean-contracts 2.3.1__py3-none-any.whl → 2.4.1__py3-none-any.whl

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.
artifacts/IERC20.json CHANGED
@@ -1,164 +1,21 @@
1
1
  {
2
2
  "_format": "hh-sol-artifact-1",
3
3
  "contractName": "IERC20",
4
- "sourceName": "contracts/interfaces/IERC20.sol",
4
+ "sourceName": "contracts/rewards/BatchPayments.sol",
5
5
  "abi": [
6
6
  {
7
- "anonymous": false,
8
7
  "inputs": [
9
8
  {
10
- "indexed": true,
11
- "internalType": "address",
12
- "name": "owner",
13
- "type": "address"
14
- },
15
- {
16
- "indexed": true,
17
- "internalType": "address",
18
- "name": "spender",
19
- "type": "address"
20
- },
21
- {
22
- "indexed": false,
23
- "internalType": "uint256",
24
- "name": "value",
25
- "type": "uint256"
26
- }
27
- ],
28
- "name": "Approval",
29
- "type": "event"
30
- },
31
- {
32
- "anonymous": false,
33
- "inputs": [
34
- {
35
- "indexed": true,
36
- "internalType": "address",
37
- "name": "from",
38
- "type": "address"
39
- },
40
- {
41
- "indexed": true,
42
9
  "internalType": "address",
43
10
  "name": "to",
44
11
  "type": "address"
45
12
  },
46
13
  {
47
- "indexed": false,
48
14
  "internalType": "uint256",
49
15
  "name": "value",
50
16
  "type": "uint256"
51
17
  }
52
18
  ],
53
- "name": "Transfer",
54
- "type": "event"
55
- },
56
- {
57
- "inputs": [
58
- {
59
- "internalType": "address",
60
- "name": "owner",
61
- "type": "address"
62
- },
63
- {
64
- "internalType": "address",
65
- "name": "spender",
66
- "type": "address"
67
- }
68
- ],
69
- "name": "allowance",
70
- "outputs": [
71
- {
72
- "internalType": "uint256",
73
- "name": "",
74
- "type": "uint256"
75
- }
76
- ],
77
- "stateMutability": "view",
78
- "type": "function"
79
- },
80
- {
81
- "inputs": [
82
- {
83
- "internalType": "address",
84
- "name": "spender",
85
- "type": "address"
86
- },
87
- {
88
- "internalType": "uint256",
89
- "name": "amount",
90
- "type": "uint256"
91
- }
92
- ],
93
- "name": "approve",
94
- "outputs": [
95
- {
96
- "internalType": "bool",
97
- "name": "",
98
- "type": "bool"
99
- }
100
- ],
101
- "stateMutability": "nonpayable",
102
- "type": "function"
103
- },
104
- {
105
- "inputs": [
106
- {
107
- "internalType": "address",
108
- "name": "account",
109
- "type": "address"
110
- }
111
- ],
112
- "name": "balanceOf",
113
- "outputs": [
114
- {
115
- "internalType": "uint256",
116
- "name": "",
117
- "type": "uint256"
118
- }
119
- ],
120
- "stateMutability": "view",
121
- "type": "function"
122
- },
123
- {
124
- "inputs": [],
125
- "name": "decimals",
126
- "outputs": [
127
- {
128
- "internalType": "uint8",
129
- "name": "",
130
- "type": "uint8"
131
- }
132
- ],
133
- "stateMutability": "view",
134
- "type": "function"
135
- },
136
- {
137
- "inputs": [],
138
- "name": "totalSupply",
139
- "outputs": [
140
- {
141
- "internalType": "uint256",
142
- "name": "",
143
- "type": "uint256"
144
- }
145
- ],
146
- "stateMutability": "view",
147
- "type": "function"
148
- },
149
- {
150
- "inputs": [
151
- {
152
- "internalType": "address",
153
- "name": "recipient",
154
- "type": "address"
155
- },
156
- {
157
- "internalType": "uint256",
158
- "name": "amount",
159
- "type": "uint256"
160
- }
161
- ],
162
19
  "name": "transfer",
163
20
  "outputs": [
164
21
  {
@@ -174,17 +31,17 @@
174
31
  "inputs": [
175
32
  {
176
33
  "internalType": "address",
177
- "name": "sender",
34
+ "name": "from",
178
35
  "type": "address"
179
36
  },
180
37
  {
181
38
  "internalType": "address",
182
- "name": "recipient",
39
+ "name": "to",
183
40
  "type": "address"
184
41
  },
185
42
  {
186
43
  "internalType": "uint256",
187
- "name": "amount",
44
+ "name": "value",
188
45
  "type": "uint256"
189
46
  }
190
47
  ],
@@ -0,0 +1,54 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IEnterpriseFeeCollector",
4
+ "sourceName": "contracts/interfaces/IEnterpriseFeeCollector.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "baseTokenAddress",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "uint256",
15
+ "name": "amount",
16
+ "type": "uint256"
17
+ }
18
+ ],
19
+ "name": "calculateFee",
20
+ "outputs": [
21
+ {
22
+ "internalType": "uint256",
23
+ "name": "",
24
+ "type": "uint256"
25
+ }
26
+ ],
27
+ "stateMutability": "view",
28
+ "type": "function"
29
+ },
30
+ {
31
+ "inputs": [
32
+ {
33
+ "internalType": "address",
34
+ "name": "tokenAddress",
35
+ "type": "address"
36
+ }
37
+ ],
38
+ "name": "isTokenAllowed",
39
+ "outputs": [
40
+ {
41
+ "internalType": "bool",
42
+ "name": "",
43
+ "type": "bool"
44
+ }
45
+ ],
46
+ "stateMutability": "view",
47
+ "type": "function"
48
+ }
49
+ ],
50
+ "bytecode": "0x",
51
+ "deployedBytecode": "0x",
52
+ "linkReferences": {},
53
+ "deployedLinkReferences": {}
54
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ocean-contracts
3
- Version: 2.3.1
3
+ Version: 2.4.1
4
4
  Summary: 🐳 Ocean Protocol L1 - v4
5
5
  Home-page: https://github.com/oceanprotocol/contracts
6
6
  Author: leucothia
@@ -1,5 +1,5 @@
1
1
  addresses/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- addresses/address.json,sha256=enwf8MBsJR9HmPUActDW3Z6D4Kl10M9ixrRsTaanXlk,18018
2
+ addresses/address.json,sha256=rxyrVOmiwyy74soUikae9YAFU_j2_D314UUw3rFiSjY,19038
3
3
  artifacts/AccessList.json,sha256=ZAQWWkYIKtXffQsd2PaFh8Amg8mfg9kkSr8-wDRoRjE,51865
4
4
  artifacts/AccessListFactory.json,sha256=zL4DwzaPj29HbE-Mfraf6xynjLeqdEKlBW3hvfhEv54,16700
5
5
  artifacts/Address.json,sha256=tssTaRdkpkBsVnWVv-gcivrC1A22D31wSQ-38w-yKiU,691
@@ -27,20 +27,22 @@ artifacts/ERC20TemplateEnterprise.json,sha256=rN8_8Sqlpujbn5mw8uH5cJ6T6AaPflWZFM
27
27
  artifacts/ERC721.json,sha256=j9W1Lxvw05dcrhBbcqKYEW3qXp6KS8eijx-46kV9Ztc,21917
28
28
  artifacts/ERC721Factory.json,sha256=VkteXOpvmJutYqUfiBpBEBV8q57VI3IMmvMIqjLTdzo,106683
29
29
  artifacts/ERC721RolesAddress.json,sha256=44T7Dda2K0pytws9XF-67_c0lrIfNm8OoTUqnWs6a-0,27611
30
- artifacts/ERC721Template.json,sha256=EAyj2T01dLvHUMrkCBHsX57ByWcHqF6SlLva4vRtg6U,124832
31
- artifacts/ERC725Ocean.json,sha256=FpuKKBTUU6I2hXwkGAowBkQg5-6riDDAAXKS2jzkItk,5227
30
+ artifacts/ERC721Template.json,sha256=gNwGDZe0P94xM9EsuJSrWeXbxOK-lLfhkm6XNGRB6MQ,124804
31
+ artifacts/ERC725Ocean.json,sha256=qADmMbCrF6nnYH3DBeR6tZsIZvsDXir3cp0pS7jBQIA,5227
32
+ artifacts/EnterpriseFeeCollector.json,sha256=GPkOqmlNlZgmSxoJ2e6rKuS_gR58uOZ1VlPAyEK5NXU,21613
32
33
  artifacts/EnumerableMap.json,sha256=6mNXnQ6xrrML3ARhcczGt0Adm6tjJNkEbroywP2SXxw,703
33
34
  artifacts/EnumerableSet.json,sha256=Z33HpyiFibyvY1vZxTzGPygtegrTdZprYxaxywlI0HA,703
34
- artifacts/Escrow.json,sha256=QcyBzuSm31WYD4Q5VOGW21nT1YIFjvxfG3sXli2F1oE,79275
35
+ artifacts/Escrow.json,sha256=Z6AbQCMnOrmdfzGYYfCJ0e3srMXHumbAxX4-ScZSlac,87126
35
36
  artifacts/FactoryRouter.json,sha256=y_G_CXlcaJvk7CQ8jtc4MKNHeh-Fm7uxImRz7r-WYMI,108738
36
37
  artifacts/FixedRateExchange.json,sha256=YMw6j0NgyBLZ83nHlykqUTI4p5QPVbj_LYaFHUoWRLY,93761
38
+ artifacts/FixedRateExchangeEnterprise.json,sha256=tWnnQLahTS4py6jtEachycmsDLMCQ2wuS7cLm2-HqZ0,103030
37
39
  artifacts/IAccessList.json,sha256=2SHDeP8dsAeru2B87bI9b66NNZZjcp51Xgbp_snkVuY,1406
38
40
  artifacts/IAccessListContract.json,sha256=0eZiMNXZeNeQ9V40WMaPVK9UofUkr1hwE5wVUQ4kaKU,634
39
41
  artifacts/IAccessListFactory.json,sha256=JSIxOX92criYEetBhnnf6slhllHWVPNHTDiqI7zZjqU,979
40
42
  artifacts/IDFRewards.json,sha256=vhbVHUlInecQNXt5NqpSinfJGTTbLcZEKTllM1NH708,3730
41
43
  artifacts/IDispenser.json,sha256=GLYSCFxcJ3AOTeJiZ8bXL6cevHMrhkwmUAYy2D-QGIE,4232
42
44
  artifacts/IERC165.json,sha256=GgImkcueprmmTy_cmaMSkjHuqX0mOEwBS0gH47m6S60,617
43
- artifacts/IERC20.json,sha256=sgpZ02ACkgJZr8N9tfLoAT2W59l2ysPfS9EHg1Jnodo,4247
45
+ artifacts/IERC20.json,sha256=KXimgzzTKZ3O57-KUXENGPooipptPR3iqAX30DAMank,1317
44
46
  artifacts/IERC20Template.json,sha256=JhjWbTgPQ4wqmuzBQZXPqwfIWWhBxAu0A3O-lDMiIVs,17955
45
47
  artifacts/IERC20Template3.json,sha256=FBkXEy4AJ9h36e4ViXaGxtBLlDaXXqy-pNCWq--2f6U,22154
46
48
  artifacts/IERC721.json,sha256=ePt_6UwimaHFtGuHBMOCvkJ8IEr2Ipdld3yGR0wTOGA,4615
@@ -50,6 +52,7 @@ artifacts/IERC721Receiver.json,sha256=9UUSONfj3KOsV6epwSFHjGRmVzFRDmpzb1gqanEc3f
50
52
  artifacts/IERC721Template.json,sha256=L6p2tKO3WX3jp2YfxZ-Kz49MPGY6bYl6vsr0wLY2T3I,15959
51
53
  artifacts/IERC725X.json,sha256=vcE7PeePzuBwzfxYsI1iYjCR5CyRrOYmKoD3GK397Zw,1183
52
54
  artifacts/IERC725Y.json,sha256=U8nNZqzpCozQlTZt76r6IEIf5yj2RFNrdQ7zLWOJZQw,999
55
+ artifacts/IEnterpriseFeeCollector.json,sha256=O8-v3CBfZHTmkpN8ZllGHAvm3DPmITSFeHDG82vKjG8,1147
53
56
  artifacts/IFactory.json,sha256=fWPaIiWJaUuzweRaZ5g7CM7dN7eblE5qw2irv8WYolk,13108
54
57
  artifacts/IFactoryRouter.json,sha256=VVslMuJ_BNQX5Ocm9yEUE3-jQyyKpcMk9Nl0k36Txro,10207
55
58
  artifacts/IFixedRateExchange.json,sha256=-3BYD6ARgc8coMwJlMM7iaDmCEeKWnURLs2MIy0c19c,10345
@@ -82,7 +85,7 @@ artifacts/veFeeDistributor.json,sha256=tMEq3ifjXUL20omsA2HZBVq2OMWTboiWjYnB2ULt9
82
85
  artifacts/veFeeDistributorOwner.json,sha256=_YmpseEGO9iehj7jsHZ_tKfoHn7tSkCDYdeLXRvODpE,18279
83
86
  artifacts/veFeeEstimate.json,sha256=y2nVTf_WoO4lq33CTpoKw_bgwiauut-NnJZUDeXfSzk,14648
84
87
  artifacts/veOCEAN.json,sha256=y7shCpV2_wu5l5ke5Jl5RXcIrfnKIcVlHNSnBLLRCdE,65773
85
- ocean_contracts-2.3.1.dist-info/METADATA,sha256=WJ6p_48nxo4Z6_0jPJtmFFnQQGroeqsFMHhnL7NwOMY,5540
86
- ocean_contracts-2.3.1.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
87
- ocean_contracts-2.3.1.dist-info/top_level.txt,sha256=_iXuRoP5-QwLfapzrF8ti449ScRELwyqHevPSQskcRc,20
88
- ocean_contracts-2.3.1.dist-info/RECORD,,
88
+ ocean_contracts-2.4.1.dist-info/METADATA,sha256=RAoNj5D913b8hI34NQfvF_Frg9PLugFC8vSoN54zQmo,5540
89
+ ocean_contracts-2.4.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
90
+ ocean_contracts-2.4.1.dist-info/top_level.txt,sha256=_iXuRoP5-QwLfapzrF8ti449ScRELwyqHevPSQskcRc,20
91
+ ocean_contracts-2.4.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.8.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5