Skip to content

Commit

Permalink
update pricing for high cov ratio pool and dynamic pool
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy-wombat committed Oct 27, 2023
1 parent 581ff8c commit f38c5bf
Show file tree
Hide file tree
Showing 12 changed files with 2,503 additions and 442 deletions.
94 changes: 91 additions & 3 deletions src/abi/wombat/asset.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,32 @@
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "ASSET_OVERFLOW",
"type": "error"
},
{
"inputs": [],
"name": "InvalidShortString",
"type": "error"
},
{
"inputs": [
{
"internalType": "string",
"name": "str",
"type": "string"
}
],
"name": "StringTooLong",
"type": "error"
},
{
"inputs": [],
"name": "WOMBAT_FORBIDDEN",
"type": "error"
},
{
"anonymous": false,
"inputs": [
Expand All @@ -45,6 +71,12 @@
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [],
"name": "EIP712DomainChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -301,6 +333,62 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "eip712Domain",
"outputs": [
{
"internalType": "bytes1",
"name": "fields",
"type": "bytes1"
},
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "string",
"name": "version",
"type": "string"
},
{
"internalType": "uint256",
"name": "chainId",
"type": "uint256"
},
{
"internalType": "address",
"name": "verifyingContract",
"type": "address"
},
{
"internalType": "bytes32",
"name": "salt",
"type": "bytes32"
},
{
"internalType": "uint256[]",
"name": "extensions",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getRelativePrice",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -559,7 +647,7 @@
"inputs": [
{
"internalType": "address",
"name": "recipient",
"name": "to",
"type": "address"
},
{
Expand All @@ -583,12 +671,12 @@
"inputs": [
{
"internalType": "address",
"name": "sender",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "recipient",
"name": "to",
"type": "address"
},
{
Expand Down
Loading

0 comments on commit f38c5bf

Please sign in to comment.