0x05f37c67a0ff5023feae3c76bc660251a78a4597eb5de119b9a4d3c7a9c93377
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { ethers } from "ethers"; | |
| import { EthersAdapter } from "@safe-global/protocol-kit"; | |
| import { Safe4337Pack } from "@safe-global/relay-kit"; | |
| const SAFE_OWNER = ""; | |
| const RPC_URL = "https://sepolia.base.org"; | |
| const BUNDLER_URL = "https://api.pimlico.io/v2/84532/rpc?apikey="; | |
| const PRIVATE_KEY = "" | |
| const TX_TO_ADDRESS = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Third Party Cookies Test</title> | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "title": "Asset Metadata", | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string", | |
| "description": "My first NFT" | |
| }, | |
| "description": { | |
| "type": "string", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SOL_RESET_PASSWORD_FORM_URL, | |
| EXCHANGE_AUTH_CODE_URL, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Participant = function(name) { | |
| this.name = name; | |
| this.chatroom = null; | |
| }; | |
| Participant.prototype = { | |
| send: function(message, to) { | |
| this.chatroom.send(message, this, to); | |
| }, | |
| receive: function(message, from) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Participant = function(name) { | |
| this.name = name; | |
| this.chatroom = null; | |
| }; | |
| Participant.prototype = { | |
| send: function(message, to) { | |
| this.chatroom.send(message, this, to); | |
| }, | |
| receive: function(message, from) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class EventEmitter { | |
| constructor() { | |
| this.events = {}; | |
| } | |
| emit(eventName, data) { | |
| const event = this.events[eventName]; | |
| if( event ) { | |
| event.forEach(fn => { | |
| fn.call(null, data); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var $start = $($('img')[2]).clone(); | |
| var $end = $('img')[0]; | |
| var rectStart = $($('img')[2])[0].getBoundingClientRect(); | |
| var rectEnd = $end.getBoundingClientRect(); | |
| $start.css({ | |
| position: 'absolute', | |
| top: rectStart.top + window.scrollY, | |
| left: rectStart.left, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class SingletonHelper { | |
| private static SingletonHelper instance; | |
| private static Context mContext = null; | |
| public static SingletonHelper getInstance(Context context) | |
| { | |
| if (instance == null) { | |
| instance = new SingletonHelper(context); | |
| } else { |
NewerOlder