@phala/typedefs
Advanced tools
Comparing version 0.2.17 to 0.2.18
@@ -33,2 +33,30 @@ import phalaDev from './phala-dev'; | ||
BridgeChainId: string; | ||
BridgeEvent: { | ||
_enum: { | ||
FungibleTransfer: string; | ||
NonFungibleTransfer: string; | ||
GenericTransfer: string; | ||
}; | ||
}; | ||
FungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
amount: string; | ||
recipient: string; | ||
}; | ||
NonFungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
token_id: string; | ||
recipient: string; | ||
metadata: string; | ||
}; | ||
GenericTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
metadata: string; | ||
}; | ||
ResourceId: string; | ||
@@ -229,2 +257,30 @@ TokenId: string; | ||
BridgeChainId: string; | ||
BridgeEvent: { | ||
_enum: { | ||
FungibleTransfer: string; | ||
NonFungibleTransfer: string; | ||
GenericTransfer: string; | ||
}; | ||
}; | ||
FungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
amount: string; | ||
recipient: string; | ||
}; | ||
NonFungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
token_id: string; | ||
recipient: string; | ||
metadata: string; | ||
}; | ||
GenericTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
metadata: string; | ||
}; | ||
ResourceId: string; | ||
@@ -426,2 +482,30 @@ TokenId: string; | ||
BridgeChainId: string; | ||
BridgeEvent: { | ||
_enum: { | ||
FungibleTransfer: string; | ||
NonFungibleTransfer: string; | ||
GenericTransfer: string; | ||
}; | ||
}; | ||
FungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
amount: string; | ||
recipient: string; | ||
}; | ||
NonFungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
token_id: string; | ||
recipient: string; | ||
metadata: string; | ||
}; | ||
GenericTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
metadata: string; | ||
}; | ||
ResourceId: string; | ||
@@ -626,2 +710,30 @@ TokenId: string; | ||
BridgeChainId: string; | ||
BridgeEvent: { | ||
_enum: { | ||
FungibleTransfer: string; | ||
NonFungibleTransfer: string; | ||
GenericTransfer: string; | ||
}; | ||
}; | ||
FungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
amount: string; | ||
recipient: string; | ||
}; | ||
NonFungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
token_id: string; | ||
recipient: string; | ||
metadata: string; | ||
}; | ||
GenericTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
metadata: string; | ||
}; | ||
ResourceId: string; | ||
@@ -826,2 +938,30 @@ TokenId: string; | ||
BridgeChainId: string; | ||
BridgeEvent: { | ||
_enum: { | ||
FungibleTransfer: string; | ||
NonFungibleTransfer: string; | ||
GenericTransfer: string; | ||
}; | ||
}; | ||
FungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
amount: string; | ||
recipient: string; | ||
}; | ||
NonFungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
token_id: string; | ||
recipient: string; | ||
metadata: string; | ||
}; | ||
GenericTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
metadata: string; | ||
}; | ||
ResourceId: string; | ||
@@ -1026,2 +1166,30 @@ TokenId: string; | ||
BridgeChainId: string; | ||
BridgeEvent: { | ||
_enum: { | ||
FungibleTransfer: string; | ||
NonFungibleTransfer: string; | ||
GenericTransfer: string; | ||
}; | ||
}; | ||
FungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
amount: string; | ||
recipient: string; | ||
}; | ||
NonFungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
token_id: string; | ||
recipient: string; | ||
metadata: string; | ||
}; | ||
GenericTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
metadata: string; | ||
}; | ||
ResourceId: string; | ||
@@ -1226,2 +1394,30 @@ TokenId: string; | ||
BridgeChainId: string; | ||
BridgeEvent: { | ||
_enum: { | ||
FungibleTransfer: string; | ||
NonFungibleTransfer: string; | ||
GenericTransfer: string; | ||
}; | ||
}; | ||
FungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
amount: string; | ||
recipient: string; | ||
}; | ||
NonFungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
token_id: string; | ||
recipient: string; | ||
metadata: string; | ||
}; | ||
GenericTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
metadata: string; | ||
}; | ||
ResourceId: string; | ||
@@ -1228,0 +1424,0 @@ TokenId: string; |
@@ -5,2 +5,30 @@ declare const _default: { | ||
BridgeChainId: string; | ||
BridgeEvent: { | ||
_enum: { | ||
FungibleTransfer: string; | ||
NonFungibleTransfer: string; | ||
GenericTransfer: string; | ||
}; | ||
}; | ||
FungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
amount: string; | ||
recipient: string; | ||
}; | ||
NonFungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
token_id: string; | ||
recipient: string; | ||
metadata: string; | ||
}; | ||
GenericTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
metadata: string; | ||
}; | ||
ResourceId: string; | ||
@@ -7,0 +35,0 @@ TokenId: string; |
@@ -8,4 +8,32 @@ "use strict"; | ||
"BridgeChainId": "u8", | ||
"BridgeEvent": { | ||
"_enum": { | ||
"FungibleTransfer": "FungibleTransfer", | ||
"NonFungibleTransfer": "NonFungibleTransfer", | ||
"GenericTransfer": "GenericTransfer" | ||
} | ||
}, | ||
"FungibleTransfer": { | ||
"dest_id": "BridgeChainId", | ||
"nonce": "DepositNonce", | ||
"resource_id": "ResourceId", | ||
"amount": "U256", | ||
"recipient": "Vec<u8>" | ||
}, | ||
"NonFungibleTransfer": { | ||
"dest_id": "BridgeChainId", | ||
"nonce": "DepositNonce", | ||
"resource_id": "ResourceId", | ||
"token_id": "Vec<u8>", | ||
"recipient": "Vec<u8>", | ||
"metadata": "Vec<u8>" | ||
}, | ||
"GenericTransfer": { | ||
"dest_id": "BridgeChainId", | ||
"nonce": "DepositNonce", | ||
"resource_id": "ResourceId", | ||
"metadata": "Vec<u8>" | ||
}, | ||
"ResourceId": "[u8; 32]", | ||
"TokenId": "u256", | ||
"TokenId": "U256", | ||
"DepositNonce": "u64", | ||
@@ -27,7 +55,7 @@ "ProposalStatus": { | ||
"_enum": [ | ||
'Any', | ||
'NonTransfer', | ||
'CancelProxy', | ||
'Governance', | ||
'Collator' | ||
"Any", | ||
"NonTransfer", | ||
"CancelProxy", | ||
"Governance", | ||
"Collator" | ||
] | ||
@@ -146,3 +174,3 @@ }, | ||
"_enum": { | ||
"MasterKeyDistribution": "DispatchMasterKeyEvent", | ||
"MasterKeyDistribution": "DispatchMasterKeyEvent" | ||
} | ||
@@ -153,3 +181,3 @@ }, | ||
"FirstGatekeeper": "NewGatekeeperEvent", | ||
"MasterPubkeyOnChain": null, | ||
"MasterPubkeyOnChain": null | ||
} | ||
@@ -159,3 +187,3 @@ }, | ||
"_enum": { | ||
"GatekeeperRegistered": "NewGatekeeperEvent", | ||
"GatekeeperRegistered": "NewGatekeeperEvent" | ||
} | ||
@@ -171,3 +199,3 @@ }, | ||
"pubkey": "WorkerPublicKey", | ||
"ecdhPubkey": "EcdhPublicKey", | ||
"ecdhPubkey": "EcdhPublicKey" | ||
}, | ||
@@ -174,0 +202,0 @@ "DispatchMasterKeyEvent": { |
@@ -6,2 +6,30 @@ declare const _default: { | ||
BridgeChainId: string; | ||
BridgeEvent: { | ||
_enum: { | ||
FungibleTransfer: string; | ||
NonFungibleTransfer: string; | ||
GenericTransfer: string; | ||
}; | ||
}; | ||
FungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
amount: string; | ||
recipient: string; | ||
}; | ||
NonFungibleTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
token_id: string; | ||
recipient: string; | ||
metadata: string; | ||
}; | ||
GenericTransfer: { | ||
dest_id: string; | ||
nonce: string; | ||
resource_id: string; | ||
metadata: string; | ||
}; | ||
ResourceId: string; | ||
@@ -8,0 +36,0 @@ TokenId: string; |
@@ -9,2 +9,30 @@ "use strict"; | ||
"BridgeChainId": "u8", | ||
"BridgeEvent": { | ||
"_enum": { | ||
"FungibleTransfer": "FungibleTransfer", | ||
"NonFungibleTransfer": "NonFungibleTransfer", | ||
"GenericTransfer": "GenericTransfer" | ||
} | ||
}, | ||
"FungibleTransfer": { | ||
"dest_id": "BridgeChainId", | ||
"nonce": "DepositNonce", | ||
"resource_id": "ResourceId", | ||
"amount": "U256", | ||
"recipient": "Vec<u8>" | ||
}, | ||
"NonFungibleTransfer": { | ||
"dest_id": "BridgeChainId", | ||
"nonce": "DepositNonce", | ||
"resource_id": "ResourceId", | ||
"token_id": "Vec<u8>", | ||
"recipient": "Vec<u8>", | ||
"metadata": "Vec<u8>" | ||
}, | ||
"GenericTransfer": { | ||
"dest_id": "BridgeChainId", | ||
"nonce": "DepositNonce", | ||
"resource_id": "ResourceId", | ||
"metadata": "Vec<u8>" | ||
}, | ||
"ResourceId": "[u8; 32]", | ||
@@ -11,0 +39,0 @@ "TokenId": "u256", |
{ | ||
"name": "@phala/typedefs", | ||
"version": "0.2.17", | ||
"version": "0.2.18", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92594
2608