-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extended Tonlib's methods with supporting block height (BlockIdExt) a…
…s a parameter: runMethod() getAccountState() getRawAccountState() loadContract() getAccountStatus()
- Loading branch information
1 parent
f6abd0b
commit e8195b5
Showing
7 changed files
with
252 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
tonlib/src/main/java/org/ton/java/tonlib/queries/GetAccountStateOnlyWithBlockQuery.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.ton.java.tonlib.queries; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
import org.ton.java.tonlib.types.BlockIdExt; | ||
|
||
@Builder | ||
@Setter | ||
@Getter | ||
@ToString | ||
public class GetAccountStateOnlyWithBlockQuery extends ExtraQuery { | ||
@SerializedName(value = "@type") | ||
final String type = "withBlock"; | ||
BlockIdExt id; | ||
GetAccountStateQueryOnly function; | ||
} |
19 changes: 19 additions & 0 deletions
19
tonlib/src/main/java/org/ton/java/tonlib/queries/GetAccountStateWithBlockQuery.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.ton.java.tonlib.queries; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
import org.ton.java.tonlib.types.BlockIdExt; | ||
|
||
@Builder | ||
@Setter | ||
@Getter | ||
@ToString | ||
public class GetAccountStateWithBlockQuery extends ExtraQuery { | ||
@SerializedName(value = "@type") | ||
final String type = "withBlock"; | ||
BlockIdExt id; | ||
GetAccountStateQuery function; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
tonlib/src/main/java/org/ton/java/tonlib/queries/RawGetAccountStateOnlyWithBlockQuery.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.ton.java.tonlib.queries; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
import org.ton.java.tonlib.types.BlockIdExt; | ||
|
||
@Builder | ||
@Setter | ||
@Getter | ||
@ToString | ||
public class RawGetAccountStateOnlyWithBlockQuery extends ExtraQuery { | ||
@SerializedName(value = "@type") | ||
final String type = "withBlock"; | ||
BlockIdExt id; | ||
GetRawAccountStateQueryOnly function; | ||
} |
19 changes: 19 additions & 0 deletions
19
tonlib/src/main/java/org/ton/java/tonlib/queries/RawGetAccountStateWithBlockQuery.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.ton.java.tonlib.queries; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
import org.ton.java.tonlib.types.BlockIdExt; | ||
|
||
@Builder | ||
@Setter | ||
@Getter | ||
@ToString | ||
public class RawGetAccountStateWithBlockQuery extends ExtraQuery { | ||
@SerializedName(value = "@type") | ||
final String type = "withBlock"; | ||
BlockIdExt id; | ||
GetRawAccountStateQuery function; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters