Skip to content

Commit

Permalink
Merge pull request #5 from usgeeus/main
Browse files Browse the repository at this point in the history
create uniswapV3
  • Loading branch information
SonYoungsung authored Apr 5, 2024
2 parents 1e3e090 + 3e8626f commit 180d618
Show file tree
Hide file tree
Showing 14 changed files with 4,887 additions and 0 deletions.
133 changes: 133 additions & 0 deletions contracts/data/uniswapV3/abi/DescriptorProxy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
[
{
"inputs": [
{
"internalType": "address",
"name": "_logic",
"type": "address"
},
{
"internalType": "address",
"name": "admin_",
"type": "address"
},
{
"internalType": "bytes",
"name": "_data",
"type": "bytes"
}
],
"stateMutability": "payable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "previousAdmin",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newAdmin",
"type": "address"
}
],
"name": "AdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"stateMutability": "payable",
"type": "fallback"
},
{
"inputs": [],
"name": "admin",
"outputs": [
{
"internalType": "address",
"name": "admin_",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newAdmin",
"type": "address"
}
],
"name": "changeAdmin",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "implementation",
"outputs": [
{
"internalType": "address",
"name": "implementation_",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newImplementation",
"type": "address"
}
],
"name": "upgradeTo",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newImplementation",
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "upgradeToAndCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
]
93 changes: 93 additions & 0 deletions contracts/data/uniswapV3/abi/NFTDescriptor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
[
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"internalType": "address",
"name": "quoteTokenAddress",
"type": "address"
},
{
"internalType": "address",
"name": "baseTokenAddress",
"type": "address"
},
{
"internalType": "string",
"name": "quoteTokenSymbol",
"type": "string"
},
{
"internalType": "string",
"name": "baseTokenSymbol",
"type": "string"
},
{
"internalType": "uint8",
"name": "quoteTokenDecimals",
"type": "uint8"
},
{
"internalType": "uint8",
"name": "baseTokenDecimals",
"type": "uint8"
},
{
"internalType": "bool",
"name": "flipRatio",
"type": "bool"
},
{
"internalType": "int24",
"name": "tickLower",
"type": "int24"
},
{
"internalType": "int24",
"name": "tickUpper",
"type": "int24"
},
{
"internalType": "int24",
"name": "tickCurrent",
"type": "int24"
},
{
"internalType": "int24",
"name": "tickSpacing",
"type": "int24"
},
{
"internalType": "uint24",
"name": "fee",
"type": "uint24"
},
{
"internalType": "address",
"name": "poolAddress",
"type": "address"
}
],
"internalType": "struct NFTDescriptor.ConstructTokenURIParams",
"name": "params",
"type": "tuple"
}
],
"name": "constructTokenURI",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
}
]
Loading

0 comments on commit 180d618

Please sign in to comment.