This commit is contained in:
mrhavens committed 2025-05-19 20:36:21 -05:00
commit f5303487be
1865 files changed
+260387

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { getAddress } from "../address/index.js";
import { Signature } from "../crypto/index.js";
import { getBigInt } from "../utils/index.js";
export function authorizationify(auth) {
return {
address: getAddress(auth.address),
nonce: getBigInt((auth.nonce != null) ? auth.nonce : 0),
chainId: getBigInt((auth.chainId != null) ? auth.chainId : 0),
signature: Signature.from(auth.signature)
};
}
//# sourceMappingURL=authorization.js.map