Skip to content

Commit

Permalink
Deploy FreeFeeModel to Tapir and add it to registry
Browse files Browse the repository at this point in the history
  • Loading branch information
theref committed Aug 21, 2024
1 parent 37fa237 commit 4a7a889
Show file tree
Hide file tree
Showing 3 changed files with 434 additions and 6 deletions.
215 changes: 215 additions & 0 deletions deployment/artifacts/tapir-free-fee-model.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
{
"80002": {
"FreeFeeModel": {
"address": "0x130E5ff8Eaf5fe77Ad2846EC8860B8DCb0B6Ec5E",
"abi": [
{
"type": "constructor",
"stateMutability": "nonpayable",
"inputs": []
},
{
"type": "error",
"name": "OwnableInvalidOwner",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "OwnableUnauthorizedAccount",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "event",
"name": "OwnershipTransferred",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"internalType": "address",
"indexed": true
},
{
"name": "newOwner",
"type": "address",
"internalType": "address",
"indexed": true
}
],
"anonymous": false
},
{
"type": "function",
"name": "approveInitiator",
"stateMutability": "nonpayable",
"inputs": [
{
"name": "initiator",
"type": "address",
"internalType": "address"
}
],
"outputs": []
},
{
"type": "function",
"name": "beforeIsAuthorized",
"stateMutability": "view",
"inputs": [
{
"name": "ritualId",
"type": "uint32",
"internalType": "uint32"
}
],
"outputs": []
},
{
"type": "function",
"name": "beforeSetAuthorization",
"stateMutability": "nonpayable",
"inputs": [
{
"name": "ritualId",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "addresses",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "value",
"type": "bool",
"internalType": "bool"
}
],
"outputs": []
},
{
"type": "function",
"name": "initiatorWhiteList",
"stateMutability": "view",
"inputs": [
{
"name": "initiator",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "approved",
"type": "bool",
"internalType": "bool"
}
]
},
{
"type": "function",
"name": "owner",
"stateMutability": "view",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "function",
"name": "processRitualExtending",
"stateMutability": "nonpayable",
"inputs": [
{
"name": "initiator",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "uint32",
"internalType": "uint32"
}
],
"outputs": []
},
{
"type": "function",
"name": "processRitualPayment",
"stateMutability": "nonpayable",
"inputs": [
{
"name": "initiator",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "uint32",
"internalType": "uint32"
}
],
"outputs": []
},
{
"type": "function",
"name": "renounceOwnership",
"stateMutability": "nonpayable",
"inputs": [],
"outputs": []
},
{
"type": "function",
"name": "transferOwnership",
"stateMutability": "nonpayable",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": []
}
],
"tx_hash": "0x97f3b06e4ea4bf92efc418db3d4e8c9610271bc8a117d0e4f28bb57c20368d06",
"block_number": 10944892,
"deployer": "0x3B42d26E19FF860bC4dEbB920DD8caA53F93c600"
}
}
}
Loading

0 comments on commit 4a7a889

Please sign in to comment.