@btc-vision/btc-runtime 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3,11 +3,11 @@ import { BytesWriter } from '../buffer/BytesWriter';
|
|
|
3
3
|
import { Blockchain } from '../env';
|
|
4
4
|
import { encodeSelector, Selector } from '../math/abi';
|
|
5
5
|
import { Address } from '../types/Address';
|
|
6
|
-
import { ADDRESS_BYTE_LENGTH, SELECTOR_BYTE_LENGTH } from '../utils
|
|
6
|
+
import { ADDRESS_BYTE_LENGTH, SELECTOR_BYTE_LENGTH } from '../utils';
|
|
7
7
|
|
|
8
8
|
export class OP20Utils {
|
|
9
9
|
public static get BALANCE_OF_SELECTOR(): Selector {
|
|
10
|
-
return encodeSelector('balanceOf');
|
|
10
|
+
return encodeSelector('balanceOf(address)');
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
public static balanceOf(token: Address, owner: Address): u256 {
|