Skip to content

Commit

Permalink
feat: Resolve IHRC632 and IHRC904 definitions (#1103)
Browse files Browse the repository at this point in the history
* Resolve IHRC632 and IHRC904 definitons

Signed-off-by: Nana Essilfie-Conduah <[email protected]>

* Add abi files

Signed-off-by: Nana Essilfie-Conduah <[email protected]>

* fix: fixed Foundry build

Signed-off-by: Logan Nguyen <[email protected]>

* Fix test refs

Signed-off-by: Nana Essilfie-Conduah <[email protected]>

* tweak wallet address name

Signed-off-by: Nana Essilfie-Conduah <[email protected]>

* fix: fixed IHRC906

Signed-off-by: Logan Nguyen <[email protected]>

* Revert "fix: fixed IHRC906"

This reverts commit 54bb0e6.
Signed-off-by: Logan Nguyen <[email protected]>

* fix: fixed cryptoOwner to use IHRC906Facade

Signed-off-by: Logan Nguyen <[email protected]>

* fix: renamed IHRC906.js to IHRC906Facade.js

Signed-off-by: Logan Nguyen <[email protected]>

* Add facade specifictions and add exapand README tables

Signed-off-by: Nana Essilfie-Conduah <[email protected]>

* Fix readme versions

Signed-off-by: Nana Essilfie-Conduah <[email protected]>

---------

Signed-off-by: Nana Essilfie-Conduah <[email protected]>
Signed-off-by: Logan Nguyen <[email protected]>
Co-authored-by: Logan Nguyen <[email protected]>
  • Loading branch information
Nana-EC and quiet-node authored Dec 13, 2024
1 parent 364927f commit c59a96d
Show file tree
Hide file tree
Showing 27 changed files with 1,693 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,79 @@
"inputs": [
{
"internalType": "address",
"name": "spender",
"name": "accountNumAlias",
"type": "address"
}
],
"name": "hbarAllowance",
"name": "getEvmAddressAlias",
"outputs": [
{
"internalType": "int64",
"name": "responseCode",
"type": "int64"
},
{
"internalType": "int256",
"name": "amount",
"type": "int256"
"internalType": "address",
"name": "evmAddressAlias",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "evmAddressAlias",
"type": "address"
}
],
"name": "getHederaAccountNumAlias",
"outputs": [
{
"internalType": "int64",
"name": "responseCode",
"type": "int64"
},
{
"internalType": "address",
"name": "accountNumAlias",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "bytes",
"name": "message",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "signature",
"type": "bytes"
}
],
"name": "isAuthorized",
"outputs": [
{
"internalType": "int64",
"name": "responseCode",
"type": "int64"
},
{
"internalType": "bool",
"name": "authorized",
"type": "bool"
}
],
"stateMutability": "nonpayable",
Expand All @@ -27,21 +85,50 @@
"inputs": [
{
"internalType": "address",
"name": "spender",
"name": "account",
"type": "address"
},
{
"internalType": "int256",
"name": "amount",
"type": "int256"
"internalType": "bytes",
"name": "messageHash",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "signature",
"type": "bytes"
}
],
"name": "hbarApprove",
"name": "isAuthorizedRaw",
"outputs": [
{
"internalType": "uint256",
"internalType": "int64",
"name": "responseCode",
"type": "uint256"
"type": "int64"
},
{
"internalType": "bool",
"name": "authorized",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "addr",
"type": "address"
}
],
"name": "isValidAlias",
"outputs": [
{
"internalType": "bool",
"name": "response",
"type": "bool"
}
],
"stateMutability": "nonpayable",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[
{
"inputs": [
{
"internalType": "bool",
"name": "enableAutoAssociations",
"type": "bool"
}
],
"name": "setUnlimitedAutomaticAssociations",
"outputs": [
{
"internalType": "int64",
"name": "responseCode",
"type": "int64"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "hbarAllowance",
"outputs": [
{
"internalType": "int64",
"name": "responseCode",
"type": "int64"
},
{
"internalType": "int256",
"name": "amount",
"type": "int256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "int256",
"name": "amount",
"type": "int256"
}
],
"name": "hbarApprove",
"outputs": [
{
"internalType": "int64",
"name": "responseCode",
"type": "int64"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "hbarAllowance",
"outputs": [
{
"internalType": "int64",
"name": "responseCode",
"type": "int64"
},
{
"internalType": "int256",
"name": "amount",
"type": "int256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "int256",
"name": "amount",
"type": "int256"
}
],
"name": "hbarApprove",
"outputs": [
{
"internalType": "int64",
"name": "responseCode",
"type": "int64"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "hbarAllowance",
"outputs": [
{
"internalType": "int64",
"name": "responseCode",
"type": "int64"
},
{
"internalType": "int256",
"name": "amount",
"type": "int256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "int256",
"name": "amount",
"type": "int256"
}
],
"name": "hbarApprove",
"outputs": [
{
"internalType": "int64",
"name": "responseCode",
"type": "int64"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "hbarAllowance",
"outputs": [
{
"internalType": "int64",
"name": "responseCode",
"type": "int64"
},
{
"internalType": "int256",
"name": "amount",
"type": "int256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "int256",
"name": "amount",
"type": "int256"
}
],
"name": "hbarApprove",
"outputs": [
{
"internalType": "int64",
"name": "responseCode",
"type": "int64"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
Loading

0 comments on commit c59a96d

Please sign in to comment.