-
Notifications
You must be signed in to change notification settings - Fork 31
/
48362.cab983b9.iframe.bundle.js
1 lines (1 loc) · 103 KB
/
48362.cab983b9.iframe.bundle.js
1
"use strict";(globalThis.webpackChunkmetamask_crx=globalThis.webpackChunkmetamask_crx||[]).push([[43868,48362,58714,75462,96637],{"./shared/lib/confirmation.utils.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{_I:()=>shouldUseRedesignForTransactions,ml:()=>shouldUseRedesignForSignatures,nO:()=>isCorrectDeveloperTransactionType});var _metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@metamask/transaction-controller/dist/types.mjs"),_metamask_controller_utils__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@metamask/controller-utils/dist/constants.mjs");function _array_like_to_array(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _array_without_holes(arr){if(Array.isArray(arr))return _array_like_to_array(arr)}function _iterable_to_array(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}function _non_iterable_spread(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _to_consumable_array(arr){return _array_without_holes(arr)||_iterable_to_array(arr)||_unsupported_iterable_to_array(arr)||_non_iterable_spread()}function _unsupported_iterable_to_array(o,minLen){if(o){if("string"==typeof o)return _array_like_to_array(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _array_like_to_array(o,minLen)}}var REDESIGN_SIGNATURE_APPROVAL_TYPES=[_metamask_controller_utils__WEBPACK_IMPORTED_MODULE_0__.s.EthSignTypedData,_metamask_controller_utils__WEBPACK_IMPORTED_MODULE_0__.s.PersonalSign],REDESIGN_USER_TRANSACTION_TYPES=[_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.D_.contractInteraction,_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.D_.deployContract,_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.D_.tokenMethodApprove,_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.D_.tokenMethodIncreaseAllowance,_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.D_.tokenMethodSetApprovalForAll,_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.D_.tokenMethodTransfer,_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.D_.tokenMethodTransferFrom,_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.D_.tokenMethodSafeTransferFrom,_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.D_.simpleSend],REDESIGN_DEV_TRANSACTION_TYPES=_to_consumable_array(REDESIGN_USER_TRANSACTION_TYPES);function shouldUseRedesignForTransactions(param){var transactionMetadataType=param.transactionMetadataType,isRedesignedTransactionsUserSettingEnabled=param.isRedesignedTransactionsUserSettingEnabled,isRedesignedConfirmationsDeveloperEnabled=param.isRedesignedConfirmationsDeveloperEnabled;return shouldUseRedesignForTransactionsUserMode(isRedesignedTransactionsUserSettingEnabled,transactionMetadataType)||shouldUseRedesignForTransactionsDeveloperMode(isRedesignedConfirmationsDeveloperEnabled,transactionMetadataType)}function shouldUseRedesignForSignatures(param){var approvalType=param.approvalType,isRedesignedSignaturesUserSettingEnabled=param.isRedesignedSignaturesUserSettingEnabled,isRedesignedConfirmationsDeveloperEnabled=param.isRedesignedConfirmationsDeveloperEnabled;return!!isCorrectSignatureApprovalType(approvalType)&&(isRedesignedSignaturesUserSettingEnabled||isRedesignedConfirmationsDeveloperEnabled)}function isCorrectSignatureApprovalType(approvalType){return!!approvalType&&REDESIGN_SIGNATURE_APPROVAL_TYPES.includes(approvalType)}function isCorrectDeveloperTransactionType(transactionMetadataType){return!!transactionMetadataType&&REDESIGN_DEV_TRANSACTION_TYPES.includes(transactionMetadataType)}function isCorrectUserTransactionType(transactionMetadataType){return!!transactionMetadataType&&REDESIGN_USER_TRANSACTION_TYPES.includes(transactionMetadataType)}function shouldUseRedesignForTransactionsDeveloperMode(isRedesignedConfirmationsDeveloperEnabled,transactionMetadataType){return isRedesignedConfirmationsDeveloperEnabled&&isCorrectDeveloperTransactionType(transactionMetadataType)}function shouldUseRedesignForTransactionsUserMode(isRedesignedTransactionsUserSettingEnabled,transactionMetadataType){return isRedesignedTransactionsUserSettingEnabled&&isCorrectUserTransactionType(transactionMetadataType)}},"./test/data/confirmations/contract-interaction.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{AC:()=>CHAIN_ID,cU:()=>PAYMASTER_AND_DATA,ey:()=>DEPOSIT_METHOD_DATA,mg:()=>genUnapprovedContractInteractionConfirmation,n_:()=>CONTRACT_INTERACTION_SENDER_ADDRESS});var _metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@metamask/transaction-controller/dist/constants.mjs"),_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@metamask/transaction-controller/dist/types.mjs"),PAYMASTER_AND_DATA="0x9d6ac51b972544251fcc0f2902e633e3f9bd3f2900000000000000000000000000000000000000000000000000000000666bfd410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003498a76eb88b702e5e52b00fbc16a36baf89ebe3e0dd23170949cffc0a623011383cced660ff67930308c22e5aa746a2d586629ddbd87046a146225bf80e9d6f1b",CONTRACT_INTERACTION_SENDER_ADDRESS="0x2e0d7e8c45221fca00d74a3609a0f7097035d09b",DEPOSIT_METHOD_DATA="0xd0e30db0",CHAIN_ID=_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_0__.tx.GOERLI,genUnapprovedContractInteractionConfirmation=function(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref_address=_ref.address,address=void 0===_ref_address?CONTRACT_INTERACTION_SENDER_ADDRESS:_ref_address,_ref_txData=_ref.txData,txData=void 0===_ref_txData?DEPOSIT_METHOD_DATA:_ref_txData,_ref_chainId=_ref.chainId,chainId=void 0===_ref_chainId?CHAIN_ID:_ref_chainId,simulationData=_ref.simulationData,confirmation={actionId:String(400855682),chainId:chainId,dappSuggestedGasFees:{gas:"0xab77"},defaultGasEstimates:{estimateType:"medium",gas:"0xab77",maxFeePerGas:"0xaa350353",maxPriorityFeePerGas:"0x59682f00"},gasFeeEstimatesLoaded:!0,history:[{actionId:String(400855682),chainId:chainId,dappSuggestedGasFees:{gas:"0xab77"},defaultGasEstimates:{estimateType:"medium",gas:"0xab77",maxFeePerGas:"0xaa350353",maxPriorityFeePerGas:"0x59682f00"},id:"1d7c08c0-fe54-11ee-9243-91b1e533746a",origin:"https://metamask.github.io",securityAlertResponse:{reason:"loading",result_type:"validation_in_progress"},sendFlowHistory:[],status:_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.x8.unapproved,time:1713534772044,txParams:{data:txData,from:address,gas:"0xab77",maxFeePerGas:"0xaa350353",maxPriorityFeePerGas:"0x59682f00",to:"0x88aa6343307ec9a652ccddda3646e62b2f1a5125",value:"0x3782dace9d900000"},type:_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.D_.contractInteraction,userEditedGasLimit:!1,userFeeLevel:"medium",verifiedOnBlockchain:!1},[{note:"TransactionController#updateSimulationData - Update simulation data",op:"add",path:"/simulationData",timestamp:1713534772417,value:{nativeBalanceChange:{difference:"0x3782dace9d900000",isDecrease:!0,newBalance:"0xcc0ea4fb7ffa87d",previousBalance:"0x4443c51e558fa87d"},tokenBalanceChanges:[]}},{op:"add",path:"/gasFeeEstimatesLoaded",value:!0}],[{note:"TransactionController:updatesecurityAlertResponse - securityAlertResponse updated",op:"replace",path:"/securityAlertResponse/result_type",timestamp:1713534773213,value:"Benign"},{op:"replace",path:"/securityAlertResponse/reason",value:""},{op:"add",path:"/securityAlertResponse/description",value:""},{op:"add",path:"/securityAlertResponse/features",value:[]},{op:"add",path:"/securityAlertResponse/block",value:5732063}]],id:"1d7c08c0-fe54-11ee-9243-91b1e533746a",origin:"https://metamask.github.io",securityAlertResponse:{features:[],reason:"",result_type:"Benign"},sendFlowHistory:[],simulationData:{nativeBalanceChange:{difference:"0x3782dace9d900000",isDecrease:!0,newBalance:"0xcc0ea4fb7ffa87d",previousBalance:"0x4443c51e558fa87d"},tokenBalanceChanges:[]},status:_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.x8.unapproved,time:1713534772044,txParams:{data:txData,from:address,gas:"0xab77",maxFeePerGas:"0xaa350353",maxPriorityFeePerGas:"0x59682f00",to:"0x88aa6343307ec9a652ccddda3646e62b2f1a5125",value:"0x3782dace9d900000"},type:_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.D_.contractInteraction,userEditedGasLimit:!1,userFeeLevel:"medium",verifiedOnBlockchain:!1};return simulationData&&(confirmation.simulationData=simulationData),confirmation}},"./test/data/confirmations/helper.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{f6:()=>getMockApproveConfirmState,gH:()=>getMockConfirmState,bb:()=>getMockConfirmStateForTransaction,cX:()=>getMockContractInteractionConfirmState,nN:()=>getMockPersonalSignConfirmState,bh:()=>getMockPersonalSignConfirmStateForRequest,oF:()=>getMockTokenTransferConfirmState,dV:()=>getMockTypedSignConfirmState,jk:()=>getMockTypedSignConfirmStateForRequest});var constants=__webpack_require__("./node_modules/@metamask/controller-utils/dist/constants.mjs"),lodash=__webpack_require__("./node_modules/lodash/lodash.js"),network=__webpack_require__("./shared/constants/network.ts"),mock_state=__webpack_require__("./test/data/mock-state.json"),contract_interaction=__webpack_require__("./test/data/confirmations/contract-interaction.ts"),personal_sign=__webpack_require__("./test/data/confirmations/personal_sign.ts"),types=__webpack_require__("./node_modules/@metamask/transaction-controller/dist/types.mjs");function token_approve_define_property(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function token_approve_object_spread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{},ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){token_approve_define_property(target,key,source[key])})}return target}function token_approve_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)}return keys}function token_approve_object_spread_props(target,source){return source=null!=source?source:{},Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):token_approve_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}),target}var genUnapprovedApproveConfirmation=function(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref_address=_ref.address,address=void 0===_ref_address?contract_interaction.n_:_ref_address,_ref_chainId=_ref.chainId,chainId=void 0===_ref_chainId?contract_interaction.AC:_ref_chainId,_ref_amountHex=_ref.amountHex;return token_approve_object_spread_props(token_approve_object_spread({},(0,contract_interaction.mg)({chainId:chainId})),{txParams:{from:address,data:"0x095ea7b30000000000000000000000002e0d7e8c45221fca00d74a3609a0f7097035d09b".concat(void 0===_ref_amountHex?"0000000000000000000000000000000000000000000000000000000000000001":_ref_amountHex),gas:"0x16a92",to:"0x076146c765189d51be3160a2140cf80bfc73ad68",value:"0x0",maxFeePerGas:"0x5b06b0c0d",maxPriorityFeePerGas:"0x59682f00"},type:types.D_.tokenMethodApprove})};function token_transfer_define_property(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function token_transfer_object_spread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{},ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){token_transfer_define_property(target,key,source[key])})}return target}function token_transfer_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)}return keys}function token_transfer_object_spread_props(target,source){return source=null!=source?source:{},Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):token_transfer_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}),target}var genUnapprovedTokenTransferConfirmation=function(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref_address=_ref.address,address=void 0===_ref_address?contract_interaction.n_:_ref_address,_ref_chainId=_ref.chainId,chainId=void 0===_ref_chainId?contract_interaction.AC:_ref_chainId,_ref_isWalletInitiatedConfirmation=_ref.isWalletInitiatedConfirmation,_ref_amountHex=_ref.amountHex;return token_transfer_object_spread_props(token_transfer_object_spread({},(0,contract_interaction.mg)({chainId:chainId})),{txParams:{from:address,data:"0xa9059cbb0000000000000000000000002e0d7e8c45221fca00d74a3609a0f7097035d09b".concat(void 0===_ref_amountHex?"0000000000000000000000000000000000000000000000000000000000000001":_ref_amountHex),gas:"0x16a92",to:"0x076146c765189d51be3160a2140cf80bfc73ad68",value:"0x0",maxFeePerGas:"0x5b06b0c0d",maxPriorityFeePerGas:"0x59682f00"},type:types.D_.tokenMethodTransfer,origin:void 0!==_ref_isWalletInitiatedConfirmation&&_ref_isWalletInitiatedConfirmation?"metamask":"https://metamask.github.io"})},typed_sign=__webpack_require__("./test/data/confirmations/typed_sign.ts");function helper_define_property(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function helper_object_spread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{},ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){helper_define_property(target,key,source[key])})}return target}function helper_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)}return keys}function helper_object_spread_props(target,source){return source=null!=source?source:{},Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):helper_ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}),target}var getMockTypedSignConfirmState=function(){var args=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{metamask:{}};return helper_object_spread_props(helper_object_spread({},mock_state,args),{metamask:helper_object_spread_props(helper_object_spread({},mock_state.metamask,args.metamask),{preferences:helper_object_spread_props(helper_object_spread({},mock_state.metamask.preferences),{redesignedTransactionsEnabled:!0,redesignedConfirmationsEnabled:!0,isRedesignedConfirmationsDeveloperEnabled:!0}),pendingApprovals:helper_define_property({},typed_sign.BC.id,{id:typed_sign.BC.id,type:constants.s.EthSignTypedData}),unapprovedTypedMessages:helper_define_property({},typed_sign.BC.id,typed_sign.BC)})})},getMockTypedSignConfirmStateForRequest=function(signature){var args=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{metamask:{}};return helper_object_spread_props(helper_object_spread({},mock_state,args),{metamask:helper_object_spread_props(helper_object_spread({},mock_state.metamask,args.metamask),{preferences:helper_object_spread_props(helper_object_spread({},mock_state.metamask.preferences),{redesignedTransactionsEnabled:!0,redesignedConfirmationsEnabled:!0,isRedesignedConfirmationsDeveloperEnabled:!0}),pendingApprovals:helper_define_property({},signature.id,{id:signature.id,type:constants.s.EthSignTypedData}),unapprovedTypedMessages:helper_define_property({},signature.id,signature)})})},getMockPersonalSignConfirmState=function(){var args=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{metamask:{}};return helper_object_spread_props(helper_object_spread({},mock_state,args),{metamask:helper_object_spread_props(helper_object_spread({},mock_state.metamask,args.metamask),{preferences:helper_object_spread_props(helper_object_spread({},mock_state.metamask.preferences),{redesignedTransactionsEnabled:!0,redesignedConfirmationsEnabled:!0,isRedesignedConfirmationsDeveloperEnabled:!0}),pendingApprovals:helper_define_property({},personal_sign.ds.id,{id:personal_sign.ds.id,type:constants.s.PersonalSign}),unapprovedPersonalMsgs:helper_define_property({},personal_sign.ds.id,personal_sign.ds)})})},getMockPersonalSignConfirmStateForRequest=function(signature){var args=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{metamask:{}};return helper_object_spread_props(helper_object_spread({},mock_state,args),{metamask:helper_object_spread_props(helper_object_spread({},mock_state.metamask,args.metamask),{preferences:helper_object_spread_props(helper_object_spread({},mock_state.metamask.preferences),{redesignedTransactionsEnabled:!0,redesignedConfirmationsEnabled:!0,isRedesignedConfirmationsDeveloperEnabled:!0}),pendingApprovals:helper_define_property({},signature.id,{id:signature.id,type:constants.s.PersonalSign}),unapprovedPersonalMsgs:helper_define_property({},signature.id,signature)})})},getMockConfirmState=function(){var _args_metamask,args=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{metamask:{}};return helper_object_spread_props(helper_object_spread({},mock_state,args),{metamask:helper_object_spread_props(helper_object_spread({},mock_state.metamask,args.metamask),{preferences:helper_object_spread_props(helper_object_spread({},mock_state.metamask.preferences,null===(_args_metamask=args.metamask)||void 0===_args_metamask?void 0:_args_metamask.preferences),{redesignedTransactionsEnabled:!0,redesignedConfirmationsEnabled:!0,isRedesignedConfirmationsDeveloperEnabled:!0})})})},getMockConfirmStateForTransaction=function(transaction){var args=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{metamask:{}};return getMockConfirmState((0,lodash.merge)({metamask:helper_object_spread_props(helper_object_spread({},args.metamask),{pendingApprovals:helper_define_property({},transaction.id,{id:transaction.id,type:constants.s.Transaction}),transactions:[transaction]})},args))},getMockContractInteractionConfirmState=function(){var args=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{metamask:{}};return getMockConfirmStateForTransaction((0,contract_interaction.mg)({chainId:network.tx.GOERLI}),args)},getMockApproveConfirmState=function(){return getMockConfirmStateForTransaction(genUnapprovedApproveConfirmation({chainId:"0x5"}))},getMockTokenTransferConfirmState=function(param){var _param_isWalletInitiatedConfirmation=param.isWalletInitiatedConfirmation;return getMockConfirmStateForTransaction(genUnapprovedTokenTransferConfirmation({chainId:"0x5",isWalletInitiatedConfirmation:void 0!==_param_isWalletInitiatedConfirmation&&_param_isWalletInitiatedConfirmation}))}},"./test/data/confirmations/personal_sign.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Bt:()=>SignatureRequestSIWEWithResources,Yw:()=>signatureRequestSIWE,ds:()=>unapprovedPersonalSignMsg});var _metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@metamask/transaction-controller/dist/constants.mjs"),unapprovedPersonalSignMsg={id:"0050d5b0-c023-11ee-a0cb-3390a510a0ab",chainId:_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_0__.tx.GOERLI,status:"unapproved",time:new Date().getTime(),type:"personal_sign",securityProviderResponse:null,chainid:"0x5",msgParams:{from:"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",data:"0x4578616d706c652060706572736f6e616c5f7369676e60206d657373616765",origin:"https://metamask.github.io",siwe:{isSIWEMessage:!1,parsedMessage:null}}},signatureRequestSIWE={id:"210ca3b0-1ccb-11ef-b096-89c4d726ebb5",chainId:_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_0__.tx.GOERLI,securityAlertResponse:{reason:"loading",result_type:"validation_in_progress",securityAlertId:"b826df20-2eda-41bf-becf-6a100141a8be"},status:"unapproved",time:1716884423019,type:"personal_sign",msgParams:{from:"0x935e73edb9ff52e23bac7f7e049a1ecd06d05477",data:"0x6d6574616d61736b2e6769746875622e696f2077616e747320796f7520746f207369676e20696e207769746820796f757220457468657265756d206163636f756e743a0a3078393335653733656462396666353265323362616337663765303433613165636430366430353437370a0a492061636365707420746865204d6574614d61736b205465726d73206f6620536572766963653a2068747470733a2f2f636f6d6d756e6974792e6d6574616d61736b2e696f2f746f730a0a5552493a2068747470733a2f2f6d6574616d61736b2e6769746875622e696f0a56657273696f6e3a20310a436861696e2049443a20310a4e6f6e63653a2033323839313735370a4973737565642041743a20323032312d30392d33305431363a32353a32342e3030305a",signatureMethod:"personal_sign",origin:"https://metamask.github.io",siwe:{isSIWEMessage:!0,parsedMessage:{address:"0x935e73edb9ff52e23bac7f7e049a1ecd06d05477",chainId:1,domain:"metamask.github.io",expirationTime:null,issuedAt:"2021-09-30T16:25:24.000Z",nonce:"32891757",notBefore:"2022-03-17T12:45:13.610Z",requestId:"some_id",scheme:null,statement:"I accept the MetaMask Terms of Service: https://community.metamask.io/tos",uri:"https://metamask.github.io",version:"1",resources:null}}}},SignatureRequestSIWEWithResources={id:"210ca3b0-1ccb-11ef-b096-89c4d726ebb5",chainId:_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_0__.tx.GOERLI,securityAlertResponse:{reason:"loading",result_type:"validation_in_progress",securityAlertId:"b826df20-2eda-41bf-becf-6a100141a8be"},status:"unapproved",time:1716884423019,type:"personal_sign",msgParams:{from:"0x935e73edb9ff52e23bac7f7e049a1ecd06d05477",data:"0x6d6574616d61736b2e6769746875622e696f2077616e747320796f7520746f207369676e20696e207769746820796f757220457468657265756d206163636f756e743a0a3078393335653733656462396666353265323362616337663765303433613165636430366430353437370a0a492061636365707420746865204d6574614d61736b205465726d73206f6620536572766963653a2068747470733a2f2f636f6d6d756e6974792e6d6574616d61736b2e696f2f746f730a0a5552493a2068747470733a2f2f6d6574616d61736b2e6769746875622e696f0a56657273696f6e3a20310a436861696e2049443a20310a4e6f6e63653a2033323839313735370a4973737565642041743a20323032312d30392d33305431363a32353a32342e3030305a",signatureMethod:"personal_sign",origin:"https://metamask.github.io",siwe:{isSIWEMessage:!0,parsedMessage:{address:"0x935e73edb9ff52e23bac7f7e043a1ecd06d05477",chainId:1,domain:"metamask.github.io",expirationTime:null,issuedAt:"2021-09-30T16:25:24.000Z",nonce:"32891757",notBefore:"2022-03-17T12:45:13.610Z",requestId:"some_id",scheme:null,statement:"I accept the MetaMask Terms of Service: https://community.metamask.io/tos",uri:"https://metamask.github.io",version:"1",resources:["ipfs://Qme7ss3ARVgxv6rXqVPiikMJ8u2NLgmgszg13pYrDKEoiu","https://example.com/my-web2-claim.json"]}}}}},"./test/data/confirmations/typed_sign.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{BC:()=>unapprovedTypedSignMsgV4,jH:()=>permitSignatureMsg,u0:()=>unapprovedTypedSignMsgV3,uF:()=>unapprovedTypedSignMsgV1});var _metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@metamask/transaction-controller/dist/constants.mjs"),_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@metamask/transaction-controller/dist/types.mjs"),_shared_constants_app__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./shared/constants/app.ts"),unapprovedTypedSignMsgV1={id:"82ab2400-e2c6-11ee-9627-73cc88f00492",chainId:_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.tx.GOERLI,securityAlertResponse:{reason:"loading",result_type:"validation_in_progress",securityAlertId:"3a938cfc-301d-4af0-96c4-b51fe1a5d6ad"},status:"unapproved",time:1710505271872,type:_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_2__.D_.signTypedData,securityProviderResponse:null,msgParams:{from:"0x935e73edb9ff52e23bac7f7e043a1ecd06d05477",data:[{type:"string",name:"Message",value:"Hi, Alice!"},{type:"uint32",name:"A number",value:"1337"}],requestId:11,signatureMethod:"eth_signTypedData",version:"V1",origin:"https://metamask.github.io"}},unapprovedTypedSignMsgV3={id:"17e41af0-e073-11ee-9eec-5fd284826685",chainId:_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.tx.GOERLI,securityAlertResponse:{reason:"loading",result_type:"validation_in_progress",securityAlertId:"efefe1db-6c6e-4a2c-aa0d-6183ad3ec810"},status:"unapproved",time:1710249542175,type:_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_2__.D_.signTypedData,securityProviderResponse:null,msgParams:{data:JSON.stringify({types:{EIP712Domain:[{name:"name",type:"string"},{name:"version",type:"string"},{name:"chainId",type:"uint256"},{name:"verifyingContract",type:"address"}],Person:[{name:"name",type:"string"},{name:"wallet",type:"address"}],Mail:[{name:"from",type:"Person"},{name:"to",type:"Person"},{name:"contents",type:"string"}]},primaryType:"Mail",domain:{name:"Ether Mail",version:"1",chainId:1,verifyingContract:"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC"},message:{from:{name:"Cow",wallet:"0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826"},to:{name:"Bob",wallet:"0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB"},contents:"Hello, Bob!"}}),from:"0x935e73edb9ff52e23bac7f7e043a1ecd06d05477",version:"V3",requestId:12,signatureMethod:"eth_signTypedData_v3",origin:"https://metamask.github.io"}},unapprovedTypedSignMsgV4={id:"0050d5b0-c023-11ee-a0cb-3390a510a0ab",chainId:_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.tx.GOERLI,status:"unapproved",time:new Date().getTime(),chainid:"0x5",type:_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_2__.D_.signTypedData,securityProviderResponse:null,msgParams:{from:"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",data:JSON.stringify({domain:{chainId:97,name:"Ether Mail",verifyingContract:"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",version:"1"},message:{contents:"Hello, Bob!",from:{name:"Cow",wallets:["0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826","0xDeaDbeefdEAdbeefdEadbEEFdeadbeEFdEaDbeeF","0x06195827297c7A80a443b6894d3BDB8824b43896"]},to:[{name:"Bob",wallets:["0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB","0xB0BdaBea57B0BDABeA57b0bdABEA57b0BDabEa57","0xB0B0b0b0b0b0B000000000000000000000000000"]}]},primaryType:"Mail",types:{EIP712Domain:[{name:"name",type:"string"},{name:"version",type:"string"},{name:"chainId",type:"uint256"},{name:"verifyingContract",type:"address"}],Mail:[{name:"from",type:"Person"},{name:"to",type:"Person[]"},{name:"contents",type:"string"}],Person:[{name:"name",type:"string"},{name:"wallets",type:"address[]"}]}}),origin:"https://metamask.github.io",requestId:123456789,signatureMethod:_shared_constants_app__WEBPACK_IMPORTED_MODULE_0__.$z.ETH_SIGN_TYPED_DATA_V4}};_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.tx.GOERLI,_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_2__.D_.signTypedData;var permitSignatureMsg={id:"0b1787a0-1c44-11ef-b70d-e7064bd7b659",chainId:_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.tx.GOERLI,securityAlertResponse:{reason:"loading",result_type:"validation_in_progress",securityAlertId:"ab21395f-2190-472f-8cfa-3d224e7529d8"},status:"unapproved",time:1716826404122,type:_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_2__.D_.signTypedData,msgParams:{data:'{"types":{"EIP712Domain":[{"name":"name","type":"string"},{"name":"version","type":"string"},{"name":"chainId","type":"uint256"},{"name":"verifyingContract","type":"address"}],"Permit":[{"name":"owner","type":"address"},{"name":"spender","type":"address"},{"name":"value","type":"uint256"},{"name":"nonce","type":"uint256"},{"name":"deadline","type":"uint256"}]},"primaryType":"Permit","domain":{"name":"MyToken","version":"1","verifyingContract":"0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC","chainId":1},"message":{"owner":"0x935e73edb9ff52e23bac7f7e043a1ecd06d05477","spender":"0x5B38Da6a701c568545dCfcB03FcB875f56beddC4","value":3000,"nonce":0,"deadline":50000000000}}',from:"0x935e73edb9ff52e23bac7f7e043a1ecd06d05477",version:"V4",requestId:14,signatureMethod:"eth_signTypedData_v4",origin:"https://metamask.github.io"}};_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.tx.GOERLI,_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.tx.GOERLI,_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.tx.GOERLI,_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_2__.D_.signTypedData,_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_1__.tx.GOERLI,_metamask_transaction_controller__WEBPACK_IMPORTED_MODULE_2__.D_.signTypedData},"./ui/pages/confirmations/components/confirm/header/header.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>header});var types=__webpack_require__("./node_modules/@metamask/transaction-controller/dist/types.mjs"),react=__webpack_require__("./node_modules/react/index.js"),app=__webpack_require__("./shared/constants/app.ts"),component_library=__webpack_require__("./ui/components/component-library/index.ts"),identicon=__webpack_require__("./ui/components/ui/identicon/index.js"),design_system=__webpack_require__("./ui/helpers/constants/design-system.ts"),accounts=__webpack_require__("./ui/helpers/utils/accounts.js"),context_confirm=__webpack_require__("./ui/pages/confirmations/context/confirm/index.tsx"),es=__webpack_require__("./node_modules/react-redux/es/index.js"),network=__webpack_require__("./shared/constants/network.ts"),useI18nContext=__webpack_require__("./ui/hooks/useI18nContext.js"),selectors=__webpack_require__("./ui/selectors/index.js");let hooks_useConfirmationNetworkInfo=function useConfirmationNetworkInfo(){var _networkConfiguration_name,_ref,t=(0,useI18nContext.P)(),currentConfirmation=(0,context_confirm.TW)().currentConfirmation,chainId=null==currentConfirmation?void 0:currentConfirmation.chainId,networkConfiguration=(0,es.d4)(function(state){return(0,selectors.gD7)(state,chainId)}),networkDisplayName="",networkImageUrl="";return currentConfirmation&&(networkDisplayName=null!==(_ref=null!==(_networkConfiguration_name=null==networkConfiguration?void 0:networkConfiguration.name)&&void 0!==_networkConfiguration_name?_networkConfiguration_name:network.qJ[chainId])&&void 0!==_ref?_ref:t("privateNetwork"),networkImageUrl=network.Cl[chainId]),{networkImageUrl:networkImageUrl,networkDisplayName:networkDisplayName}};var util=__webpack_require__("./ui/helpers/utils/util.js"),utils=__webpack_require__("./ui/pages/confirmations/components/confirm/utils.ts");let hooks_useConfirmationRecipientInfo=function useConfirmationRecipientInfo(){var currentConfirmation=(0,context_confirm.TW)().currentConfirmation,allAccounts=(0,es.d4)(selectors.uQt);if(currentConfirmation){var senderAddress,senderName,_fromAccount_metadata,from=(0,utils.B)(currentConfirmation).from,fromAccount=(0,util.N_)(allAccounts,from);senderAddress=from,senderName=null==fromAccount?void 0:null===(_fromAccount_metadata=fromAccount.metadata)||void 0===_fromAccount_metadata?void 0:_fromAccount_metadata.name}return{senderAddress:senderAddress||"",senderName:senderName||""}};var actions=__webpack_require__("./ui/store/actions.ts"),preferences=__webpack_require__("./ui/pages/confirmations/selectors/preferences.ts"),AdvancedDetailsButton=function(){var dispatch=(0,es.wA)(),showAdvancedDetails=(0,es.d4)(preferences.O),setShowAdvancedDetails=function(value){dispatch((0,actions.setConfirmationAdvancedDetailsOpen)(value))};return react.createElement(component_library.az,{backgroundColor:showAdvancedDetails?design_system.i0.infoMuted:design_system.i0.transparent,borderRadius:design_system.Z6.MD,marginRight:1},react.createElement(component_library.a2,{ariaLabel:"Advanced tx details",color:design_system.Li.iconDefault,iconName:component_library.$M.Customize,"data-testid":"header-advanced-details-button",size:component_library.f3.Md,onClick:function(){setShowAdvancedDetails(!showAdvancedDetails)}}))},DAppInitiatedHeader=function(){var t=(0,useI18nContext.P)();return react.createElement(component_library.az,{display:design_system.nl.Flex,flexDirection:design_system.bo.Row,justifyContent:design_system.A9.center,alignItems:design_system.k2.center,backgroundColor:design_system.i0.backgroundDefault,padding:3,style:{zIndex:2,position:"relative"}},react.createElement(component_library.EY,{variant:design_system.J3.headingMd,color:design_system.r7.inherit},t("transferRequest")),react.createElement(component_library.az,{paddingRight:3,style:{marginLeft:"auto",position:"absolute",right:0}},react.createElement(AdvancedDetailsButton,null)))},metametrics=__webpack_require__("./shared/constants/metametrics.ts"),row=__webpack_require__("./ui/components/app/confirm/info/row/index.ts"),currency=__webpack_require__("./ui/components/app/confirm/info/row/currency.tsx"),multichain=__webpack_require__("./ui/components/multichain/index.js"),tooltip=__webpack_require__("./ui/components/ui/tooltip/tooltip.js"),contexts_metametrics=__webpack_require__("./ui/contexts/metametrics.js"),useAccountTotalFiatBalance=__webpack_require__("./ui/hooks/useAccountTotalFiatBalance.js"),useBalance=function(fromAddress){var shouldHideZeroBalanceTokens=(0,es.d4)(selectors.wri),fromAccount=(0,es.d4)(function(state){return(0,selectors.wV5)(state,fromAddress)}),totalWeiBalance=(0,useAccountTotalFiatBalance.r)(fromAccount,shouldHideZeroBalanceTokens).totalWeiBalance,currentNetwork=(0,es.d4)(selectors.SLx),showFiatInTestnets=(0,es.d4)(selectors.fXq),showFiat=network.nh.includes(null==currentNetwork?void 0:currentNetwork.nickname)&&!showFiatInTestnets,balanceToUse=totalWeiBalance,balance=(0,es.d4)(selectors.pWD);return fromAddress?(showFiat&&(balanceToUse=balance),{balance:balanceToUse}):{}},utils_confirm=__webpack_require__("./ui/pages/confirmations/utils/confirm.ts"),confirmation_utils=__webpack_require__("./shared/lib/confirmation.utils.ts");function _array_like_to_array(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _array_with_holes(arr){if(Array.isArray(arr))return arr}function _define_property(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _iterable_to_array_limit(arr,i){var _s,_e,_i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}}function _non_iterable_rest(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _object_spread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{},ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){_define_property(target,key,source[key])})}return target}function _sliced_to_array(arr,i){return _array_with_holes(arr)||_iterable_to_array_limit(arr,i)||_unsupported_iterable_to_array(arr,i)||_non_iterable_rest()}function _unsupported_iterable_to_array(o,minLen){if(o){if("string"==typeof o)return _array_like_to_array(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _array_like_to_array(o,minLen)}}let header_info=function(){var _currentConfirmation_msgParams,trackAccountModalOpened=function trackAccountModalOpened(){trackEvent({category:metametrics.FZ.Confirmations,event:metametrics.gP.AccountDetailsOpened,properties:_object_spread({action:"Confirm Screen"},eventProps)})},trackEvent=(0,react.useContext)(contexts_metametrics.O2),_React_useState=_sliced_to_array(react.useState(!1),2),showAccountInfo=_React_useState[0],setShowAccountInfo=_React_useState[1],currentConfirmation=(0,context_confirm.TW)().currentConfirmation,_useConfirmationRecipientInfo=hooks_useConfirmationRecipientInfo(),fromAddress=_useConfirmationRecipientInfo.senderAddress,fromName=_useConfirmationRecipientInfo.senderName,t=(0,useI18nContext.P)(),balanceToUse=useBalance(fromAddress).balance,eventProps=(0,utils_confirm.rS)(currentConfirmation)?{location:metametrics.If.SignatureConfirmation,signature_type:null==currentConfirmation?void 0:null===(_currentConfirmation_msgParams=currentConfirmation.msgParams)||void 0===_currentConfirmation_msgParams?void 0:_currentConfirmation_msgParams.signatureMethod}:{location:metametrics.If.Transaction,transaction_type:null==currentConfirmation?void 0:currentConfirmation.type},isShowAdvancedDetailsToggle=(0,confirmation_utils.nO)(null==currentConfirmation?void 0:currentConfirmation.type);return react.createElement(react.Fragment,null,react.createElement(component_library.az,{display:design_system.nl.Flex,justifyContent:design_system.A9.flexEnd,style:{alignSelf:"flex-end"}},react.createElement(tooltip.A,{position:"bottom",title:t("accountDetails"),interactive:!0},react.createElement(component_library.a2,{ariaLabel:t("accountDetails"),color:design_system.Li.iconDefault,iconName:component_library.$M.Info,size:component_library.f3.Md,onClick:function(){trackAccountModalOpened(),setShowAccountInfo(!0)},"data-testid":"header-info__account-details-button"})),isShowAdvancedDetailsToggle&&react.createElement(AdvancedDetailsButton,null)),react.createElement(component_library.aF,{isOpen:showAccountInfo,onClose:function(){return setShowAccountInfo(!1)},"data-testid":"account-details-modal",isClosedOnEscapeKey:!1,isClosedOnOutsideClick:!1},react.createElement(component_library.mH,null),react.createElement(component_library.$m,null,react.createElement(component_library.rQ,null,react.createElement(component_library.az,{display:design_system.nl.Flex,justifyContent:design_system.A9.center,style:{position:"relative"}},react.createElement(component_library.az,{style:{margin:"0 auto"},display:design_system.nl.Flex,justifyContent:design_system.A9.center,flexDirection:design_system.bo.Column,alignItems:design_system.k2.center},react.createElement(identicon.A,{address:fromAddress,diameter:40}),react.createElement(component_library.EY,{fontWeight:design_system.IT.Bold,variant:design_system.J3.bodyMd,color:design_system.r7.textDefault,marginTop:2,"data-testid":"confirmation-account-details-modal__account-name"},fromName)),react.createElement(component_library.az,{style:{position:"absolute",right:0}},react.createElement(component_library.a2,{ariaLabel:t("close"),iconName:component_library.$M.Close,size:component_library.f3.Sm,className:"confirm_header__close-button",onClick:function(){return setShowAccountInfo(!1)},"data-testid":"confirmation-account-details-modal__close-button"})))),react.createElement(component_library.cw,null,react.createElement(row.z$,{label:"Account address"},react.createElement(multichain.ab,{address:fromAddress,shorten:!0})),react.createElement(row.z$,{label:"Balance"},react.createElement(currency.U,{value:null!=balanceToUse?balanceToUse:0,"data-testid":"confirmation-account-details-modal__account-balance"}))))))};var react_router=__webpack_require__("./node_modules/react-router-dom/node_modules/react-router/esm/react-router.js"),transaction=__webpack_require__("./shared/constants/transaction.ts"),confirm_transaction_duck=__webpack_require__("./ui/ducks/confirm-transaction/confirm-transaction.duck.js"),send=__webpack_require__("./ui/ducks/send/index.js"),routes=__webpack_require__("./ui/helpers/constants/routes.ts");function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){reject(error);return}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _async_to_generator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)})}}function _ts_generator(thisArg,body){var f,y,t,g,_={label:0,sent:function(){if(1&t[0])throw t[1];return t[1]},trys:[],ops:[]};return g={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw TypeError("Generator is already executing.");for(;_;)try{if(f=1,y&&(t=2&op[0]?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[2&op[0],t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(!(t=(t=_.trys).length>0&&t[t.length-1])&&(6===op[0]||2===op[0])){_=0;continue}if(3===op[0]&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(6===op[0]&&_.label<t[1]){_.label=t[1],t=op;break}if(t&&_.label<t[2]){_.label=t[2],_.ops.push(op);break}t[2]&&_.ops.pop(),_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e],y=0}finally{f=t=0}if(5&op[0])throw op[1];return{value:op[0]?op[1]:void 0,done:!0}}}var WalletInitiatedHeader=function(){var t=(0,useI18nContext.P)(),dispatch=(0,es.wA)(),history=(0,react_router.W6)(),currentConfirmation=(0,context_confirm.TW)().currentConfirmation,handleBackButtonClick=(0,react.useCallback)(_async_to_generator(function(){var id,isNativeSend,isERC20TokenSend,isNFTTokenSend,assetType;return _ts_generator(this,function(_state){switch(_state.label){case 0:return id=currentConfirmation.id,isNativeSend=currentConfirmation.type===types.D_.simpleSend,isERC20TokenSend=currentConfirmation.type===types.D_.tokenMethodTransfer,isNFTTokenSend=currentConfirmation.type===types.D_.tokenMethodTransferFrom||currentConfirmation.type===types.D_.tokenMethodSafeTransferFrom,assetType=isNativeSend?transaction.PW.native:isERC20TokenSend?transaction.PW.token:isNFTTokenSend?transaction.PW.NFT:transaction.PW.unknown,[4,dispatch((0,send.GO)(assetType,id.toString()))];case 1:return _state.sent(),dispatch((0,confirm_transaction_duck.GB)()),dispatch((0,actions.showSendTokenPage)()),history.push(routes.xW),[2]}})}),[currentConfirmation,dispatch,history]);return react.createElement(component_library.az,{alignItems:design_system.k2.center,backgroundColor:design_system.i0.backgroundDefault,display:design_system.nl.Flex,flexDirection:design_system.bo.Row,justifyContent:design_system.A9.spaceBetween,padding:3,style:{zIndex:2}},react.createElement(component_library.a2,{iconName:component_library.$M.ArrowLeft,ariaLabel:t("back"),size:component_library.f3.Md,onClick:handleBackButtonClick,"data-testid":"wallet-initiated-header-back-button",color:design_system.Li.iconDefault}),react.createElement(component_library.EY,{variant:design_system.J3.headingMd,color:design_system.r7.inherit},t("review")),react.createElement(AdvancedDetailsButton,null))},CONFIRMATIONS_WITH_NEW_HEADER=[types.D_.tokenMethodTransfer,types.D_.tokenMethodTransferFrom,types.D_.tokenMethodSafeTransferFrom,types.D_.simpleSend];let header=function(){var _useConfirmationNetworkInfo=hooks_useConfirmationNetworkInfo(),networkImageUrl=_useConfirmationNetworkInfo.networkImageUrl,networkDisplayName=_useConfirmationNetworkInfo.networkDisplayName,_useConfirmationRecipientInfo=hooks_useConfirmationRecipientInfo(),fromAddress=_useConfirmationRecipientInfo.senderAddress,fromName=_useConfirmationRecipientInfo.senderName,currentConfirmation=(0,context_confirm.TW)().currentConfirmation,DefaultHeader=react.createElement(component_library.az,{display:design_system.nl.Flex,className:"confirm_header__wrapper",alignItems:design_system.k2.center,justifyContent:design_system.A9.spaceBetween,"data-testid":"confirm-header"},react.createElement(component_library.az,{alignItems:design_system.k2.flexStart,display:design_system.nl.Flex,padding:4},react.createElement(component_library.az,{display:design_system.nl.Flex,marginTop:2},react.createElement(identicon.A,{address:fromAddress,diameter:32}),react.createElement(component_library.Gn,{src:networkImageUrl,name:networkDisplayName,size:component_library.LM.Xs,backgroundColor:(0,accounts.ZX)(networkDisplayName),className:"confirm_header__avatar-network"})),react.createElement(component_library.az,{marginInlineStart:4},react.createElement(component_library.EY,{color:design_system.r7.textDefault,variant:design_system.J3.bodyMdMedium,"data-testid":"header-account-name"},fromName),react.createElement(component_library.EY,{color:design_system.r7.textAlternative,"data-testid":"header-network-display-name"},networkDisplayName))),react.createElement(component_library.az,{alignItems:design_system.k2.flexEnd,display:design_system.nl.Flex,padding:4},react.createElement(header_info,null))),isConfirmationWithNewHeader=(null==currentConfirmation?void 0:currentConfirmation.type)&&CONFIRMATIONS_WITH_NEW_HEADER.includes(currentConfirmation.type),isWalletInitiated=(null==currentConfirmation?void 0:currentConfirmation.origin)===app.jt;return isConfirmationWithNewHeader&&isWalletInitiated?react.createElement(WalletInitiatedHeader,null):isConfirmationWithNewHeader&&!isWalletInitiated?react.createElement(DAppInitiatedHeader,null):DefaultHeader}},"./ui/pages/confirmations/components/confirm/utils.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{B:()=>getConfirmationSender});var getConfirmationSender=function(currentConfirmation){var from,msgParams=null==currentConfirmation?void 0:currentConfirmation.msgParams,txParams=null==currentConfirmation?void 0:currentConfirmation.txParams;return msgParams&&(from=msgParams.from),txParams&&(from=txParams.from),{from:from}}},"./ui/pages/confirmations/context/confirm/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{VF:()=>ConfirmContextProvider,TW:()=>useConfirmContext});var react=__webpack_require__("./node_modules/react/index.js"),useCurrentConfirmation=__webpack_require__("./ui/pages/confirmations/hooks/useCurrentConfirmation.ts"),react_router=__webpack_require__("./node_modules/react-router-dom/node_modules/react-router/esm/react-router.js"),useConfirmationNavigation=__webpack_require__("./ui/pages/confirmations/hooks/useConfirmationNavigation.ts");let hooks_syncConfirmPath=function(currentConfirmation){var navigateToId=(0,useConfirmationNavigation.N)().navigateToId,paramId=(0,react_router.g)().id,confirmationId=null==currentConfirmation?void 0:currentConfirmation.id;(0,react.useEffect)(function(){confirmationId&&(paramId||navigateToId(confirmationId))},[confirmationId,paramId,navigateToId])};function _array_like_to_array(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _array_with_holes(arr){if(Array.isArray(arr))return arr}function _iterable_to_array_limit(arr,i){var _s,_e,_i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}}function _non_iterable_rest(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _sliced_to_array(arr,i){return _array_with_holes(arr)||_iterable_to_array_limit(arr,i)||_unsupported_iterable_to_array(arr,i)||_non_iterable_rest()}function _unsupported_iterable_to_array(o,minLen){if(o){if("string"==typeof o)return _array_like_to_array(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _array_like_to_array(o,minLen)}}var ConfirmContext=(0,react.createContext)(void 0),ConfirmContextProvider=function(param){var children=param.children,_useState=_sliced_to_array((0,react.useState)(!0),2),isScrollToBottomCompleted=_useState[0],setIsScrollToBottomCompleted=_useState[1],currentConfirmation=(0,useCurrentConfirmation.A)().currentConfirmation;hooks_syncConfirmPath(currentConfirmation);var value=(0,react.useMemo)(function(){return{currentConfirmation:currentConfirmation,isScrollToBottomCompleted:isScrollToBottomCompleted,setIsScrollToBottomCompleted:setIsScrollToBottomCompleted}},[currentConfirmation,isScrollToBottomCompleted,setIsScrollToBottomCompleted]);return react.createElement(ConfirmContext.Provider,{value:value},children)},useConfirmContext=function(){var context=(0,react.useContext)(ConfirmContext);if(!context)throw Error("useConfirmContext must be used within an ConfirmContextProvider");return context};try{ConfirmContextProvider.displayName="ConfirmContextProvider",ConfirmContextProvider.__docgenInfo={description:"",displayName:"ConfirmContextProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["ui/pages/confirmations/context/confirm/index.tsx#ConfirmContextProvider"]={docgenInfo:ConfirmContextProvider.__docgenInfo,name:"ConfirmContextProvider",path:"ui/pages/confirmations/context/confirm/index.tsx#ConfirmContextProvider"})}catch(__react_docgen_typescript_loader_error){}},"./ui/pages/confirmations/hooks/useConfirmationNavigation.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{N:()=>useConfirmationNavigation});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),react_redux__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react-redux/es/index.js"),react_router_dom__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/react-router-dom/node_modules/react-router/esm/react-router.js"),_metamask_controller_utils__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@metamask/controller-utils/dist/constants.mjs"),lodash__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/lodash/lodash.js"),_confirmation_templates__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./ui/pages/confirmations/confirmation/templates/index.js"),_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./ui/helpers/constants/routes.ts"),_utils__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./ui/pages/confirmations/utils/index.ts"),_selectors__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./ui/selectors/index.js"),CONNECT_APPROVAL_TYPES=[_metamask_controller_utils__WEBPACK_IMPORTED_MODULE_7__.s.WalletRequestPermissions,"wallet_installSnap","wallet_updateSnap","wallet_installSnapResult"];function useConfirmationNavigation(){var confirmations=(0,react_redux__WEBPACK_IMPORTED_MODULE_1__.d4)(_selectors__WEBPACK_IMPORTED_MODULE_6__.VKo),approvalFlows=(0,react_redux__WEBPACK_IMPORTED_MODULE_1__.d4)(_selectors__WEBPACK_IMPORTED_MODULE_6__.j9f,lodash__WEBPACK_IMPORTED_MODULE_2__.isEqual),history=(0,react_router_dom__WEBPACK_IMPORTED_MODULE_8__.W6)(),getIndex=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(confirmationId){return confirmationId?confirmations.findIndex(function(param){return param.id===confirmationId}):0},[confirmations]),navigateToId=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(confirmationId){navigateToConfirmation(confirmationId,confirmations,!!(null==approvalFlows?void 0:approvalFlows.length),history)},[confirmations,history]),navigateToIndex=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(index){var nextConfirmation=confirmations[index];navigateToId(null==nextConfirmation?void 0:nextConfirmation.id)},[confirmations,navigateToId]),count=confirmations.length;return{confirmations:confirmations,count:count,getIndex:getIndex,navigateToId:navigateToId,navigateToIndex:navigateToIndex}}function navigateToConfirmation(confirmationId,confirmations,hasApprovalFlows,history){if(hasApprovalFlows){history.replace("".concat(_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.DL));return}if(!((null==confirmations?void 0:confirmations.length)<=0)&&confirmationId){var _nextConfirmation_requestData_asset,_nextConfirmation_requestData,nextConfirmation=confirmations.find(function(confirmation){return confirmation.id===confirmationId});if(nextConfirmation){var type=nextConfirmation.type;if(_confirmation_templates__WEBPACK_IMPORTED_MODULE_3__.x0.includes(type)){history.replace("".concat(_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.DL,"/").concat(confirmationId));return}if((0,_utils__WEBPACK_IMPORTED_MODULE_5__.rS)(nextConfirmation)){history.replace("".concat(_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.s8,"/").concat(confirmationId).concat(_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.no));return}if(type===_metamask_controller_utils__WEBPACK_IMPORTED_MODULE_7__.s.Transaction){history.replace("".concat(_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.s8,"/").concat(confirmationId));return}if(type===_metamask_controller_utils__WEBPACK_IMPORTED_MODULE_7__.s.EthDecrypt){history.replace("".concat(_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.s8,"/").concat(confirmationId).concat(_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.OT));return}if(type===_metamask_controller_utils__WEBPACK_IMPORTED_MODULE_7__.s.EthGetEncryptionPublicKey){history.replace("".concat(_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.s8,"/").concat(confirmationId).concat(_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.yK));return}if(CONNECT_APPROVAL_TYPES.includes(type)){history.replace("".concat(_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.Fh,"/").concat(confirmationId));return}var tokenId=null==nextConfirmation?void 0:null===(_nextConfirmation_requestData=nextConfirmation.requestData)||void 0===_nextConfirmation_requestData?void 0:null===(_nextConfirmation_requestData_asset=_nextConfirmation_requestData.asset)||void 0===_nextConfirmation_requestData_asset?void 0:_nextConfirmation_requestData_asset.tokenId;if(type===_metamask_controller_utils__WEBPACK_IMPORTED_MODULE_7__.s.WatchAsset&&!tokenId){history.replace("".concat(_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.nK));return}type===_metamask_controller_utils__WEBPACK_IMPORTED_MODULE_7__.s.WatchAsset&&tokenId&&history.replace("".concat(_helpers_constants_routes__WEBPACK_IMPORTED_MODULE_4__.A0))}}}},"./ui/pages/confirmations/hooks/useCurrentConfirmation.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>hooks_useCurrentConfirmation});var react=__webpack_require__("./node_modules/react/index.js"),es=__webpack_require__("./node_modules/react-redux/es/index.js"),react_router=__webpack_require__("./node_modules/react-router-dom/node_modules/react-router/esm/react-router.js"),selectors=__webpack_require__("./ui/selectors/index.js"),reselect=__webpack_require__("./node_modules/reselect/dist/reselect.mjs"),util=__webpack_require__("./shared/modules/selectors/util.js"),transactions=__webpack_require__("./ui/selectors/transactions.js");function _define_property(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _object_spread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{},ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){_define_property(target,key,source[key])})}return target}var selectUnapprovedMessages=(0,reselect.Mz)(transactions.cY,transactions.uJ,function(personalMsgs,typedMessages){return _object_spread({},personalMsgs,typedMessages)}),internalSelectUnapprovedMessage=(0,reselect.Mz)(selectUnapprovedMessages,function(_state,messageId){return messageId},function(messages,messageId){return messages[messageId]}),selectUnapprovedMessage=(0,util._)(internalSelectUnapprovedMessage,function(message){return message}),confirmation_utils=__webpack_require__("./shared/lib/confirmation.utils.ts");let hooks_useCurrentConfirmation=function(){var paramsConfirmationId=(0,react_router.g)().id,oldestPendingApproval=(0,es.d4)(selectors.dMC),confirmationId=null!=paramsConfirmationId?paramsConfirmationId:null==oldestPendingApproval?void 0:oldestPendingApproval.id,isRedesignedSignaturesUserSettingEnabled=(0,es.d4)(selectors.eNZ),isRedesignedTransactionsUserSettingEnabled=(0,es.d4)(selectors.VOD),isRedesignedConfirmationsDeveloperEnabled=(0,es.d4)(selectors.q$Y),pendingApproval=(0,es.d4)(function(state){return(0,selectors.ll0)(state,confirmationId)}),transactionMetadata=(0,es.d4)(function(state){return(0,selectors.jJ$)(state,confirmationId)}),signatureMessage=(0,es.d4)(function(state){return selectUnapprovedMessage(state,confirmationId)}),useRedesignedForSignatures=(0,confirmation_utils.ml)({approvalType:null==pendingApproval?void 0:pendingApproval.type,isRedesignedSignaturesUserSettingEnabled:isRedesignedSignaturesUserSettingEnabled,isRedesignedConfirmationsDeveloperEnabled:isRedesignedConfirmationsDeveloperEnabled}),useRedesignedForTransaction=(0,confirmation_utils._I)({transactionMetadataType:null==transactionMetadata?void 0:transactionMetadata.type,isRedesignedTransactionsUserSettingEnabled:isRedesignedTransactionsUserSettingEnabled,isRedesignedConfirmationsDeveloperEnabled:isRedesignedConfirmationsDeveloperEnabled}),shouldUseRedesign=useRedesignedForSignatures||useRedesignedForTransaction;return(0,react.useMemo)(function(){var _ref;return shouldUseRedesign?{currentConfirmation:null!==(_ref=null!=transactionMetadata?transactionMetadata:signatureMessage)&&void 0!==_ref?_ref:void 0}:{currentConfirmation:void 0}},[transactionMetadata,signatureMessage,shouldUseRedesign])}},"./ui/pages/confirmations/selectors/preferences.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{C:()=>selectUseTransactionSimulations,O:()=>selectConfirmationAdvancedDetailsOpen});var _selectors__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./ui/selectors/index.js"),selectUseTransactionSimulations=function(state){return state.metamask.useTransactionSimulations};function selectConfirmationAdvancedDetailsOpen(state){return!!(0,_selectors__WEBPACK_IMPORTED_MODULE_0__.lX9)(state).showConfirmationAdvancedDetails}},"./ui/pages/confirmations/utils/index.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{VO:()=>_confirm__WEBPACK_IMPORTED_MODULE_0__.VO,WY:()=>_confirm__WEBPACK_IMPORTED_MODULE_0__.WY,ig:()=>_confirm__WEBPACK_IMPORTED_MODULE_0__.ig,m4:()=>_confirm__WEBPACK_IMPORTED_MODULE_0__.m4,q9:()=>_confirm__WEBPACK_IMPORTED_MODULE_0__.q9,rS:()=>_confirm__WEBPACK_IMPORTED_MODULE_0__.rS});var _confirm__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./ui/pages/confirmations/utils/confirm.ts")},"./test/data/mock-state.json":module=>{module.exports=JSON.parse('{"DNS":{"resolution":null},"activeTab":{"id":113,"title":"E2E Test Dapp","origin":"https://metamask.github.io","protocol":"https:","url":"https://metamask.github.io/test-dapp/"},"appState":{"networkDropdownOpen":false,"importNftsModal":{"open":false},"showPermittedNetworkToastOpen":false,"gasIsLoading":false,"isLoading":false,"modal":{"open":false,"modalState":{"name":null,"props":{}},"previousModalState":{"name":null}},"warning":null,"customTokenAmount":"10"},"confirmAlerts":{"alerts":[],"confirmed":[]},"confirmTransaction":{"txData":{"txParams":{"gas":"0x153e2","value":"0x0"}}},"history":{"mostRecentOverviewPage":"/mostRecentOverviewPage"},"localeMessages":{"currentLocale":"en","current":{"user":"user"},"en":{"user":"user"}},"metamask":{"allTokens":{},"tokenBalances":{},"use4ByteResolution":true,"ipfsGateway":"dweb.link","dismissSeedBackUpReminder":false,"usePhishDetect":true,"useMultiAccountBalanceChecker":false,"participateInMetaMetrics":false,"gasEstimateType":"fee-market","showBetaHeader":false,"gasFeeEstimatesByChainId":{"0x5":{"gasEstimateType":"fee-market","gasFeeEstimates":{"low":{"minWaitTimeEstimate":180000,"maxWaitTimeEstimate":300000,"suggestedMaxPriorityFeePerGas":"3","suggestedMaxFeePerGas":"53"},"medium":{"minWaitTimeEstimate":15000,"maxWaitTimeEstimate":60000,"suggestedMaxPriorityFeePerGas":"7","suggestedMaxFeePerGas":"70"},"high":{"minWaitTimeEstimate":0,"maxWaitTimeEstimate":15000,"suggestedMaxPriorityFeePerGas":"10","suggestedMaxFeePerGas":"100"},"estimatedBaseFee":"50","historicalBaseFeeRange":["28.533098435","70.351148354"],"baseFeeTrend":"up","latestPriorityFeeRange":["1","40"],"historicalPriorityFeeRange":["0.1458417","700.156384646"],"priorityFeeTrend":"down","networkCongestion":0.90625}}},"permissionHistory":{"https://metamask.github.io":{"eth_accounts":{"accounts":{"0dcd5d886577d5081b0c52e242ef29e70be3e7bc":1709225290848}}}},"gasFeeEstimates":{"low":{"minWaitTimeEstimate":180000,"maxWaitTimeEstimate":300000,"suggestedMaxPriorityFeePerGas":"3","suggestedMaxFeePerGas":"53"},"medium":{"minWaitTimeEstimate":15000,"maxWaitTimeEstimate":60000,"suggestedMaxPriorityFeePerGas":"7","suggestedMaxFeePerGas":"70"},"high":{"minWaitTimeEstimate":0,"maxWaitTimeEstimate":15000,"suggestedMaxPriorityFeePerGas":"10","suggestedMaxFeePerGas":"100"},"estimatedBaseFee":"50","historicalBaseFeeRange":["28.533098435","70.351148354"],"baseFeeTrend":"up","latestPriorityFeeRange":["1","40"],"historicalPriorityFeeRange":["0.1458417","700.156384646"],"priorityFeeTrend":"down","networkCongestion":0.90625},"snaps":{"npm:@metamask/test-snap-bip44":{"id":"npm:@metamask/test-snap-bip44","origin":"npm:@metamask/test-snap-bip44","version":"5.1.2","iconUrl":null,"initialPermissions":{"endowment:ethereum-provider":{}},"manifest":{"description":"An example Snap that signs messages using BLS.","proposedName":"BIP-44 Test Snap","repository":{"type":"git","url":"https://github.com/MetaMask/test-snaps.git"},"source":{"location":{"npm":{"filePath":"dist/bundle.js","packageName":"@metamask/test-snap-bip44","registry":"https://registry.npmjs.org"}},"shasum":"L1k+dT9Q+y3KfIqzaH09MpDZVPS9ZowEh9w01ZMTWMU="},"version":"5.1.2"},"versionHistory":[{"date":1680686075921,"origin":"https://metamask.github.io","version":"5.1.2"}]},"npm:@metamask/test-snap-bip32":{"id":"npm:@metamask/test-snap-bip32","origin":"npm:@metamask/test-snap-bip32","version":"5.1.2","iconUrl":null,"initialPermissions":{"endowment:ethereum-provider":{}},"manifest":{"description":"An example Snap that signs messages using BLS.","proposedName":"BIP-32 Test Snap","repository":{"type":"git","url":"https://github.com/MetaMask/test-snaps.git"},"source":{"location":{"npm":{"filePath":"dist/bundle.js","packageName":"@metamask/test-snap-bip32","registry":"https://registry.npmjs.org"}},"shasum":"L1k+dT9Q+y3KfIqzaH09MpDZVPS9ZowEh9w01ZMTWMU="},"version":"5.1.2"},"versionHistory":[{"date":1680686075921,"origin":"https://metamask.github.io","version":"5.1.2"}]},"npm:@metamask/test-snap-getEntropy":{"id":"npm:@metamask/test-snap-getEntropy","origin":"npm:@metamask/test-snap-getEntropy","version":"5.1.2","iconUrl":null,"initialPermissions":{"endowment:ethereum-provider":{}},"manifest":{"description":"An example Snap that can derive snap specific entropy.","proposedName":"Get Entropy Test Snap","repository":{"type":"git","url":"https://github.com/MetaMask/test-snaps.git"},"source":{"location":{"npm":{"filePath":"dist/bundle.js","packageName":"@metamask/test-snap-getEntropy","registry":"https://registry.npmjs.org"}},"shasum":"L1k+dT9Q+y3KfIqzaH09MpDZVPS9ZowEh9w01ZMTWMU="},"version":"5.1.2"},"versionHistory":[{"date":1680686075921,"origin":"https://metamask.github.io","version":"5.1.2"}]},"npm:@metamask/test-snap-networkAccess":{"id":"npm:@metamask/test-snap-networkAccess","origin":"npm:@metamask/test-snap-networkAccess","version":"5.1.2","iconUrl":null,"initialPermissions":{"endowment:ethereum-provider":{}},"manifest":{"description":"An example Snap that has network access.","proposedName":"Network Access Test Snap","repository":{"type":"git","url":"https://github.com/MetaMask/test-snaps.git"},"source":{"location":{"npm":{"filePath":"dist/bundle.js","packageName":"@metamask/test-snap-networkAccess","registry":"https://registry.npmjs.org"}},"shasum":"L1k+dT9Q+y3KfIqzaH09MpDZVPS9ZowEh9w01ZMTWMU="},"version":"5.1.2"},"versionHistory":[{"date":1680686075921,"origin":"https://metamask.github.io","version":"5.1.2"}]},"npm:@metamask/test-snap-wasm":{"id":"npm:@metamask/test-snap-wasm","origin":"npm:@metamask/test-snap-wasm","version":"5.1.2","iconUrl":null,"initialPermissions":{"endowment:ethereum-provider":{}},"manifest":{"description":"An example Snap that has WASM access.","proposedName":"WASM Test Snap","repository":{"type":"git","url":"https://github.com/MetaMask/test-snaps.git"},"source":{"location":{"npm":{"filePath":"dist/bundle.js","packageName":"@metamask/test-snap-wasm","registry":"https://registry.npmjs.org"}},"shasum":"L1k+dT9Q+y3KfIqzaH09MpDZVPS9ZowEh9w01ZMTWMU="},"version":"5.1.2"},"versionHistory":[{"date":1680686075921,"origin":"https://metamask.github.io","version":"5.1.2"}]},"npm:@metamask/test-snap-notify":{"id":"npm:@metamask/test-snap-notify","origin":"npm:@metamask/test-snap-notify","version":"5.1.2","iconUrl":null,"initialPermissions":{"endowment:ethereum-provider":{}},"manifest":{"description":"An example Snap that can send notifications.","proposedName":"Notification Test Snap","repository":{"type":"git","url":"https://github.com/MetaMask/test-snaps.git"},"source":{"location":{"npm":{"filePath":"dist/bundle.js","packageName":"@metamask/test-snap-notify","registry":"https://registry.npmjs.org"}},"shasum":"L1k+dT9Q+y3KfIqzaH09MpDZVPS9ZowEh9w01ZMTWMU="},"version":"5.1.2"},"versionHistory":[{"date":1680686075921,"origin":"https://metamask.github.io","version":"5.1.2"}]},"npm:@metamask/test-snap-dialog":{"id":"npm:@metamask/test-snap-dialog","origin":"npm:@metamask/test-snap-dialog","version":"5.1.2","iconUrl":null,"initialPermissions":{"endowment:ethereum-provider":{}},"manifest":{"description":"An example Snap that can send dialog prompts.","proposedName":"Dialog Test Snap","repository":{"type":"git","url":"https://github.com/MetaMask/test-snaps.git"},"source":{"location":{"npm":{"filePath":"dist/bundle.js","packageName":"@metamask/test-snap-dialog","registry":"https://registry.npmjs.org"}},"shasum":"L1k+dT9Q+y3KfIqzaH09MpDZVPS9ZowEh9w01ZMTWMU="},"version":"5.1.2"},"versionHistory":[{"date":1680686075921,"origin":"https://metamask.github.io","version":"5.1.2"}]}},"preferences":{"hideZeroBalanceTokens":false,"isRedesignedConfirmationsDeveloperEnabled":false,"petnamesEnabled":false,"showExtensionInFullSizeView":false,"showFiatInTestnets":false,"showNativeTokenAsMainBalance":true,"showTestNetworks":true,"smartTransactionsOptInStatus":true,"tokenNetworkFilter":{},"tokenSortConfig":{"key":"tokenFiatAmount","order":"dsc","sortCallback":"stringNumeric"}},"ensResolutionsByAddress":{},"isAccountMenuOpen":false,"isUnlocked":true,"alertEnabledness":{"unconnectedAccount":true},"featureFlags":{},"networkConfigurationsByChainId":{"0x1":{"chainId":"0x1","name":"Custom Mainnet RPC","nativeCurrency":"ETH","defaultRpcEndpointIndex":0,"ticker":"ETH","rpcEndpoints":[{"type":"custom","url":"https://testrpc.com","networkClientId":"testNetworkConfigurationId"}],"blockExplorerUrls":[]},"0x5":{"chainId":"0x5","name":"Goerli","nativeCurrency":"ETH","defaultRpcEndpointIndex":0,"ticker":"ETH","rpcEndpoints":[{"type":"custom","url":"https://goerli.com","networkClientId":"goerli"}],"blockExplorerUrls":[]}},"internalAccounts":{"accounts":{"cf8dace4-9439-4bd4-b3a8-88c821c8fcb3":{"address":"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc","id":"cf8dace4-9439-4bd4-b3a8-88c821c8fcb3","metadata":{"importTime":0,"name":"Test Account","keyring":{"type":"HD Key Tree"}},"options":{},"methods":["personal_sign","eth_signTransaction","eth_signTypedData_v1","eth_signTypedData_v3","eth_signTypedData_v4"],"type":"eip155:eoa"},"07c2cfec-36c9-46c4-8115-3836d3ac9047":{"address":"0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b","id":"07c2cfec-36c9-46c4-8115-3836d3ac9047","metadata":{"importTime":0,"name":"Test Account 2","keyring":{"type":"HD Key Tree"}},"options":{},"methods":["personal_sign","eth_signTransaction","eth_signTypedData_v1","eth_signTypedData_v3","eth_signTypedData_v4"],"type":"eip155:eoa"},"15e69915-2a1a-4019-93b3-916e11fd432f":{"address":"0xc42edfcc21ed14dda456aa0756c153f7985d8813","id":"15e69915-2a1a-4019-93b3-916e11fd432f","metadata":{"importTime":0,"name":"Ledger Hardware 2","keyring":{"type":"Ledger Hardware"}},"options":{},"methods":["personal_sign","eth_signTransaction","eth_signTypedData_v1","eth_signTypedData_v3","eth_signTypedData_v4"],"type":"eip155:eoa"},"784225f4-d30b-4e77-a900-c8bbce735b88":{"address":"0xeb9e64b93097bc15f01f13eae97015c57ab64823","id":"784225f4-d30b-4e77-a900-c8bbce735b88","metadata":{"importTime":0,"name":"Test Account 3","keyring":{"type":"HD Key Tree"}},"options":{},"methods":["personal_sign","eth_signTransaction","eth_signTypedData_v1","eth_signTypedData_v3","eth_signTypedData_v4"],"type":"eip155:eoa"},"694225f4-d30b-4e77-a900-c8bbce735b42":{"address":"0xca8f1F0245530118D0cf14a06b01Daf8f76Cf281","id":"694225f4-d30b-4e77-a900-c8bbce735b42","metadata":{"importTime":0,"name":"Test Account 4","keyring":{"type":"Custody test"}},"options":{},"methods":["personal_sign","eth_signTransaction","eth_signTypedData_v1","eth_signTypedData_v3","eth_signTypedData_v4"],"type":"eip155:eoa"},"c3deeb99-ba0d-4a4e-a0aa-033fc1f79ae3":{"address":"0xb552685e3d2790efd64a175b00d51f02cdafee5d","id":"c3deeb99-ba0d-4a4e-a0aa-033fc1f79ae3","metadata":{"importTime":0,"name":"Snap Account 1","keyring":{"type":"Snap Keyring"},"snap":{"enabled":true,"id":"snap-id","name":"snap-name"}},"options":{},"methods":["personal_sign","eth_signTransaction","eth_signTypedData_v1","eth_signTypedData_v3","eth_signTypedData_v4"],"type":"eip155:eoa"}},"selectedAccount":"cf8dace4-9439-4bd4-b3a8-88c821c8fcb3"},"balances":{},"keyrings":[{"type":"HD Key Tree","accounts":["0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc","0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b"]},{"type":"Ledger Hardware","accounts":["0xc42edfcc21ed14dda456aa0756c153f7985d8813"]},{"type":"Simple Key Pair","accounts":["0xeb9e64b93097bc15f01f13eae97015c57ab64823"]},{"type":"Snap Keyring","accounts":["0xb552685e3d2790efd64a175b00d51f02cdafee5d"]},{"type":"Custody test","accounts":["0xca8f1F0245530118D0cf14a06b01Daf8f76Cf281"]}],"identities":{"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc":{"address":"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc","name":"Test Account"},"0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b":{"address":"0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b","name":"Test Account 2"},"0xc42edfcc21ed14dda456aa0756c153f7985d8813":{"address":"0xc42edfcc21ed14dda456aa0756c153f7985d8813","name":"Test Ledger 1"},"0xeb9e64b93097bc15f01f13eae97015c57ab64823":{"name":"Test Account 3","address":"0xeb9e64b93097bc15f01f13eae97015c57ab64823"},"0xca8f1F0245530118D0cf14a06b01Daf8f76Cf281":{"name":"Custody test","address":"0xca8f1F0245530118D0cf14a06b01Daf8f76Cf281"}},"selectedNetworkClientId":"goerli","networksMetadata":{"goerli":{"EIPS":{"1559":true},"status":"available"}},"frequentRpcListDetail":[],"subjectMetadata":{"npm:@metamask/test-snap-bip44":{"name":"@metamask/test-snap-bip44","version":"1.2.3","subjectType":"snap"},"https://snaps.metamask.io":{"extensionId":null,"iconUrl":"https://snaps.metamask.io/favicon-32x32.png?v=96e4834dade94988977ec34e50a62b84","name":"MetaMask Snaps Directory","origin":"https://snaps.metamask.io","subjectType":"website"}},"snapRegistryList":{"a51ea3a8-f1b0-4613-9440-b80e2236713b":{"id":"a51ea3a8-f1b0-4613-9440-b80e2236713b","snapId":"npm:@metamask/snap-simple-keyring","iconUrl":"","snapTitle":"Metamask Simple Keyring","snapSlug":"Secure your account with MetaMask Mobile","snapDescription":"A simple private key is a randomly generated string of characters that is used to sign transactions. This private key is stored securely within this snap.","tags":["EOA"],"developer":"Metamask","website":"https://www.consensys.io/","auditUrls":["auditUrl1","auditUrl2"],"version":"1.1.6","lastUpdated":"September 26, 2024"}},"accountsByChainId":{"0x5":{"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc":{"balance":"0x15f6f0b9d4f8d000"}}},"incomingTransactionsPreferences":{"0x1":true,"0xe708":false,"0xfa":true,"0x5":false,"0xaa36a7":true,"0xe704":true},"selectedAddress":"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc","accounts":{"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc":{"balance":"0x346ba7725f412cbfdb","address":"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc"},"0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b":{"address":"0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b","balance":"0x0"},"0xc42edfcc21ed14dda456aa0756c153f7985d8813":{"address":"0xc42edfcc21ed14dda456aa0756c153f7985d8813","balance":"0x0"},"0xeb9e64b93097bc15f01f13eae97015c57ab64823":{"address":"0xeb9e64b93097bc15f01f13eae97015c57ab64823","balance":"0x0"},"0xca8f1F0245530118D0cf14a06b01Daf8f76Cf281":{"address":"0xca8f1F0245530118D0cf14a06b01Daf8f76Cf281","balance":"0x0"},"0xb552685e3d2790efd64a175b00d51f02cdafee5d":{"address":"0xb552685e3d2790efd64a175b00d51f02cdafee5d","balance":"0x0"}},"tokens":[{"address":"0x108cf70c7d384c552f42c07c41c0e1e46d77ea0d","symbol":"TEST","decimals":"0"},{"address":"0xd8f6a2ffb0fc5952d16c9768b71cfd35b6399aa5","decimals":"8","symbol":"TEST2"},{"address":"0x617b3f8050a0bd94b6b1da02b4384ee5b4df13f4","symbol":"META","decimals":"18"}],"marketData":{"0x89":{"0x108cf70c7d384c552f42c07c41c0e1e46d77ea0d":{"price":0.00039345803819379796,"contractPercentChange1d":0.004,"priceChange1d":0.00004},"0xd8f6a2ffb0fc5952d16c9768b71cfd35b6399aa5":{"price":0.00008189274407698049,"contractPercentChange1d":0.01,"priceChange1d":0.001},"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599":{"price":0.0017123,"contractPercentChange1d":0.006,"priceChange1d":0.001},"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48":{"price":1.8e-9,"contractPercentChange1d":0.02,"priceChange1d":0.01}},"0x5":{"0x108cf70c7d384c552f42c07c41c0e1e46d77ea0d":{"price":0.00039345803819379796,"contractPercentChange1d":0.004,"priceChange1d":0.00004},"0xd8f6a2ffb0fc5952d16c9768b71cfd35b6399aa5":{"price":0.00008189274407698049,"contractPercentChange1d":0.01,"priceChange1d":0.001},"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599":{"price":0.0017123,"contractPercentChange1d":0.006,"priceChange1d":0.001},"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48":{"price":1.8e-9,"contractPercentChange1d":0.02,"priceChange1d":0.01}},"0x1":{"0x108cf70c7d384c552f42c07c41c0e1e46d77ea0d":{"price":0.00039345803819379796,"contractPercentChange1d":0.004,"priceChange1d":0.00004},"0xd8f6a2ffb0fc5952d16c9768b71cfd35b6399aa5":{"price":0.00008189274407698049,"contractPercentChange1d":0.01,"priceChange1d":0.001},"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599":{"price":0.0017123,"contractPercentChange1d":0.006,"priceChange1d":0.001},"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48":{"price":1.8e-9,"contractPercentChange1d":0.02,"priceChange1d":0.01}}},"ticker":"ETH","currentCurrency":"usd","currencyRates":{"ETH":{"conversionRate":556.12}},"addressBook":{"0x5":{"0xc42edfcc21ed14dda456aa0756c153f7985d8813":{"address":"0xc42edfcc21ed14dda456aa0756c153f7985d8813","chainId":"0x5","isEns":false,"memo":"","name":"Address Book Account 1"}}},"unapprovedPersonalMsgs":{},"unapprovedPersonalMsgCount":0,"unapprovedDecryptMsgs":{},"unapprovedDecryptMsgCount":0,"unapprovedEncryptionPublicKeyMsgs":{},"unapprovedEncryptionPublicKeyMsgCount":0,"unapprovedTypedMessages":{},"unapprovedTypedMessagesCount":0,"useTokenDetection":true,"useCurrencyRateCheck":true,"useNftDetection":true,"openSeaEnabled":true,"orderedNetworkList":[],"pinnedAccountList":[],"hiddenAccountList":[],"advancedGasFee":{"0x5":{"maxBaseFee":"75","priorityFee":"2"}},"nftsDropdownState":{"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc":{"0x5":{"0x495f947276749Ce646f68AC8c248420045cb7b5e":false}}},"allNftContracts":{"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc":{"0x1":[{"address":"0xDc7382Eb0Bc9C352A4CbA23c909bDA01e0206414","description":null,"name":"Munk Generator","logo":null,"symbol":"MUNK","assetContractType":"non-fungible","createdDate":null,"schemaName":"ERC721","externalLink":null}],"0x89":[{"address":"0xDc7382Eb0Bc9C352A4CbA23c909bDA01e0206414","description":null,"name":"Munk Generator","logo":null,"symbol":"MUNK","assetContractType":"non-fungible","createdDate":null,"schemaName":"ERC721","externalLink":null}],"0xaa36a7":[{"address":"0xDc7382Eb0Bc9C352A4CbA23c909bDA01e0206414","description":null,"name":"Munk Generator","logo":null,"symbol":"MUNK","assetContractType":"non-fungible","createdDate":null,"schemaName":"ERC721","externalLink":null}],"0x5":[{"address":"0xDc7382Eb0Bc9C352A4CbA23c909bDA01e0206414","description":null,"name":"Munk Generator","logo":null,"symbol":"MUNK","assetContractType":"non-fungible","createdDate":null,"schemaName":"ERC721","externalLink":null},{"address":"0x495f947276749Ce646f68AC8c248420045cb7b5e","description":null,"name":"Punk Generator","logo":null,"symbol":"PUNK","assetContractType":"non-fungible","createdDate":null,"schemaName":"ERC1155","externalLink":null}],"0x99":[{"address":"0xDc7382Eb0Bc9C352A4CbA23c909bDA01e0206414","description":null,"name":"Munk Generator","logo":null,"symbol":"MUNK","assetContractType":"non-fungible","createdDate":null,"schemaName":"ERC721","externalLink":null}]}},"allNfts":{"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc":{"0x1":[{"address":"0xDc7382Eb0Bc9C352A4CbA23c909bDA01e0206414","tokenId":"1","name":"MUNK #1","description":null,"image":"ipfs://QmTSZUNt8AKyDabkyXXXP4oHWDnaVXgNdXoJGEyaYzLbeL","standard":"ERC721"}],"0x89":[{"address":"0xDc7382Eb0Bc9C352A4CbA23c909bDA01e0206414","tokenId":"1","name":"MUNK #1","description":null,"image":"ipfs://QmTSZUNt8AKyDabkyXXXP4oHWDnaVXgNdXoJGEyaYzLbeL","standard":"ERC721"}],"0xaa36a7":[{"address":"0xDc7382Eb0Bc9C352A4CbA23c909bDA01e0206414","tokenId":"1","name":"MUNK #1","description":null,"image":"ipfs://QmTSZUNt8AKyDabkyXXXP4oHWDnaVXgNdXoJGEyaYzLbeL","standard":"ERC721"}],"0x5":[{"address":"0x495f947276749Ce646f68AC8c248420045cb7b5e","tokenId":"58076532811975507823669075598676816378162417803895263482849101575514658701313","name":"Punk #4","creator":{"user":{"username":null},"profile_img_url":null,"address":"0x806627172af48bd5b0765d3449a7def80d6576ff","config":""},"description":"Red Mohawk bam!","image":"https://lh3.googleusercontent.com/BdxvLseXcfl57BiuQcQYdJ64v-aI8din7WPk0Pgo3qQFhAUH-B6i-dCqqc_mCkRIzULmwzwecnohLhrcH8A9mpWIZqA7ygc52Sr81hE","standard":"ERC1155"},{"address":"0x495f947276749Ce646f68AC8c248420045cb7b5e","tokenId":"58076532811975507823669075598676816378162417803895263482849101574415147073537","name":"Punk #3","creator":{"user":{"username":null},"profile_img_url":null,"address":"0x806627172af48bd5b0765d3449a7def80d6576ff","config":""},"description":"Clown PUNK!!!","image":"https://lh3.googleusercontent.com/H7VrxaalZv4PF1B8U7ADuc8AfuqTVyzmMEDQ5OXKlx0Tqu5XiwsKYj4j_pAF6wUJjLMQbSN_0n3fuj84lNyRhFW9hyrxqDfY1IiQEQ","standard":"ERC1155"},{"address":"0x495f947276749Ce646f68AC8c248420045cb7b5e","tokenId":"58076532811975507823669075598676816378162417803895263482849101573315635445761","name":"Punk #2","creator":{"user":{"username":null},"profile_img_url":null,"address":"0x806627172af48bd5b0765d3449a7def80d6576ff","config":""},"description":"Got glasses and black hair!","image":"https://lh3.googleusercontent.com/CHNTSlKB_Gob-iwTq8jcag6XwBkTqBMLt_vEKeBv18Q4AoPFAEPceqK6mRzkad2s5djx6CT5zbGQwDy81WwtNzViK5dQbG60uAWv","standard":"ERC1155"},{"address":"0x495f947276749Ce646f68AC8c248420045cb7b5e","tokenId":"58076532811975507823669075598676816378162417803895263482849101572216123817985","name":"Punk #1","creator":{"user":{"username":null},"profile_img_url":null,"address":"0x806627172af48bd5b0765d3449a7def80d6576ff","config":""},"image":"https://lh3.googleusercontent.com/4jfPi-nQNWCUXD5qVNVWX7LX2UufU_elEJcvICFlsTdcBXv70asnDEOlI8oKECZxlXq1wseeIXMwmP5tLyOUxMKk","standard":"ERC1155"},{"address":"0x495f947276749Ce646f68AC8c248420045cb7b5e","tokenId":"58076532811975507823669075598676816378162417803895263482849101571116612190209","name":"Punk #4651","creator":{"user":{"username":null},"profile_img_url":null,"address":"0x806627172af48bd5b0765d3449a7def80d6576ff","config":""},"image":"https://lh3.googleusercontent.com/BdxvLseXcfl57BiuQcQYdJ64v-aI8din7WPk0Pgo3qQFhAUH-B6i-dCqqc_mCkRIzULmwzwecnohLhrcH8A9mpWIZqA7ygc52Sr81hE","standard":"ERC1155"},{"address":"0xDc7382Eb0Bc9C352A4CbA23c909bDA01e0206414","tokenId":"1","name":"MUNK #1","description":null,"image":"ipfs://QmTSZUNt8AKyDabkyXXXP4oHWDnaVXgNdXoJGEyaYzLbeL","standard":"ERC721","lastSale":{"total_price":"4900000000000000","event_timestamp":"2023-01-18T21:51:23","payment_token":{"symbol":"ETH"}}},{"address":"0xDc7382Eb0Bc9C352A4CbA23c909bDA01e0206414","tokenId":"2","name":"MUNK #2","description":null,"image":"ipfs://QmTSZUNt8AKyDabkyXXXP4oHWDnaVXgNdXoJGEyaYzLbeL","standard":"ERC721"},{"address":"0xDc7382Eb0Bc9C352A4CbA23c909bDA01e0206414","tokenId":"3","name":"MUNK #3","description":null,"image":"ipfs://QmTSZUNt8AKyDabkyXXXP4oHWDnaVXgNdXoJGEyaYzLbeL","standard":"ERC721"}],"0x99":[{"address":"0xDc7382Eb0Bc9C352A4CbA23c909bDA01e0206414","tokenId":"1","name":"MUNK #1","description":null,"image":"ipfs://QmTSZUNt8AKyDabkyXXXP4oHWDnaVXgNdXoJGEyaYzLbeL","standard":"ERC721"}]}},"tokenList":{"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","symbol":"WBTC","decimals":8,"name":"Wrapped Bitcoin","iconUrl":"https://s3.amazonaws.com/airswap-token-images/WBTC.png","aggregators":["airswapLight","bancor","cmc","coinGecko","kleros","oneInch","paraswap","pmm","totle","zapper","zerion","zeroEx"],"occurrences":12},"0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e":{"address":"0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e","symbol":"YFI","decimals":18,"name":"yearn.finance","iconUrl":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e/logo.png","aggregators":["airswapLight","bancor","cmc","coinGecko","kleros","oneInch","paraswap","pmm","totle","zapper","zerion","zeroEx"],"occurrences":12}},"transactions":[{"chainId":"0x5","id":8393540981007587,"time":1536268017676,"status":"unapproved","loadingDefaults":false,"txParams":{"data":"0xa9059cbb000000000000000000000000b19ac54efa18cc3a14a5b821bfec73d284bf0c5e0000000000000000000000000000000000000000000000003782dace9d900000","from":"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc","to":"0xc42edfcc21ed14dda456aa0756c153f7985d8813","value":"0x0","gas":"0x5208","gasPrice":"0x3b9aca00"},"history":[{"id":8393540981007587,"time":1536268017676,"status":"unapproved","chainId":"0x5","loadingDefaults":true,"txParams":{"from":"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc","to":"0xc42edfcc21ed14dda456aa0756c153f7985d8813","value":"0x0","gas":"0x5208","gasPrice":"0x3b9aca00"}},[{"op":"replace","path":"/loadingDefaults","value":false,"timestamp":1536268017685}],[{"op":"add","path":"/origin","value":"MetaMask","note":"#newUnapprovedTransaction - adding the origin","timestamp":1536268017686}]],"origin":"metamask"},{"id":3387511061307736,"time":1528133130531,"status":"confirmed","chainId":"0x5","loadingDefaults":false,"txParams":{"from":"0x3b222de3aaba8ec9771ca9e9af5d8ed757fb7f62","to":"0x92e659448c48fc926ec942d0da1459260d36bb33","value":"0x1bc16d674ec80000","gas":"0xcf08","gasPrice":"0x3b9aca00","nonce":"0xb5"},"history":[{"id":3387511061307736,"time":1528133130531,"status":"unapproved","chainId":"0x5","loadingDefaults":true,"txParams":{"from":"0x3b222de3aaba8ec9771ca9e9af5d8ed757fb7f62","to":"0x92e659448c48fc926ec942d0da1459260d36bb33","value":"0x1bc16d674ec80000","gas":"0xcf08","gasPrice":"0x3b9aca00"}},[{"op":"replace","path":"/loadingDefaults","value":false,"timestamp":1528133130666}],[{"op":"add","path":"/origin","value":"MetaMask","note":"#newUnapprovedTransaction - adding the origin","timestamp":1528133130667}],[],[{"op":"replace","path":"/status","value":"approved","note":"txStateManager: setting status to approved","timestamp":1528133131716}],[{"op":"add","path":"/txParams/nonce","value":"0xb5","note":"transactions#approveTransaction","timestamp":1528133131806}],[{"op":"replace","path":"/status","value":"signed","note":"transactions#publishTransaction","timestamp":1528133131825},{"op":"add","path":"/rawTx","value":"0xf86c81b5843b9aca0082cf089492e659448c48fc926ec942d0da1459260d36bb33881bc16d674ec80000802ba03f879cd33a31180da38545d0f809822e00ddf35954d8b0ece83bacf22347ce54a06ad050487978e425ca6a014ed55ea8e9a190069863ed96a0eefa88d729ea1eda"}],[],[{"op":"add","path":"/hash","value":"0x516b77569173a04c76fdb6545cf279ebd0c75f5d25d6e4ce019925205f0e3709","note":"transactions#setTxHash","timestamp":1528133131951}],[{"op":"add","path":"/submittedTime","value":1528133131951,"note":"txStateManager - add submitted time stamp","timestamp":1528133131952}],[{"op":"replace","path":"/status","value":"submitted","note":"txStateManager: setting status to submitted","timestamp":1528133131955}],[{"op":"add","path":"/firstRetryBlockNumber","value":"0x24af6b","note":"transactions/pending-tx-tracker#event: tx:block-update","timestamp":1528133134414}],[{"op":"replace","path":"/status","value":"confirmed","note":"txStateManager: setting status to confirmed","timestamp":1528133158516}]],"origin":"MetaMask","rawTx":"0xf86c81b5843b9aca0082cf089492e659448c48fc926ec942d0da1459260d36bb33881bc16d674ec80000802ba03f879cd33a31180da38545d0f809822e00ddf35954d8b0ece83bacf22347ce54a06ad050487978e425ca6a014ed55ea8e9a190069863ed96a0eefa88d729ea1eda","hash":"0x516b77569173a04c76fdb6545cf279ebd0c75f5d25d6e4ce019925205f0e3709","submittedTime":1528133131951,"firstRetryBlockNumber":"0x24af6b"},{"id":3387511061307737,"time":1528133149983,"status":"confirmed","chainId":"0x5","loadingDefaults":false,"txParams":{"from":"0x3b222de3aaba8ec9771ca9e9af5d8ed757fb7f62","to":"0x92e659448c48fc926ec942d0da1459260d36bb33","value":"0x1bc16d674ec80000","gas":"0xcf08","gasPrice":"0x3b9aca00","nonce":"0xb6"},"history":[{"id":3387511061307737,"time":1528133149983,"status":"unapproved","chainId":"0x5","loadingDefaults":true,"txParams":{"from":"0x3b222de3aaba8ec9771ca9e9af5d8ed757fb7f62","to":"0x92e659448c48fc926ec942d0da1459260d36bb33","value":"0x1bc16d674ec80000","gas":"0xcf08","gasPrice":"0x3b9aca00"}},[{"op":"replace","path":"/loadingDefaults","value":false,"timestamp":1528133150011}],[{"op":"add","path":"/origin","value":"MetaMask","note":"#newUnapprovedTransaction - adding the origin","timestamp":1528133150013}],[],[{"op":"replace","path":"/status","value":"approved","note":"txStateManager: setting status to approved","timestamp":1528133151102}],[{"op":"add","path":"/txParams/nonce","value":"0xb6","note":"transactions#approveTransaction","timestamp":1528133151189}],[{"op":"replace","path":"/status","value":"signed","note":"transactions#publishTransaction","timestamp":1528133151203},{"op":"add","path":"/rawTx","value":"0xf86c81b6843b9aca0082cf089492e659448c48fc926ec942d0da1459260d36bb33881bc16d674ec80000802ba0692deaabf0d79544d41e7c475ad43760679a4f25d0fee908b1da308db1a291a7a0384db85fc6c843ea25986a0760f3c50ab6504fc559fc71fc7f23f60950eb316d"}],[],[{"op":"add","path":"/hash","value":"0x9271b266d05022cfa841362fae43763ebafcee540d84278b0157ef4a68d4e26f","note":"transactions#setTxHash","timestamp":1528133151342}],[{"op":"add","path":"/submittedTime","value":1528133151347,"note":"txStateManager - add submitted time stamp","timestamp":1528133151347}],[{"op":"replace","path":"/status","value":"submitted","note":"txStateManager: setting status to submitted","timestamp":1528133151368}],[{"op":"add","path":"/firstRetryBlockNumber","value":"0x24af6d","note":"transactions/pending-tx-tracker#event: tx:block-update","timestamp":1528133158532}],[{"op":"replace","path":"/status","value":"confirmed","note":"txStateManager: setting status to confirmed","timestamp":1528133190636}]],"origin":"MetaMask","rawTx":"0xf86c81b6843b9aca0082cf089492e659448c48fc926ec942d0da1459260d36bb33881bc16d674ec80000802ba0692deaabf0d79544d41e7c475ad43760679a4f25d0fee908b1da308db1a291a7a0384db85fc6c843ea25986a0760f3c50ab6504fc559fc71fc7f23f60950eb316d","hash":"0x9271b266d05022cfa841362fae43763ebafcee540d84278b0157ef4a68d4e26f","submittedTime":1528133151347,"firstRetryBlockNumber":"0x24af6d"},{"id":3387511061307738,"time":1528133180635,"status":"confirmed","chainId":"0x5","loadingDefaults":false,"txParams":{"from":"0x3b222de3aaba8ec9771ca9e9af5d8ed757fb7f62","to":"0x92e659448c48fc926ec942d0da1459260d36bb33","value":"0x1bc16d674ec80000","gas":"0xcf08","gasPrice":"0x12a05f200","nonce":"0xb7"},"history":[{"id":3387511061307738,"time":1528133180635,"status":"unapproved","chainId":"0x5","loadingDefaults":true,"txParams":{"from":"0x3b222de3aaba8ec9771ca9e9af5d8ed757fb7f62","to":"0x92e659448c48fc926ec942d0da1459260d36bb33","value":"0x1bc16d674ec80000","gas":"0xcf08","gasPrice":"0x12a05f200"}},[{"op":"replace","path":"/loadingDefaults","value":false,"timestamp":1528133180720}],[{"op":"add","path":"/origin","value":"MetaMask","note":"#newUnapprovedTransaction - adding the origin","timestamp":1528133180722}],[],[{"op":"replace","path":"/status","value":"approved","note":"txStateManager: setting status to approved","timestamp":1528133181623}],[{"op":"add","path":"/txParams/nonce","value":"0xb7","note":"transactions#approveTransaction","timestamp":1528133181726}],[{"op":"replace","path":"/status","value":"signed","note":"transactions#publishTransaction","timestamp":1528133181749},{"op":"add","path":"/rawTx","value":"0xf86d81b785012a05f20082cf089492e659448c48fc926ec942d0da1459260d36bb33881bc16d674ec80000802ba086f9846798be6988c39a5cf85f0dbe267e59ca0b96a6a7077e92cba33e10a258a064ffa52ac90c238ce21e6f085283216191b185a1eccd7daae6e2ab66ba26ada0"}],[],[{"op":"add","path":"/hash","value":"0x4e061e977c099735bc9e5203e717f7d9dccb3fcb2f82031a12a3ed326f95d43b","note":"transactions#setTxHash","timestamp":1528133181885}],[{"op":"add","path":"/submittedTime","value":1528133181885,"note":"txStateManager - add submitted time stamp","timestamp":1528133181885}],[{"op":"replace","path":"/status","value":"submitted","note":"txStateManager: setting status to submitted","timestamp":1528133181888}],[{"op":"add","path":"/firstRetryBlockNumber","value":"0x24af6f","note":"transactions/pending-tx-tracker#event: tx:block-update","timestamp":1528133190653}],[{"op":"replace","path":"/status","value":"confirmed","note":"txStateManager: setting status to confirmed","timestamp":1528133222745}]],"origin":"MetaMask","rawTx":"0xf86d81b785012a05f20082cf089492e659448c48fc926ec942d0da1459260d36bb33881bc16d674ec80000802ba086f9846798be6988c39a5cf85f0dbe267e59ca0b96a6a7077e92cba33e10a258a064ffa52ac90c238ce21e6f085283216191b185a1eccd7daae6e2ab66ba26ada0","hash":"0x4e061e977c099735bc9e5203e717f7d9dccb3fcb2f82031a12a3ed326f95d43b","submittedTime":1528133181885,"firstRetryBlockNumber":"0x24af6f"},{"id":3387511061307739,"time":1528133223918,"status":"confirmed","chainId":"0x5","loadingDefaults":false,"txParams":{"from":"0x3b222de3aaba8ec9771ca9e9af5d8ed757fb7f62","to":"0xfe2149773b3513703e79ad23d05a778a185016ee","value":"0xaa87bee538000","data":"0xea94496b000000000000000000000000000000000000000000000000000000000001e1eb000000000000000000000000000000000000000000000000000000000001de33","gasPrice":"0x3b9aca00","gas":"0x6169e","nonce":"0xb8"},"history":[{"id":3387511061307739,"time":1528133223918,"status":"unapproved","chainId":"0x5","loadingDefaults":true,"txParams":{"from":"0x3b222de3aaba8ec9771ca9e9af5d8ed757fb7f62","to":"0xfe2149773b3513703e79ad23d05a778a185016ee","value":"0xaa87bee538000","data":"0xea94496b000000000000000000000000000000000000000000000000000000000001e1eb000000000000000000000000000000000000000000000000000000000001de33","gasPrice":"0x3b9aca00"}},[{"op":"add","path":"/txParams/gas","value":"0x6169e","timestamp":1528133225488},{"op":"replace","path":"/loadingDefaults","value":false}],[{"note":"#newUnapprovedTransaction - adding the origin","op":"add","path":"/origin","value":"crypko.ai"}],[],[{"op":"replace","path":"/status","value":"approved","note":"txStateManager: setting status to approved","timestamp":1528133227279}],[{"op":"add","path":"/txParams/nonce","value":"0xb8","note":"transactions#approveTransaction","timestamp":1528133227374}],[{"op":"replace","path":"/status","value":"signed","note":"transactions#publishTransaction","timestamp":1528133227405},{"op":"add","path":"/rawTx","value":"0xf8b181b8843b9aca008306169e94fe2149773b3513703e79ad23d05a778a185016ee870aa87bee538000b844ea94496b000000000000000000000000000000000000000000000000000000000001e1eb000000000000000000000000000000000000000000000000000000000001de332ca07bb2efbb8529d67606f9f89e7934c594a31d50c7d24a3286c20a2944a3b8c2a9a07b55ebd8aa28728ce0e38dd3b3503b78fccedae80053626d8649c68346c7c49c"}],[],[{"op":"add","path":"/hash","value":"0x466ae7d4b7c270121f0a8d68fbc6c9091ffc4aa976a553a5bfa56a79cf9f63dd","note":"transactions#setTxHash","timestamp":1528133227534}],[{"op":"add","path":"/submittedTime","value":1528133227538,"note":"txStateManager - add submitted time stamp","timestamp":1528133227538}],[{"op":"replace","path":"/status","value":"submitted","note":"txStateManager: setting status to submitted","timestamp":1528133227543}],[{"op":"add","path":"/firstRetryBlockNumber","value":"0x24af72","note":"transactions/pending-tx-tracker#event: tx:block-update","timestamp":1528133238980}],[{"op":"replace","path":"/status","value":"confirmed","note":"txStateManager: setting status to confirmed","timestamp":1528133255035}]],"origin":"crypko.ai","rawTx":"0xf8b181b8843b9aca008306169e94fe2149773b3513703e79ad23d05a778a185016ee870aa87bee538000b844ea94496b000000000000000000000000000000000000000000000000000000000001e1eb000000000000000000000000000000000000000000000000000000000001de332ca07bb2efbb8529d67606f9f89e7934c594a31d50c7d24a3286c20a2944a3b8c2a9a07b55ebd8aa28728ce0e38dd3b3503b78fccedae80053626d8649c68346c7c49c","hash":"0x466ae7d4b7c270121f0a8d68fbc6c9091ffc4aa976a553a5bfa56a79cf9f63dd","submittedTime":1528133227538,"firstRetryBlockNumber":"0x24af72"},{"id":3387511061307740,"time":1528133291381,"status":"confirmed","chainId":"0x5","loadingDefaults":false,"txParams":{"from":"0x3b222de3aaba8ec9771ca9e9af5d8ed757fb7f62","to":"0x108cf70c7d384c552f42c07c41c0e1e46d77ea0d","value":"0x0","data":"0xa9059cbb00000000000000000000000092e659448c48fc926ec942d0da1459260d36bb330000000000000000000000000000000000000000000000000000000000000002","gas":"0xd508","gasPrice":"0x3b9aca00","nonce":"0xb9"},"history":[{"id":3387511061307740,"time":1528133291381,"status":"unapproved","chainId":"0x5","loadingDefaults":true,"txParams":{"from":"0x3b222de3aaba8ec9771ca9e9af5d8ed757fb7f62","to":"0x108cf70c7d384c552f42c07c41c0e1e46d77ea0d","value":"0x0","data":"0xa9059cbb00000000000000000000000092e659448c48fc926ec942d0da1459260d36bb330000000000000000000000000000000000000000000000000000000000000002","gas":"0xd508","gasPrice":"0x3b9aca00"}},[{"op":"replace","path":"/loadingDefaults","value":false,"timestamp":1528133291486}],[{"op":"add","path":"/origin","value":"MetaMask","note":"#newUnapprovedTransaction - adding the origin","timestamp":1528133291486}],[],[{"op":"replace","path":"/status","value":"approved","note":"txStateManager: setting status to approved","timestamp":1528133293588}],[{"op":"add","path":"/txParams/nonce","value":"0xb9","note":"transactions#approveTransaction","timestamp":1528133293706}],[{"op":"replace","path":"/status","value":"signed","note":"transactions#publishTransaction","timestamp":1528133293724},{"op":"add","path":"/rawTx","value":"0xf8a981b9843b9aca0082d50894108cf70c7d384c552f42c07c41c0e1e46d77ea0d80b844a9059cbb00000000000000000000000092e659448c48fc926ec942d0da1459260d36bb3300000000000000000000000000000000000000000000000000000000000000022ca04f05310490d3e3a9a159ae25f52cec9afb0a69527d30be832aaae12e64ff056ea075f81a5220bed481e764bab8830c57169c59fe528ca9cf3442f47f7618a9b4a9"}],[],[{"op":"add","path":"/hash","value":"0x3680dc9815cd05b620b6dd0017d949604ca7d92f051d5542fc8a5ecaa876af09","note":"transactions#setTxHash","timestamp":1528133293853}],[{"op":"add","path":"/submittedTime","value":1528133293859,"note":"txStateManager - add submitted time stamp","timestamp":1528133293862}],[{"op":"replace","path":"/status","value":"submitted","note":"txStateManager: setting status to submitted","timestamp":1528133293867}],[{"op":"add","path":"/firstRetryBlockNumber","value":"0x24af76","note":"transactions/pending-tx-tracker#event: tx:block-update","timestamp":1528133295200}],[{"op":"replace","path":"/status","value":"confirmed","note":"txStateManager: setting status to confirmed","timestamp":1528133327522}]],"origin":"MetaMask","rawTx":"0xf8a981b9843b9aca0082d50894108cf70c7d384c552f42c07c41c0e1e46d77ea0d80b844a9059cbb00000000000000000000000092e659448c48fc926ec942d0da1459260d36bb3300000000000000000000000000000000000000000000000000000000000000022ca04f05310490d3e3a9a159ae25f52cec9afb0a69527d30be832aaae12e64ff056ea075f81a5220bed481e764bab8830c57169c59fe528ca9cf3442f47f7618a9b4a9","hash":"0x3680dc9815cd05b620b6dd0017d949604ca7d92f051d5542fc8a5ecaa876af09","submittedTime":1528133293859,"firstRetryBlockNumber":"0x24af76"},{"id":3387511061307741,"time":1528133318440,"status":"rejected","chainId":"0x5","loadingDefaults":false,"txParams":{"from":"0x3b222de3aaba8ec9771ca9e9af5d8ed757fb7f62","to":"0x3b222de3aaba8ec9771ca9e9af5d8ed757fb7f62","value":"0x0","gasPrice":"0x3b9aca00","gas":"0x5208"},"history":[{"id":3387511061307741,"time":1528133318440,"status":"unapproved","chainId":"0x5","loadingDefaults":true,"txParams":{"from":"0x3b222de3aaba8ec9771ca9e9af5d8ed757fb7f62","to":"0x3b222de3aaba8ec9771ca9e9af5d8ed757fb7f62"}},[{"op":"add","path":"/txParams/value","value":"0x0","timestamp":1528133319641},{"op":"add","path":"/txParams/gasPrice","value":"0x3b9aca00"},{"op":"add","path":"/txParams/gas","value":"0x5208"},{"op":"replace","path":"/loadingDefaults","value":false}],[{"op":"add","path":"/origin","value":"tmashuang.github.io","note":"#newUnapprovedTransaction - adding the origin","timestamp":1528133319642}],[{"op":"replace","path":"/status","value":"rejected","note":"txStateManager: setting status to rejected","timestamp":1528133320924}]],"origin":"tmashuang.github.io"}],"addSnapAccountEnabled":false,"watchEthereumAccountEnabled":false,"bitcoinSupportEnabled":false,"bitcoinTestnetSupportEnabled":false,"solanaSupportEnabled":false,"pendingApprovals":{"testApprovalId":{"id":"testApprovalId","time":1528133319641,"origin":"metamask","type":"transaction","requestData":{"txId":"testTransactionId"},"requestState":{"test":"value"}}},"pendingApprovalCount":1,"database":{"verifiedSnaps":{"npm:@metamask/test-snap-bip44":{"id":"npm:@metamask/test-snap-bip44","metadata":{"name":"BIP-44","author":{"name":"Consensys","website":"https://consensys.io/"},"website":"https://snaps.consensys.io/","summary":"An example Snap that signs messages using BLS.","description":"An example Snap that signs messages using BLS.","audits":[{"auditor":"Consensys Diligence","report":"https://consensys.io/diligence/audits/"}],"category":"interoperability","support":{"contact":"https://github.com/MetaMask"},"sourceCode":"https://github.com/MetaMask/test-snaps"},"versions":{"5.1.2":{"checksum":"L1k+dT9Q+y3KfIqzaH09MpDZVPS9ZowEh9w01ZMTWMU="},"5.1.3":{"checksum":"21k+dT9Q+y3KfIqzaH09MpDZVPS9ZowEh9w01ZMTWMU="},"6.0.0":{"checksum":"31k+dT9Q+y3KfIqzaH09MpDZVPS9ZowEh9w01ZMTWMU="}}}}},"subjects":{"npm:@metamask/test-snap-bip44":{"origin":"npm:@metamask/test-snap-bip44","permissions":{"endowment:rpc":{"caveats":[{"type":"rpcOrigin","value":{"allowedOrigins":["npm:@metamask/json-rpc-example-snap"],"dapps":true}}],"date":1718117256761,"id":"MhjpHKQFfGpMzI6YzkPGU","invoker":"npm:@metamask/test-snap-bip44","parentCapability":"endowment:rpc"},"snap_dialog":{"caveats":null,"date":1718117256761,"id":"sBxmdvnow7QiN9aS4uSdn","invoker":"npm:@metamask/test-snap-bip44","parentCapability":"snap_dialog"},"snap_getBip44Entropy":{"caveats":[{"type":"permittedCoinTypes","value":[{"coinType":1},{"coinType":3}]}],"date":1718117256762,"id":"R9tggB2pDzyCcbt6dIebN","invoker":"npm:@metamask/test-snap-bip44","parentCapability":"snap_getBip44Entropy"}}},"https://snaps.metamask.io":{"origin":"https://snaps.metamask.io","permissions":{"wallet_snap":{"caveats":[{"type":"snapIds","value":{"npm:@metamask/test-snap-bip44":{}}}],"date":1718117256761,"id":"sBxmdvnow7QiN9aS4uSdn","invoker":"https://snaps.metamask.io"}}}},"bridgeStatusState":{"txHistory":{}}},"ramps":{"buyableChains":[{"active":true,"chainId":1,"chainName":"Ethereum Mainnet","shortName":"Ethereum","nativeTokenSupported":true},{"active":true,"chainId":10,"chainName":"Optimism Mainnet","shortName":"Optimism","nativeTokenSupported":true},{"active":true,"chainId":25,"chainName":"Cronos Mainnet","shortName":"Cronos","nativeTokenSupported":true},{"active":true,"chainId":56,"chainName":"BNB Chain Mainnet","shortName":"BNB Chain","nativeTokenSupported":true},{"active":true,"chainId":100,"chainName":"Gnosis Mainnet","shortName":"Gnosis","nativeTokenSupported":true},{"active":true,"chainId":137,"chainName":"Polygon Mainnet","shortName":"Polygon","nativeTokenSupported":true},{"active":true,"chainId":250,"chainName":"Fantom Mainnet","shortName":"Fantom","nativeTokenSupported":true},{"active":true,"chainId":324,"chainName":"zkSync Era Mainnet","shortName":"zkSync Era","nativeTokenSupported":true},{"active":true,"chainId":1101,"chainName":"Polygon zkEVM","shortName":"Polygon zkEVM","nativeTokenSupported":true},{"active":true,"chainId":1284,"chainName":"Moonbeam Mainnet","shortName":"Moonbeam","nativeTokenSupported":true},{"active":true,"chainId":1285,"chainName":"Moonriver Mainnet","shortName":"Moonriver","nativeTokenSupported":true},{"active":true,"chainId":8453,"chainName":"Base Mainnet","shortName":"Base","nativeTokenSupported":true},{"active":true,"chainId":42161,"chainName":"Arbitrum Mainnet","shortName":"Arbitrum","nativeTokenSupported":true},{"active":true,"chainId":42220,"chainName":"Celo Mainnet","shortName":"Celo","nativeTokenSupported":false},{"active":true,"chainId":43114,"chainName":"Avalanche C-Chain Mainnet","shortName":"Avalanche C-Chain","nativeTokenSupported":true},{"active":true,"chainId":59144,"chainName":"Linea","shortName":"Linea","nativeTokenSupported":true},{"active":true,"chainId":1313161554,"chainName":"Aurora Mainnet","shortName":"Aurora","nativeTokenSupported":false},{"active":true,"chainId":1666600000,"chainName":"Harmony Mainnet (Shard 0)","shortName":"Harmony (Shard 0)","nativeTokenSupported":true},{"active":true,"chainId":11297108109,"chainName":"Palm Mainnet","shortName":"Palm","nativeTokenSupported":false}]},"send":{"amountMode":"INPUT","currentTransactionUUID":null,"disabledSwapAndSendNetworks":[],"draftTransactions":{},"eip1559support":false,"gasEstimateIsLoading":true,"gasEstimatePollToken":null,"gasIsSetInModal":false,"gasPriceEstimate":"0x0","gasLimitMinimum":"0x5208","gasTotalForLayer1":"0x0","recipientMode":"CONTACT_LIST","recipientInput":"","selectedAccount":{"address":"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc","balance":"0x0"},"stage":"INACTIVE"}}')}}]);