Skip to content

Commit 54bb0e6

Browse files
committed
fix: fixed IHRC906
Signed-off-by: Logan Nguyen <[email protected]>
1 parent 8fc453c commit 54bb0e6

File tree

7 files changed

+10
-24
lines changed

7 files changed

+10
-24
lines changed

artifacts/contracts/system-contracts/hedera-token-service/examples/token-create/TokenCreateContract.sol/TokenCreateContract.json

+2-2
Large diffs are not rendered by default.

artifacts/contracts/system-contracts/hedera-token-service/examples/token-create/TokenCreateCustom.sol/TokenCreateCustomContract.json

+2-2
Large diffs are not rendered by default.

artifacts/contracts/system-contracts/hedera-token-service/examples/token-manage/TokenManagementContract.sol/TokenManagementContract.json

+2-2
Large diffs are not rendered by default.

artifacts/contracts/system-contracts/hedera-token-service/examples/token-query/TokenQueryContract.sol/TokenQueryContract.json

+2-2
Large diffs are not rendered by default.

artifacts/contracts/system-contracts/hedera-token-service/examples/token-transfer/TokenTransferContract.sol/TokenTransferContract.json

+2-2
Large diffs are not rendered by default.

contracts-abi/contracts/system-contracts/hedera-account-service/IHRC906.sol/IHRC906.json

-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
[
22
{
33
"inputs": [
4-
{
5-
"internalType": "address",
6-
"name": "owner",
7-
"type": "address"
8-
},
94
{
105
"internalType": "address",
116
"name": "spender",
@@ -30,11 +25,6 @@
3025
},
3126
{
3227
"inputs": [
33-
{
34-
"internalType": "address",
35-
"name": "owner",
36-
"type": "address"
37-
},
3828
{
3929
"internalType": "address",
4030
"name": "spender",

contracts/system-contracts/hedera-account-service/IHRC906.sol

-4
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,19 @@ pragma solidity >=0.4.9 <0.9.0;
33

44
interface IHRC906 {
55
/// Returns the amount of hbar that the spender has been authorized to spend on behalf of the owner.
6-
/// @param owner The account that has authorized the spender.
76
/// @param spender The account that has been authorized by the owner.
87
/// @return responseCode The response code for the status of the request. SUCCESS is 22.
98
/// @return amount The amount of hbar that the spender has been authorized to spend on behalf of the owner.
109
function hbarAllowance(
11-
address owner,
1210
address spender
1311
) external returns (int64 responseCode, int256 amount);
1412

1513
/// Allows spender to withdraw hbars from the owner account multiple times, up to the value amount. If this
1614
/// function is called again it overwrites the current allowance with the new amount.
17-
/// @param owner The owner of the hbars.
1815
/// @param spender the account address authorized to spend.
1916
/// @param amount the amount of tokens authorized to spend.
2017
/// @return responseCode The response code for the status of the request. SUCCESS is 22.
2118
function hbarApprove(
22-
address owner,
2319
address spender,
2420
int256 amount
2521
) external returns (int64 responseCode);

0 commit comments

Comments
 (0)