1- import { bytes , internal , uint64 } from '@algorandfoundation/algorand-typescript'
1+ import { Account , bytes , internal , uint64 } from '@algorandfoundation/algorand-typescript'
22import { lazyContext } from '../context-helpers/internal-context'
3- import { itob } from './pure'
43import { asUint64 } from '../util'
4+ import { itob } from './pure'
55
66export const Block : internal . opTypes . BlockType = {
77 blkSeed : function ( a : internal . primitives . StubUint64Compat ) : bytes {
@@ -10,4 +10,29 @@ export const Block: internal.opTypes.BlockType = {
1010 blkTimestamp : function ( a : internal . primitives . StubUint64Compat ) : uint64 {
1111 return asUint64 ( lazyContext . ledger . getBlockContent ( a ) . timestamp )
1212 } ,
13+ // TODO: implement v11 methods
14+ blkProposer : function ( _a : uint64 ) : Account {
15+ throw new Error ( 'Function not implemented.' )
16+ } ,
17+ blkFeesCollected : function ( _a : uint64 ) : uint64 {
18+ throw new Error ( 'Function not implemented.' )
19+ } ,
20+ blkBonus : function ( _a : uint64 ) : uint64 {
21+ throw new Error ( 'Function not implemented.' )
22+ } ,
23+ blkBranch : function ( _a : uint64 ) : bytes {
24+ throw new Error ( 'Function not implemented.' )
25+ } ,
26+ blkFeeSink : function ( _a : uint64 ) : Account {
27+ throw new Error ( 'Function not implemented.' )
28+ } ,
29+ blkProtocol : function ( _a : uint64 ) : bytes {
30+ throw new Error ( 'Function not implemented.' )
31+ } ,
32+ blkTxnCounter : function ( _a : uint64 ) : uint64 {
33+ throw new Error ( 'Function not implemented.' )
34+ } ,
35+ blkProposerPayout : function ( _a : uint64 ) : uint64 {
36+ throw new Error ( 'Function not implemented.' )
37+ } ,
1338}
0 commit comments