Skip to content

Commit

Permalink
Add USDC support
Browse files Browse the repository at this point in the history
  • Loading branch information
the-masthead committed Feb 20, 2023
1 parent 790e063 commit b064157
Show file tree
Hide file tree
Showing 36 changed files with 1,134 additions and 140 deletions.
71 changes: 71 additions & 0 deletions abi/staging/ArmadaOperators.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,44 @@
"name": "OperatorStakeChanged",
"type": "event"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "operatorId",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "deadline",
"type": "uint256"
},
{
"internalType": "uint8",
"name": "v",
"type": "uint8"
},
{
"internalType": "bytes32",
"name": "r",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "s",
"type": "bytes32"
}
],
"name": "depositOperatorBalance",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -162,6 +200,11 @@
"internalType": "uint256",
"name": "stake",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "balance",
"type": "uint256"
}
],
"internalType": "struct ArmadaOperator",
Expand Down Expand Up @@ -213,6 +256,11 @@
"internalType": "uint256",
"name": "stake",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "balance",
"type": "uint256"
}
],
"internalType": "struct ArmadaOperator[]",
Expand Down Expand Up @@ -264,6 +312,29 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "operatorId",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "address",
"name": "to",
"type": "address"
}
],
"name": "withdrawOperatorBalance",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
5 changes: 5 additions & 0 deletions abi/staging/ArmadaProjects.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,11 @@
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "address",
"name": "to",
"type": "address"
}
],
"name": "withdrawProjectEscrow",
Expand Down
Loading

0 comments on commit b064157

Please sign in to comment.