1
- import { bytes , internal , uint64 } from '@algorandfoundation/algorand-typescript'
1
+ import { Account , bytes , internal , uint64 } from '@algorandfoundation/algorand-typescript'
2
2
import { lazyContext } from '../context-helpers/internal-context'
3
- import { itob } from './pure'
4
3
import { asUint64 } from '../util'
4
+ import { itob } from './pure'
5
5
6
6
export const Block : internal . opTypes . BlockType = {
7
7
blkSeed : function ( a : internal . primitives . StubUint64Compat ) : bytes {
@@ -10,4 +10,29 @@ export const Block: internal.opTypes.BlockType = {
10
10
blkTimestamp : function ( a : internal . primitives . StubUint64Compat ) : uint64 {
11
11
return asUint64 ( lazyContext . ledger . getBlockContent ( a ) . timestamp )
12
12
} ,
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
+ } ,
13
38
}
0 commit comments