From d4a71a34023be01fc7589053ef8dc27debdd0bf8 Mon Sep 17 00:00:00 2001 From: Bobby Lat Date: Mon, 14 Oct 2024 15:15:59 +0800 Subject: [PATCH] impelment gloadBytes, gloadUint64, and Block via context manager --- packages/algo-ts/src/op.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/algo-ts/src/op.ts b/packages/algo-ts/src/op.ts index c97469e5..45c1a2ad 100644 --- a/packages/algo-ts/src/op.ts +++ b/packages/algo-ts/src/op.ts @@ -27,6 +27,8 @@ import { GetBitType, GetByteType, GITxnType, + GloadBytesType, + GloadUint64Type, GlobalType, GTxnType, ItobType, @@ -100,6 +102,8 @@ export const extractUint64: ExtractUint64Type = createFunctionProxy('extractUint export const gaid: GaidType = createFunctionProxy('gaid') export const getBit: GetBitType = createFunctionProxy('getBit') export const getByte: GetByteType = createFunctionProxy('getByte') +export const gloadBytes: GloadBytesType = createFunctionProxy('gloadBytes') +export const gloadUint64: GloadUint64Type = createFunctionProxy('gloadUint64') export const itob: ItobType = createFunctionProxy('itob') export const keccak256: Keccak256Type = createFunctionProxy('keccak256') export const minBalance: BalanceType = createFunctionProxy('minBalance') @@ -131,5 +135,6 @@ export const AcctParams = createObjectProxy('AcctParams') export const AppParams = createObjectProxy('AppParams') export const AssetHolding = createObjectProxy('AssetHolding') export const AssetParams = createObjectProxy('AssetParams') +export const Block = createObjectProxy('Block') export { VrfVerify } from './op-types'