@@ -53,7 +53,7 @@ export function aptos_std_event_write_to_event_store(guid: U8[], count: U64, msg
5353 // NOP
5454}
5555
56- export function std_hash_sip_hash ( v : any , $c : AptosDataCache , _tags : TypeTag [ ] ) : U64 {
56+ export function aptos_std_aptos_hash_sip_hash ( bytes : U8 [ ] , $c : AptosDataCache ) : U64 {
5757 throw new Error ( "Not implemented" ) ;
5858}
5959
@@ -347,7 +347,6 @@ export class UpgradePolicy
347347
348348}
349349
350-
351350export function aptos_framework_code_request_publish ( owner : HexString , expected_modules : ActualStringClass [ ] , bundle : U8 [ ] [ ] , policy : U8 , $c : AptosDataCache ) {
352351 throw new Error ( "Not Implemented" ) ;
353352}
@@ -356,42 +355,54 @@ function u8ArrayToKeyString(u8array: U8[]): string {
356355 return u8array . map ( u => u . value . toJSNumber ( ) . toString ( 16 ) ) . join ( ) ;
357356}
358357
359- export function aptos_std_signature_ed25519_validate_pubkey ( pubkey : U8 [ ] , $c : AptosDataCache ) : boolean {
358+ export function aptos_std_bls12381_aggregate_pubkeys_internal ( pubkeys : any , $c : AptosDataCache ) : [ U8 [ ] , boolean ] {
360359 throw new Error ( "Not implemented" ) ;
361360}
362361
363- export function aptos_std_signature_bls12381_validate_pubkey ( pubkey : U8 [ ] , $c : AptosDataCache ) : boolean {
362+ export function aptos_std_bls12381_aggregate_signatures_internal ( signatures : any , $c : AptosDataCache ) : [ U8 [ ] , boolean ] {
364363 throw new Error ( "Not implemented" ) ;
365364}
366365
367- export function aptos_std_signature_bls12381_verify_signature ( signature : U8 [ ] , public_key : U8 [ ] , mesage : U8 [ ] , $c : AptosDataCache ) : boolean {
366+ export function aptos_std_bls12381_validate_pubkey_internal ( pubkey : U8 [ ] , $c : AptosDataCache ) : boolean {
368367 throw new Error ( "Not implemented" ) ;
369368}
370369
371- export function aptos_std_signature_bls12381_verify_proof_of_possession ( public_key : U8 [ ] , proof_of_posession : U8 [ ] , $c : AptosDataCache ) : boolean {
370+ export function aptos_std_bls12381_signature_subgroup_check_internal ( signature : any , $c : AptosDataCache ) : boolean {
372371 throw new Error ( "Not implemented" ) ;
373372}
374373
375- interface IOption {
376- vec : any [ ] ;
377- typeTag : TypeTag ;
378- loadFullState ( app : AppType ) : Promise < void > ;
379- __app : AppType | null ;
374+ export function aptos_std_bls12381_verify_aggregate_signature_internal ( a : any , b : any , c : any , $c : AptosDataCache ) : boolean {
375+ throw new Error ( "Not implemented" ) ;
380376}
381377
382- export function aptos_std_signature_bls12381_aggregate_pop_verified_pubkeys ( public_keys : U8 [ ] [ ] , $c : AptosDataCache ) : IOption {
378+ export function aptos_std_bls12381_verify_multisignature_internal ( a : any , b : any , c : any , $c : AptosDataCache ) : boolean {
383379 throw new Error ( "Not implemented" ) ;
384380}
385381
382+ export function aptos_std_bls12381_verify_normal_signature_internal ( signature : U8 [ ] , public_key : U8 [ ] , mesage : U8 [ ] , $c : AptosDataCache ) : boolean {
383+ throw new Error ( "Not implemented" ) ;
384+ }
385+
386+ export function aptos_std_bls12381_verify_proof_of_possession_internal ( public_key : U8 [ ] , proof_of_posession : U8 [ ] , $c : AptosDataCache ) : boolean {
387+ throw new Error ( "Not implemented" ) ;
388+ }
389+
390+ export function aptos_std_bls12381_verify_signature_share_internal ( a : any , b : any , c : any , $c : AptosDataCache ) : boolean {
391+ throw new Error ( "Not implemented" ) ;
392+ }
393+
394+ export function aptos_std_ed25519_public_key_validate_internal ( pubkey : U8 [ ] , $c : AptosDataCache ) : boolean {
395+ throw new Error ( "Not implemented" ) ;
396+ }
386397
387- export function aptos_std_signature_ed25519_verify ( signature : U8 [ ] , pubkey : U8 [ ] , message : U8 [ ] , $c : AptosDataCache ) : boolean {
398+ export function aptos_std_ed25519_signature_verify_strict_internal ( signature : U8 [ ] , pubkey : U8 [ ] , message : U8 [ ] , $c : AptosDataCache ) : boolean {
388399 const ec = new elliptic . eddsa ( "ed25519" ) ;
389400 const keyString = u8ArrayToKeyString ( pubkey ) ;
390401 const key = ec . keyFromPublic ( keyString ) ;
391402 return key . verify ( u8ArrayToKeyString ( message ) , u8ArrayToKeyString ( signature ) ) ;
392403}
393404
394- export function aptos_std_signature_secp256k1_ecdsa_recover ( message : U8 [ ] , recovery_id : U8 , signature : U8 [ ] , $c : AptosDataCache ) : [ U8 [ ] , boolean ] {
405+ export function aptos_std_secp256k1_ecdsa_recover ( message : U8 [ ] , recovery_id : U8 , signature : U8 [ ] , $c : AptosDataCache ) : [ U8 [ ] , boolean ] {
395406 throw new Error ( "Not implemented" ) ;
396407}
397408
0 commit comments