mirror of
https://github.com/waku-org/waku-lab.git
synced 2025-03-03 17:00:31 +00:00
Updates
This commit is contained in:
parent
e90f5e7c17
commit
b0d3576034
@ -1,50 +1,22 @@
|
|||||||
{
|
{
|
||||||
"_events-CHFTlyqt.js": {
|
"_events-_Z2_TJp5.js": {
|
||||||
"file": "assets/events-CHFTlyqt.js",
|
"file": "assets/events-_Z2_TJp5.js",
|
||||||
"name": "events",
|
"name": "events",
|
||||||
"imports": [
|
"imports": [
|
||||||
"index.html"
|
"index.html"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"_hooks.module-CBpTII2E.js": {
|
"_hooks.module-BoePljmY.js": {
|
||||||
"file": "assets/hooks.module-CBpTII2E.js",
|
"file": "assets/hooks.module-BoePljmY.js",
|
||||||
"name": "hooks.module",
|
"name": "hooks.module",
|
||||||
"imports": [
|
"imports": [
|
||||||
"index.html",
|
"index.html",
|
||||||
"_events-CHFTlyqt.js",
|
"_events-_Z2_TJp5.js",
|
||||||
"_inherits_browser-Dprisln6.js"
|
"_inherits_browser-DVmoQh9i.js"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"_index-BRDupqIG.js": {
|
"_index-1C-dIFy4.js": {
|
||||||
"file": "assets/index-BRDupqIG.js",
|
"file": "assets/index-1C-dIFy4.js",
|
||||||
"name": "index",
|
|
||||||
"isDynamicEntry": true,
|
|
||||||
"imports": [
|
|
||||||
"index.html",
|
|
||||||
"_inherits_browser-Dprisln6.js",
|
|
||||||
"_hooks.module-CBpTII2E.js",
|
|
||||||
"_events-CHFTlyqt.js"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"_index-C5SJQ4cM.js": {
|
|
||||||
"file": "assets/index-C5SJQ4cM.js",
|
|
||||||
"name": "index",
|
|
||||||
"isDynamicEntry": true,
|
|
||||||
"imports": [
|
|
||||||
"index.html",
|
|
||||||
"_hooks.module-CBpTII2E.js"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"_index-DaaUGS07.js": {
|
|
||||||
"file": "assets/index-DaaUGS07.js",
|
|
||||||
"name": "index",
|
|
||||||
"isDynamicEntry": true,
|
|
||||||
"imports": [
|
|
||||||
"_events-CHFTlyqt.js"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"_index-Vk_Kr0Nw.js": {
|
|
||||||
"file": "assets/index-Vk_Kr0Nw.js",
|
|
||||||
"name": "index",
|
"name": "index",
|
||||||
"isDynamicEntry": true,
|
"isDynamicEntry": true,
|
||||||
"imports": [
|
"imports": [
|
||||||
@ -54,24 +26,52 @@
|
|||||||
"node_modules/@walletconnect/modal-ui/dist/index.js"
|
"node_modules/@walletconnect/modal-ui/dist/index.js"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"_inherits_browser-Dprisln6.js": {
|
"_index-BcaB-heU.js": {
|
||||||
"file": "assets/inherits_browser-Dprisln6.js",
|
"file": "assets/index-BcaB-heU.js",
|
||||||
|
"name": "index",
|
||||||
|
"isDynamicEntry": true,
|
||||||
|
"imports": [
|
||||||
|
"index.html",
|
||||||
|
"_hooks.module-BoePljmY.js"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"_index-DSEy00EN.js": {
|
||||||
|
"file": "assets/index-DSEy00EN.js",
|
||||||
|
"name": "index",
|
||||||
|
"isDynamicEntry": true,
|
||||||
|
"imports": [
|
||||||
|
"_events-_Z2_TJp5.js"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"_index-Ds5ZBbkh.js": {
|
||||||
|
"file": "assets/index-Ds5ZBbkh.js",
|
||||||
|
"name": "index",
|
||||||
|
"isDynamicEntry": true,
|
||||||
|
"imports": [
|
||||||
|
"index.html",
|
||||||
|
"_inherits_browser-DVmoQh9i.js",
|
||||||
|
"_hooks.module-BoePljmY.js",
|
||||||
|
"_events-_Z2_TJp5.js"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"_inherits_browser-DVmoQh9i.js": {
|
||||||
|
"file": "assets/inherits_browser-DVmoQh9i.js",
|
||||||
"name": "inherits_browser",
|
"name": "inherits_browser",
|
||||||
"imports": [
|
"imports": [
|
||||||
"index.html"
|
"index.html"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"index.html": {
|
"index.html": {
|
||||||
"file": "assets/index-CLqSQ1yP.js",
|
"file": "assets/index-mI-wCQlz.js",
|
||||||
"name": "index",
|
"name": "index",
|
||||||
"src": "index.html",
|
"src": "index.html",
|
||||||
"isEntry": true,
|
"isEntry": true,
|
||||||
"dynamicImports": [
|
"dynamicImports": [
|
||||||
"node_modules/viem/_esm/utils/ccip.js",
|
"node_modules/viem/_esm/utils/ccip.js",
|
||||||
"_index-C5SJQ4cM.js",
|
"_index-BcaB-heU.js",
|
||||||
"_index-BRDupqIG.js",
|
"_index-Ds5ZBbkh.js",
|
||||||
"node_modules/@safe-global/safe-apps-sdk/dist/esm/index.js",
|
"node_modules/@safe-global/safe-apps-sdk/dist/esm/index.js",
|
||||||
"_index-DaaUGS07.js",
|
"_index-DSEy00EN.js",
|
||||||
"node_modules/@walletconnect/ethereum-provider/dist/index.es.js"
|
"node_modules/@walletconnect/ethereum-provider/dist/index.es.js"
|
||||||
],
|
],
|
||||||
"css": [
|
"css": [
|
||||||
@ -79,7 +79,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@safe-global/safe-apps-sdk/dist/esm/index.js": {
|
"node_modules/@safe-global/safe-apps-sdk/dist/esm/index.js": {
|
||||||
"file": "assets/index-D4poE_Tm.js",
|
"file": "assets/index-B0w2h4-W.js",
|
||||||
"name": "index",
|
"name": "index",
|
||||||
"src": "node_modules/@safe-global/safe-apps-sdk/dist/esm/index.js",
|
"src": "node_modules/@safe-global/safe-apps-sdk/dist/esm/index.js",
|
||||||
"isDynamicEntry": true,
|
"isDynamicEntry": true,
|
||||||
@ -88,31 +88,31 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@walletconnect/ethereum-provider/dist/index.es.js": {
|
"node_modules/@walletconnect/ethereum-provider/dist/index.es.js": {
|
||||||
"file": "assets/index.es-BvE4YOl7.js",
|
"file": "assets/index.es-pymM7oJc.js",
|
||||||
"name": "index.es",
|
"name": "index.es",
|
||||||
"src": "node_modules/@walletconnect/ethereum-provider/dist/index.es.js",
|
"src": "node_modules/@walletconnect/ethereum-provider/dist/index.es.js",
|
||||||
"isDynamicEntry": true,
|
"isDynamicEntry": true,
|
||||||
"imports": [
|
"imports": [
|
||||||
"index.html",
|
"index.html",
|
||||||
"_events-CHFTlyqt.js",
|
"_events-_Z2_TJp5.js",
|
||||||
"_inherits_browser-Dprisln6.js"
|
"_inherits_browser-DVmoQh9i.js"
|
||||||
],
|
],
|
||||||
"dynamicImports": [
|
"dynamicImports": [
|
||||||
"_index-Vk_Kr0Nw.js"
|
"_index-1C-dIFy4.js"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@walletconnect/modal-ui/dist/index.js": {
|
"node_modules/@walletconnect/modal-ui/dist/index.js": {
|
||||||
"file": "assets/index-iQrFj71y.js",
|
"file": "assets/index-D6T2G_iY.js",
|
||||||
"name": "index",
|
"name": "index",
|
||||||
"src": "node_modules/@walletconnect/modal-ui/dist/index.js",
|
"src": "node_modules/@walletconnect/modal-ui/dist/index.js",
|
||||||
"isDynamicEntry": true,
|
"isDynamicEntry": true,
|
||||||
"imports": [
|
"imports": [
|
||||||
"_index-Vk_Kr0Nw.js",
|
"_index-1C-dIFy4.js",
|
||||||
"index.html"
|
"index.html"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/viem/_esm/utils/ccip.js": {
|
"node_modules/viem/_esm/utils/ccip.js": {
|
||||||
"file": "assets/ccip-D9LV_s6c.js",
|
"file": "assets/ccip-C1WRCCe-.js",
|
||||||
"name": "ccip",
|
"name": "ccip",
|
||||||
"src": "node_modules/viem/_esm/utils/ccip.js",
|
"src": "node_modules/viem/_esm/utils/ccip.js",
|
||||||
"isDynamicEntry": true,
|
"isDynamicEntry": true,
|
||||||
|
@ -1 +1 @@
|
|||||||
import{i as h,I as m,v as p,w,x as g,y as E,z as x,c as O,e as b,H as y,A as M}from"./index-CLqSQ1yP.js";function R(s,e){if(!h(s,{strict:!1}))throw new m({address:s});if(!h(e,{strict:!1}))throw new m({address:e});return s.toLowerCase()===e.toLowerCase()}class $ extends p{constructor({callbackSelector:e,cause:a,data:n,extraData:c,sender:d,urls:t}){var i;super(a.shortMessage||"An error occurred while fetching for an offchain result.",{cause:a,metaMessages:[...a.metaMessages||[],(i=a.metaMessages)!=null&&i.length?"":[],"Offchain Gateway Call:",t&&[" Gateway URL(s):",...t.map(f=>` ${w(f)}`)],` Sender: ${d}`,` Data: ${n}`,` Callback selector: ${e}`,` Extra data: ${c}`].flat(),name:"OffchainLookupError"})}}class A extends p{constructor({result:e,url:a}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${w(a)}`,`Response: ${g(e)}`],name:"OffchainLookupResponseMalformedError"})}}class S extends p{constructor({sender:e,to:a}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${a}`,`OffchainLookup sender address: ${e}`],name:"OffchainLookupSenderMismatchError"})}}const T="0x556f1830",q={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function v(s,{blockNumber:e,blockTag:a,data:n,to:c}){const{args:d}=E({data:n,abi:[q]}),[t,i,f,r,o]=d,{ccipRead:u}=s,k=u&&typeof(u==null?void 0:u.request)=="function"?u.request:C;try{if(!R(c,t))throw new S({sender:t,to:c});const l=await k({data:f,sender:t,urls:i}),{data:L}=await x(s,{blockNumber:e,blockTag:a,data:O([r,b([{type:"bytes"},{type:"bytes"}],[l,o])]),to:c});return L}catch(l){throw new $({callbackSelector:r,cause:l,data:n,extraData:o,sender:t,urls:i})}}async function C({data:s,sender:e,urls:a}){var c;let n=new Error("An unknown error occurred.");for(let d=0;d<a.length;d++){const t=a[d],i=t.includes("{data}")?"GET":"POST",f=i==="POST"?{data:s,sender:e}:void 0;try{const r=await fetch(t.replace("{sender}",e).replace("{data}",s),{body:JSON.stringify(f),method:i});let o;if((c=r.headers.get("Content-Type"))!=null&&c.startsWith("application/json")?o=(await r.json()).data:o=await r.text(),!r.ok){n=new y({body:f,details:o!=null&&o.error?g(o.error):r.statusText,headers:r.headers,status:r.status,url:t});continue}if(!M(o)){n=new A({result:o,url:t});continue}return o}catch(r){n=new y({body:f,details:r.message,url:t})}}throw n}export{C as ccipRequest,v as offchainLookup,q as offchainLookupAbiItem,T as offchainLookupSignature};
|
import{i as h,I as m,v as p,w,x as g,y as E,z as x,c as O,e as b,H as y,A as M}from"./index-mI-wCQlz.js";function R(s,e){if(!h(s,{strict:!1}))throw new m({address:s});if(!h(e,{strict:!1}))throw new m({address:e});return s.toLowerCase()===e.toLowerCase()}class $ extends p{constructor({callbackSelector:e,cause:a,data:n,extraData:c,sender:d,urls:t}){var i;super(a.shortMessage||"An error occurred while fetching for an offchain result.",{cause:a,metaMessages:[...a.metaMessages||[],(i=a.metaMessages)!=null&&i.length?"":[],"Offchain Gateway Call:",t&&[" Gateway URL(s):",...t.map(f=>` ${w(f)}`)],` Sender: ${d}`,` Data: ${n}`,` Callback selector: ${e}`,` Extra data: ${c}`].flat(),name:"OffchainLookupError"})}}class A extends p{constructor({result:e,url:a}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${w(a)}`,`Response: ${g(e)}`],name:"OffchainLookupResponseMalformedError"})}}class S extends p{constructor({sender:e,to:a}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${a}`,`OffchainLookup sender address: ${e}`],name:"OffchainLookupSenderMismatchError"})}}const T="0x556f1830",q={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function v(s,{blockNumber:e,blockTag:a,data:n,to:c}){const{args:d}=E({data:n,abi:[q]}),[t,i,f,r,o]=d,{ccipRead:u}=s,k=u&&typeof(u==null?void 0:u.request)=="function"?u.request:C;try{if(!R(c,t))throw new S({sender:t,to:c});const l=await k({data:f,sender:t,urls:i}),{data:L}=await x(s,{blockNumber:e,blockTag:a,data:O([r,b([{type:"bytes"},{type:"bytes"}],[l,o])]),to:c});return L}catch(l){throw new $({callbackSelector:r,cause:l,data:n,extraData:o,sender:t,urls:i})}}async function C({data:s,sender:e,urls:a}){var c;let n=new Error("An unknown error occurred.");for(let d=0;d<a.length;d++){const t=a[d],i=t.includes("{data}")?"GET":"POST",f=i==="POST"?{data:s,sender:e}:void 0;try{const r=await fetch(t.replace("{sender}",e).replace("{data}",s),{body:JSON.stringify(f),method:i});let o;if((c=r.headers.get("Content-Type"))!=null&&c.startsWith("application/json")?o=(await r.json()).data:o=await r.text(),!r.ok){n=new y({body:f,details:o!=null&&o.error?g(o.error):r.statusText,headers:r.headers,status:r.status,url:t});continue}if(!M(o)){n=new A({result:o,url:t});continue}return o}catch(r){n=new y({body:f,details:r.message,url:t})}}throw n}export{C as ccipRequest,v as offchainLookup,q as offchainLookupAbiItem,T as offchainLookupSignature};
|
File diff suppressed because one or more lines are too long
1
buddybook/assets/hooks.module-BoePljmY.js
Normal file
1
buddybook/assets/hooks.module-BoePljmY.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
buddybook/assets/index-1C-dIFy4.js
Normal file
2
buddybook/assets/index-1C-dIFy4.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
import{e as p}from"./events-CHFTlyqt.js";function _(n,r){for(var i=0;i<r.length;i++){const e=r[i];if(typeof e!="string"&&!Array.isArray(e)){for(const s in e)if(s!=="default"&&!(s in n)){const o=Object.getOwnPropertyDescriptor(e,s);o&&Object.defineProperty(n,s,o.get?o:{enumerable:!0,get:()=>e[s]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var l={},g={},f={};Object.defineProperty(f,"__esModule",{value:!0});f.getLowerCase=void 0;function m(n){return n&&n.toLowerCase()}f.getLowerCase=m;Object.defineProperty(g,"__esModule",{value:!0});g.SafeAppProvider=void 0;const w=p,u=f;class k extends w.EventEmitter{constructor(r,i){super(),this.submittedTxs=new Map,this.safe=r,this.sdk=i}async connect(){this.emit("connect",{chainId:this.chainId})}async disconnect(){}get chainId(){return this.safe.chainId}async request(r){const{method:i,params:e=[]}=r;switch(i){case"eth_accounts":return[this.safe.safeAddress];case"net_version":case"eth_chainId":return`0x${this.chainId.toString(16)}`;case"personal_sign":{const[t,a]=e;if(this.safe.safeAddress.toLowerCase()!==a.toLowerCase())throw new Error("The address or message hash is invalid");const h=await this.sdk.txs.signMessage(t);return("signature"in h?h.signature:void 0)||"0x"}case"eth_sign":{const[t,a]=e;if(this.safe.safeAddress.toLowerCase()!==t.toLowerCase()||!a.startsWith("0x"))throw new Error("The address or message hash is invalid");const h=await this.sdk.txs.signMessage(a);return("signature"in h?h.signature:void 0)||"0x"}case"eth_signTypedData":case"eth_signTypedData_v4":{const[t,a]=e,h=typeof a=="string"?JSON.parse(a):a;if(this.safe.safeAddress.toLowerCase()!==t.toLowerCase())throw new Error("The address is invalid");const c=await this.sdk.txs.signTypedMessage(h);return("signature"in c?c.signature:void 0)||"0x"}case"eth_sendTransaction":const s={...e[0],value:e[0].value||"0",data:e[0].data||"0x"};typeof s.gas=="string"&&s.gas.startsWith("0x")&&(s.gas=parseInt(s.gas,16));const o=await this.sdk.txs.send({txs:[s],params:{safeTxGas:s.gas}});return this.submittedTxs.set(o.safeTxHash,{from:this.safe.safeAddress,hash:o.safeTxHash,gas:0,gasPrice:"0x00",nonce:0,input:s.data,value:s.value,to:s.to,blockHash:null,blockNumber:null,transactionIndex:null}),o.safeTxHash;case"eth_blockNumber":return(await this.sdk.eth.getBlockByNumber(["latest"])).number;case"eth_getBalance":return this.sdk.eth.getBalance([(0,u.getLowerCase)(e[0]),e[1]]);case"eth_getCode":return this.sdk.eth.getCode([(0,u.getLowerCase)(e[0]),e[1]]);case"eth_getTransactionCount":return this.sdk.eth.getTransactionCount([(0,u.getLowerCase)(e[0]),e[1]]);case"eth_getStorageAt":return this.sdk.eth.getStorageAt([(0,u.getLowerCase)(e[0]),e[1],e[2]]);case"eth_getBlockByNumber":return this.sdk.eth.getBlockByNumber([e[0],e[1]]);case"eth_getBlockByHash":return this.sdk.eth.getBlockByHash([e[0],e[1]]);case"eth_getTransactionByHash":let d=e[0];try{d=(await this.sdk.txs.getBySafeTxHash(d)).txHash||d}catch{}return this.submittedTxs.has(d)?this.submittedTxs.get(d):this.sdk.eth.getTransactionByHash([d]).then(t=>(t&&(t.hash=e[0]),t));case"eth_getTransactionReceipt":{let t=e[0];try{t=(await this.sdk.txs.getBySafeTxHash(t)).txHash||t}catch{}return this.sdk.eth.getTransactionReceipt([t]).then(a=>(a&&(a.transactionHash=e[0]),a))}case"eth_estimateGas":return this.sdk.eth.getEstimateGas(e[0]);case"eth_call":return this.sdk.eth.call([e[0],e[1]]);case"eth_getLogs":return this.sdk.eth.getPastLogs([e[0]]);case"eth_gasPrice":return this.sdk.eth.getGasPrice();case"wallet_getPermissions":return this.sdk.wallet.getPermissions();case"wallet_requestPermissions":return this.sdk.wallet.requestPermissions(e[0]);case"safe_setSettings":return this.sdk.eth.setSafeSettings([e[0]]);default:throw Error(`"${r.method}" not implemented`)}}send(r,i){r||i("Undefined request"),this.request(r).then(e=>i(null,{jsonrpc:"2.0",id:r.id,result:e})).catch(e=>i(e,null))}}g.SafeAppProvider=k;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.SafeAppProvider=void 0;var r=g;Object.defineProperty(n,"SafeAppProvider",{enumerable:!0,get:function(){return r.SafeAppProvider}})})(l);const T=_({__proto__:null},[l]);export{T as i};
|
import{e as p}from"./events-_Z2_TJp5.js";function _(n,r){for(var i=0;i<r.length;i++){const e=r[i];if(typeof e!="string"&&!Array.isArray(e)){for(const s in e)if(s!=="default"&&!(s in n)){const o=Object.getOwnPropertyDescriptor(e,s);o&&Object.defineProperty(n,s,o.get?o:{enumerable:!0,get:()=>e[s]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var l={},g={},f={};Object.defineProperty(f,"__esModule",{value:!0});f.getLowerCase=void 0;function m(n){return n&&n.toLowerCase()}f.getLowerCase=m;Object.defineProperty(g,"__esModule",{value:!0});g.SafeAppProvider=void 0;const w=p,u=f;class k extends w.EventEmitter{constructor(r,i){super(),this.submittedTxs=new Map,this.safe=r,this.sdk=i}async connect(){this.emit("connect",{chainId:this.chainId})}async disconnect(){}get chainId(){return this.safe.chainId}async request(r){const{method:i,params:e=[]}=r;switch(i){case"eth_accounts":return[this.safe.safeAddress];case"net_version":case"eth_chainId":return`0x${this.chainId.toString(16)}`;case"personal_sign":{const[t,a]=e;if(this.safe.safeAddress.toLowerCase()!==a.toLowerCase())throw new Error("The address or message hash is invalid");const h=await this.sdk.txs.signMessage(t);return("signature"in h?h.signature:void 0)||"0x"}case"eth_sign":{const[t,a]=e;if(this.safe.safeAddress.toLowerCase()!==t.toLowerCase()||!a.startsWith("0x"))throw new Error("The address or message hash is invalid");const h=await this.sdk.txs.signMessage(a);return("signature"in h?h.signature:void 0)||"0x"}case"eth_signTypedData":case"eth_signTypedData_v4":{const[t,a]=e,h=typeof a=="string"?JSON.parse(a):a;if(this.safe.safeAddress.toLowerCase()!==t.toLowerCase())throw new Error("The address is invalid");const c=await this.sdk.txs.signTypedMessage(h);return("signature"in c?c.signature:void 0)||"0x"}case"eth_sendTransaction":const s={...e[0],value:e[0].value||"0",data:e[0].data||"0x"};typeof s.gas=="string"&&s.gas.startsWith("0x")&&(s.gas=parseInt(s.gas,16));const o=await this.sdk.txs.send({txs:[s],params:{safeTxGas:s.gas}});return this.submittedTxs.set(o.safeTxHash,{from:this.safe.safeAddress,hash:o.safeTxHash,gas:0,gasPrice:"0x00",nonce:0,input:s.data,value:s.value,to:s.to,blockHash:null,blockNumber:null,transactionIndex:null}),o.safeTxHash;case"eth_blockNumber":return(await this.sdk.eth.getBlockByNumber(["latest"])).number;case"eth_getBalance":return this.sdk.eth.getBalance([(0,u.getLowerCase)(e[0]),e[1]]);case"eth_getCode":return this.sdk.eth.getCode([(0,u.getLowerCase)(e[0]),e[1]]);case"eth_getTransactionCount":return this.sdk.eth.getTransactionCount([(0,u.getLowerCase)(e[0]),e[1]]);case"eth_getStorageAt":return this.sdk.eth.getStorageAt([(0,u.getLowerCase)(e[0]),e[1],e[2]]);case"eth_getBlockByNumber":return this.sdk.eth.getBlockByNumber([e[0],e[1]]);case"eth_getBlockByHash":return this.sdk.eth.getBlockByHash([e[0],e[1]]);case"eth_getTransactionByHash":let d=e[0];try{d=(await this.sdk.txs.getBySafeTxHash(d)).txHash||d}catch{}return this.submittedTxs.has(d)?this.submittedTxs.get(d):this.sdk.eth.getTransactionByHash([d]).then(t=>(t&&(t.hash=e[0]),t));case"eth_getTransactionReceipt":{let t=e[0];try{t=(await this.sdk.txs.getBySafeTxHash(t)).txHash||t}catch{}return this.sdk.eth.getTransactionReceipt([t]).then(a=>(a&&(a.transactionHash=e[0]),a))}case"eth_estimateGas":return this.sdk.eth.getEstimateGas(e[0]);case"eth_call":return this.sdk.eth.call([e[0],e[1]]);case"eth_getLogs":return this.sdk.eth.getPastLogs([e[0]]);case"eth_gasPrice":return this.sdk.eth.getGasPrice();case"wallet_getPermissions":return this.sdk.wallet.getPermissions();case"wallet_requestPermissions":return this.sdk.wallet.requestPermissions(e[0]);case"safe_setSettings":return this.sdk.eth.setSafeSettings([e[0]]);default:throw Error(`"${r.method}" not implemented`)}}send(r,i){r||i("Undefined request"),this.request(r).then(e=>i(null,{jsonrpc:"2.0",id:r.id,result:e})).catch(e=>i(e,null))}}g.SafeAppProvider=k;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.SafeAppProvider=void 0;var r=g;Object.defineProperty(n,"SafeAppProvider",{enumerable:!0,get:function(){return r.SafeAppProvider}})})(l);const T=_({__proto__:null},[l]);export{T as i};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
70
buddybook/assets/index.es-pymM7oJc.js
Normal file
70
buddybook/assets/index.es-pymM7oJc.js
Normal file
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
import{g as n,u as s}from"./index-CLqSQ1yP.js";const a=n(s);var r={exports:{}};typeof Object.create=="function"?r.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:r.exports=function(e,t){if(t){e.super_=t;var o=function(){};o.prototype=t.prototype,e.prototype=new o,e.prototype.constructor=e}};var u=r.exports;export{u as i,a as r};
|
import{g as n,u as s}from"./index-mI-wCQlz.js";const a=n(s);var r={exports:{}};typeof Object.create=="function"?r.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:r.exports=function(e,t){if(t){e.super_=t;var o=function(){};o.prototype=t.prototype,e.prototype=new o,e.prototype.constructor=e}};var u=r.exports;export{u as i,a as r};
|
4
buddybook/favicon.svg
Normal file
4
buddybook/favicon.svg
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
||||||
|
<rect width="32" height="32" fill="#646cff"/>
|
||||||
|
<text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" fill="white" font-family="Arial" font-size="20">B</text>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 268 B |
@ -2,11 +2,26 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
|
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>BuddyBook Dogfood</title>
|
<title>BuddyBook Dogfood</title>
|
||||||
<base href="/" />
|
<base href="/" />
|
||||||
<script type="module" crossorigin src="/buddybook/assets/index-CLqSQ1yP.js"></script>
|
<script>
|
||||||
<link rel="stylesheet" crossorigin href="/buddybook/assets/index-Dt_CGZqf.css">
|
window.global = window;
|
||||||
|
window.process = {
|
||||||
|
env: {
|
||||||
|
NODE_ENV: 'production',
|
||||||
|
VITE_WALLETCONNECT_PROJECT_ID: '1d93edc21291f98e3bed6ff7617ff539'
|
||||||
|
},
|
||||||
|
nextTick: function(fn) { setTimeout(fn, 0); },
|
||||||
|
platform: 'browser',
|
||||||
|
version: 'v16.0.0',
|
||||||
|
browser: true
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
<script type="module" crossorigin src="/assets/index-mI-wCQlz.js"></script>
|
||||||
|
<link rel="stylesheet" crossorigin href="/assets/index-Dt_CGZqf.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
||||||
2:HL["/_next/static/css/93e318bfbcd18d37.css","style",{"crossOrigin":""}]
|
2:HL["/_next/static/css/93e318bfbcd18d37.css","style",{"crossOrigin":""}]
|
||||||
0:["rp4Ih8fj9YecDRnymfEUx",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/93e318bfbcd18d37.css","precedence":"next","crossOrigin":""}]],"$L4"]]]]
|
0:["YbqkI6PxL4I-BPyh4Nimw",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/93e318bfbcd18d37.css","precedence":"next","crossOrigin":""}]],"$L4"]]]]
|
||||||
5:I[5685,["948","static/chunks/948-50bbf5866eb892b4.js","185","static/chunks/app/layout-6076b03a814c7003.js"],""]
|
5:I[5685,["948","static/chunks/948-50bbf5866eb892b4.js","185","static/chunks/app/layout-6076b03a814c7003.js"],""]
|
||||||
6:I[6954,[],""]
|
6:I[6954,[],""]
|
||||||
7:I[7264,[],""]
|
7:I[7264,[],""]
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
||||||
2:HL["/_next/static/css/93e318bfbcd18d37.css","style",{"crossOrigin":""}]
|
2:HL["/_next/static/css/93e318bfbcd18d37.css","style",{"crossOrigin":""}]
|
||||||
0:["rp4Ih8fj9YecDRnymfEUx",[[["",{"children":["view",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/93e318bfbcd18d37.css","precedence":"next","crossOrigin":""}]],"$L4"]]]]
|
0:["YbqkI6PxL4I-BPyh4Nimw",[[["",{"children":["view",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/93e318bfbcd18d37.css","precedence":"next","crossOrigin":""}]],"$L4"]]]]
|
||||||
5:I[5685,["948","static/chunks/948-50bbf5866eb892b4.js","185","static/chunks/app/layout-6076b03a814c7003.js"],""]
|
5:I[5685,["948","static/chunks/948-50bbf5866eb892b4.js","185","static/chunks/app/layout-6076b03a814c7003.js"],""]
|
||||||
6:I[6954,[],""]
|
6:I[6954,[],""]
|
||||||
7:I[7264,[],""]
|
7:I[7264,[],""]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user