opnet 1.1.7 → 1.1.9
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/browser/_version.d.ts +1 -1
- package/browser/abi/shared/interfaces/IOP_20Contract.d.ts +1 -1
- package/browser/contracts/OPNetEvent.d.ts +3 -3
- package/browser/index.js +1 -1
- package/browser/transactions/decoders/DeploymentTransaction.d.ts +1 -1
- package/browser/transactions/decoders/InteractionTransaction.d.ts +1 -0
- package/browser/transactions/interfaces/transactions/ICommonTransaction.d.ts +2 -1
- package/browser/transactions/interfaces/transactions/IDeploymentTransaction.d.ts +2 -1
- package/build/_version.d.ts +1 -1
- package/build/_version.js +1 -1
- package/build/abi/shared/interfaces/IOP_20Contract.d.ts +1 -1
- package/build/contracts/Contract.js +5 -5
- package/build/contracts/OPNetEvent.d.ts +3 -3
- package/build/contracts/OPNetEvent.js +6 -6
- package/build/providers/AbstractRpcProvider.js +2 -2
- package/build/transactions/decoders/DeploymentTransaction.d.ts +1 -1
- package/build/transactions/decoders/DeploymentTransaction.js +2 -2
- package/build/transactions/decoders/InteractionTransaction.d.ts +1 -0
- package/build/transactions/decoders/InteractionTransaction.js +2 -0
- package/build/transactions/interfaces/transactions/ICommonTransaction.d.ts +2 -1
- package/build/transactions/interfaces/transactions/IDeploymentTransaction.d.ts +2 -1
- package/package.json +2 -2
- package/src/_version.ts +1 -1
- package/src/abi/shared/interfaces/IOP_20Contract.ts +1 -1
- package/src/contracts/Contract.ts +5 -5
- package/src/contracts/OPNetEvent.ts +3 -3
- package/src/providers/AbstractRpcProvider.ts +2 -2
- package/src/transactions/decoders/DeploymentTransaction.ts +4 -4
- package/src/transactions/decoders/InteractionTransaction.ts +9 -0
- package/src/transactions/interfaces/transactions/ICommonTransaction.ts +9 -4
- package/src/transactions/interfaces/transactions/IDeploymentTransaction.ts +8 -3
package/browser/_version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.1.
|
|
1
|
+
export declare const version = "1.1.9";
|
|
@@ -55,7 +55,7 @@ export interface IOP_20Contract extends IOP_NETContract {
|
|
|
55
55
|
approve(spender: Address, amount: bigint): Promise<Approve>;
|
|
56
56
|
allowance(owner: Address, spender: Address): Promise<Allowance>;
|
|
57
57
|
burn(value: bigint): Promise<Burn>;
|
|
58
|
-
mint(value: bigint): Promise<Mint>;
|
|
58
|
+
mint(address: Address, value: bigint): Promise<Mint>;
|
|
59
59
|
airdrop(tuple: AddressMap<bigint>): Promise<Airdrop>;
|
|
60
60
|
airdropWithAmount(amount: bigint, addresses: Address[]): Promise<AirdropWithAmount>;
|
|
61
61
|
}
|
|
@@ -5,10 +5,10 @@ export interface IDecodedEvent extends NetEvent {
|
|
|
5
5
|
readonly values: Array<DecodedCallResult>;
|
|
6
6
|
}
|
|
7
7
|
export declare class OPNetEvent<T extends ContractDecodedObjectResult = {}> extends NetEvent implements IDecodedEvent {
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
8
|
+
readonly type: string;
|
|
9
|
+
readonly data: Uint8Array;
|
|
10
10
|
properties: T;
|
|
11
11
|
values: Array<DecodedCallResult>;
|
|
12
|
-
constructor(
|
|
12
|
+
constructor(type: string, data: Uint8Array);
|
|
13
13
|
setDecoded(decoded: DecodedOutput): void;
|
|
14
14
|
}
|