Skip to content

Commit

Permalink
Merge pull request #3 from blooo-io/fix/running-validate-file-script
Browse files Browse the repository at this point in the history
fix: ran validate_file script
  • Loading branch information
GuilaneDen authored Nov 28, 2024
2 parents 3cdacd9 + 53f5bd0 commit 6cfa968
Show file tree
Hide file tree
Showing 19 changed files with 10,436 additions and 10,180 deletions.
2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ name = "pypi"

[packages]
jsonschema = "*"
eth-utils = "*"
eth-hash = {extras = ["pycryptodome"], version = "*"}

[dev-packages]
eth-hash = {version = "*", extras = ["pycryptodome"]}
Expand Down
176 changes: 175 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

87 changes: 45 additions & 42 deletions arbitrum/1inch/b2c.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
{
"blockchainName": "arbitrum",
"chainId": 42161,
"contracts": [
{
"address": "0x11111112542d85b3ef69ae05771c2dccff4faa26",
"contractName": "AggregationRouterV3",
"selectors": {
"0x7c025200": {
"0x2e95b6c8": {
"erc20OfInterest": [
"desc.srcToken",
"desc.dstToken"
"srcToken"
],
"method": "swap",
"method": "unoswap",
"plugin": "1inch"
},
"0x2e95b6c8": {
"0x7c025200": {
"erc20OfInterest": [
"srcToken"
"desc.srcToken",
"desc.dstToken"
],
"method": "unoswap",
"method": "swap",
"plugin": "1inch"
}
}
Expand All @@ -26,12 +27,11 @@
"address": "0x1111111254fb6c44bac0bed2854e76f90643097d",
"contractName": "AggregationRouterV4",
"selectors": {
"0x7c025200": {
"0x2521b930": {
"erc20OfInterest": [
"desc.srcToken",
"desc.dstToken"
"srcToken"
],
"method": "swap",
"method": "uniswapV3SwapToWithPermit",
"plugin": "1inch"
},
"0x2e95b6c8": {
Expand All @@ -41,21 +41,24 @@
"method": "unoswap",
"plugin": "1inch"
},
"0xa1251d75": {
"erc20OfInterest": ["srcToken"],
"method": "unoswapWithPermit",
"0x4cc4a27b": {
"erc20OfInterest": [],
"method": "fillOrderRFQToWithPermit",
"plugin": "1inch"
},
"0xe449022e": {
"erc20OfInterest": [],
"method": "uniswapV3Swap",
"0x7c025200": {
"erc20OfInterest": [
"desc.srcToken",
"desc.dstToken"
],
"method": "swap",
"plugin": "1inch"
},
"0x2521b930": {
"0xa1251d75": {
"erc20OfInterest": [
"srcToken"
],
"method": "uniswapV3SwapToWithPermit",
"method": "unoswapWithPermit",
"plugin": "1inch"
},
"0xbc80f1a8": {
Expand All @@ -68,9 +71,9 @@
"method": "fillOrderRFQ",
"plugin": "1inch"
},
"0x4cc4a27b": {
"0xe449022e": {
"erc20OfInterest": [],
"method": "fillOrderRFQToWithPermit",
"method": "uniswapV3Swap",
"plugin": "1inch"
}
}
Expand All @@ -79,6 +82,13 @@
"address": "0x1111111254eeb25477b68fb85ed929f73a960582",
"contractName": "AggregationRouterV5",
"selectors": {
"0x0502b1c5": {
"erc20OfInterest": [
"srcToken"
],
"method": "unoswap",
"plugin": "1inch"
},
"0x12aa3caf": {
"erc20OfInterest": [
"desc.srcToken",
Expand All @@ -87,18 +97,27 @@
"method": "swap",
"plugin": "1inch"
},
"0x0502b1c5": {
"0x3c15fd91": {
"erc20OfInterest": [
"srcToken"
],
"method": "unoswap",
"method": "unoswapToWithPermit",
"plugin": "1inch"
},
"0x3c15fd91": {
"0x3eca9c0a": {
"erc20OfInterest": [
"srcToken"
"order.makerAsset",
"order.takerAsset"
],
"method": "unoswapToWithPermit",
"method": "fillOrderRFQ",
"plugin": "1inch"
},
"0x70ccbd31": {
"erc20OfInterest": [
"order.makerAsset",
"order.takerAsset"
],
"method": "fillOrderRFQToWithPermit",
"plugin": "1inch"
},
"0x84bd6d29": {
Expand All @@ -116,22 +135,6 @@
],
"method": "clipperSwapToWithPermit",
"plugin": "1inch"
},
"0x3eca9c0a": {
"erc20OfInterest": [
"order.makerAsset",
"order.takerAsset"
],
"method": "fillOrderRFQ",
"plugin": "1inch"
},
"0x70ccbd31": {
"erc20OfInterest": [
"order.makerAsset",
"order.takerAsset"
],
"method": "fillOrderRFQToWithPermit",
"plugin": "1inch"
}
}
}
Expand Down
Loading

0 comments on commit 6cfa968

Please sign in to comment.