Skip to content

Commit

Permalink
Merge pull request #61 from KahanMajmudar/feat/mech-marketplace-integ…
Browse files Browse the repository at this point in the history
…ration

WIP: make mech marketplace deliver work
  • Loading branch information
KahanMajmudar authored Jan 29, 2025
2 parents 75b6198 + 03ced96 commit 1670971
Show file tree
Hide file tree
Showing 16 changed files with 4,620 additions and 55 deletions.
503 changes: 503 additions & 0 deletions mech_client/abis/BalanceTrackerFixedPriceNative.json

Large diffs are not rendered by default.

502 changes: 502 additions & 0 deletions mech_client/abis/BalanceTrackerFixedPriceToken.json

Large diffs are not rendered by default.

115 changes: 115 additions & 0 deletions mech_client/abis/IMech.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
[
{
"inputs": [
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
}
],
"name": "getFinalizedDeliveryRate",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "signer",
"type": "address"
}
],
"name": "isOperator",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "maxDeliveryRate",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "paymentType",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
}
],
"name": "requestFromMarketplace",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
}
],
"name": "revokeRequest",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "tokenId",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
]
Loading

0 comments on commit 1670971

Please sign in to comment.