├── ios ├── Flutter │ ├── Debug.xcconfig │ ├── Release.xcconfig │ └── AppFrameworkInfo.plist ├── Runner │ ├── Runner-Bridging-Header.h │ ├── Assets.xcassets │ │ ├── LaunchImage.imageset │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ ├── README.md │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ └── Contents.json │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ └── Info.plist ├── Runner.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── WorkspaceSettings.xcsettings │ │ │ └── IDEWorkspaceChecks.plist │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── Runner.xcscheme │ └── project.pbxproj ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── WorkspaceSettings.xcsettings │ │ └── IDEWorkspaceChecks.plist └── .gitignore ├── .vscode └── settings.json ├── android ├── gradle.properties ├── app │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── drawable │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── drawable-v21 │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── values │ │ │ │ │ └── styles.xml │ │ │ │ └── values-night │ │ │ │ │ └── styles.xml │ │ │ ├── kotlin │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ └── webthreeauth │ │ │ │ │ └── MainActivity.kt │ │ │ └── AndroidManifest.xml │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ └── profile │ │ │ └── AndroidManifest.xml │ └── build.gradle ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── .gitignore ├── settings.gradle └── build.gradle ├── lib ├── constants │ └── node_api.dart ├── globals │ ├── global_key.dart │ ├── custom_button.dart │ └── connectivity_listener.dart ├── service_locator.dart ├── exceptions │ ├── rpc_response.dart │ └── general_exception.dart ├── page │ ├── home_page.dart │ ├── contr_page.dart │ └── collection_web_view.dart ├── main.dart └── repo │ ├── conectivity_status.dart │ ├── ethereum_credentials.dart │ ├── wallet_connect_service.dart │ └── contract.dart ├── .metadata ├── assets ├── Base64.json ├── StringUtils.json └── Domains.json ├── .gitignore ├── LICENSE ├── test └── widget_test.dart ├── README.md ├── analysis_options.yaml ├── pubspec.yaml └── pubspec.lock /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "java.configuration.updateBuildConfiguration": "interactive" 3 | } -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /lib/constants/node_api.dart: -------------------------------------------------------------------------------- 1 | const rpc_api = "l2pS-xYjoSCsYuAssq8YcXX__H-xx4Ae"; 2 | const wss_api = "l2pS-xYjoSCsYuAssq8YcXX__H-xx4Ae"; -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /lib/globals/global_key.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | final GlobalKey snackbarKey = 4 | GlobalKey(); 5 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viktorvoltz/open-name-service/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/webthreeauth/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.webthreeauth 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip 7 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled and should not be manually edited. 5 | 6 | version: 7 | revision: 5f105a6ca7a5ac7b8bc9b241f4c2d86f4188cf5c 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | **/*.keystore 13 | **/*.jks 14 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /lib/service_locator.dart: -------------------------------------------------------------------------------- 1 | import 'package:get_it/get_it.dart'; 2 | 3 | import 'repo/conectivity_status.dart'; 4 | import 'repo/contract.dart'; 5 | import 'repo/wallet_connect_service.dart'; 6 | 7 | final locator = GetIt.instance; 8 | 9 | void setup(){ 10 | locator.registerLazySingleton(() => NetworkConnectivityImpl.instance); 11 | locator.registerLazySingleton(() => WalletConnectService()); 12 | locator.registerLazySingleton(() => DomainContract()); 13 | } -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/exceptions/rpc_response.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../globals/global_key.dart'; 4 | 5 | class RPCResponse { 6 | bool succeed; 7 | T? data; 8 | String? error; 9 | 10 | RPCResponse(this.data, {this.error}) : succeed = error == null { 11 | snackbarKey.currentState?.removeCurrentSnackBar(); 12 | late final SnackBar snackBar; 13 | if (!succeed) { 14 | snackBar = SnackBar(content: Text(error!)); 15 | snackbarKey.currentState?.showSnackBar(snackBar); 16 | } else { 17 | snackBar = SnackBar(content: Text(data.toString())); 18 | snackbarKey.currentState?.showSnackBar(snackBar); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | **/dgph 2 | *.mode1v3 3 | *.mode2v3 4 | *.moved-aside 5 | *.pbxuser 6 | *.perspectivev3 7 | **/*sync/ 8 | .sconsign.dblite 9 | .tags* 10 | **/.vagrant/ 11 | **/DerivedData/ 12 | Icon? 13 | **/Pods/ 14 | **/.symlinks/ 15 | profile 16 | xcuserdata 17 | **/.generated/ 18 | Flutter/App.framework 19 | Flutter/Flutter.framework 20 | Flutter/Flutter.podspec 21 | Flutter/Generated.xcconfig 22 | Flutter/ephemeral/ 23 | Flutter/app.flx 24 | Flutter/app.zip 25 | Flutter/flutter_assets/ 26 | Flutter/flutter_export_environment.sh 27 | ServiceDefinitions.json 28 | Runner/GeneratedPluginRegistrant.* 29 | 30 | # Exceptions to above rules. 31 | !default.mode1v3 32 | !default.mode2v3 33 | !default.pbxuser 34 | !default.perspectivev3 35 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.6.10' 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:4.1.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | mavenCentral() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | } 25 | subprojects { 26 | project.evaluationDependsOn(':app') 27 | } 28 | 29 | task clean(type: Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /assets/Base64.json: -------------------------------------------------------------------------------- 1 | { 2 | "_format": "hh-sol-artifact-1", 3 | "contractName": "Base64", 4 | "sourceName": "contracts/libraries/Base64.sol", 5 | "abi": [], 6 | "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201e7070be39a81489b90856c5d608ce8d0eefec185f27c3193575b572eaf9978e64736f6c634300080a0033", 7 | "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201e7070be39a81489b90856c5d608ce8d0eefec185f27c3193575b572eaf9978e64736f6c634300080a0033", 8 | "linkReferences": {}, 9 | "deployedLinkReferences": {} 10 | } 11 | -------------------------------------------------------------------------------- /assets/StringUtils.json: -------------------------------------------------------------------------------- 1 | { 2 | "_format": "hh-sol-artifact-1", 3 | "contractName": "StringUtils", 4 | "sourceName": "contracts/libraries/StringUtils.sol", 5 | "abi": [], 6 | "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a1bf6f0117e29e5642d075fe74c86fa9405612c1d55b10514419c8766f20730864736f6c634300080a0033", 7 | "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a1bf6f0117e29e5642d075fe74c86fa9405612c1d55b10514419c8766f20730864736f6c634300080a0033", 8 | "linkReferences": {}, 9 | "deployedLinkReferences": {} 10 | } 11 | -------------------------------------------------------------------------------- /lib/page/home_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../service_locator.dart'; 4 | import '../globals/connectivity_listener.dart'; 5 | import '../repo/conectivity_status.dart'; 6 | import 'contr_page.dart'; 7 | 8 | class HomePage extends StatefulWidget { 9 | const HomePage({Key? key}) : super(key: key); 10 | 11 | @override 12 | State createState() => _HomePageState(); 13 | } 14 | 15 | class _HomePageState extends State { 16 | 17 | @override 18 | void initState() { 19 | connectivityListener(); 20 | super.initState(); 21 | } 22 | 23 | @override 24 | void dispose() { 25 | locator.get().disposeStream(); 26 | super.dispose(); 27 | } 28 | 29 | @override 30 | Widget build(BuildContext context) { 31 | return const ContractPage(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 9.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /lib/exceptions/general_exception.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../globals/global_key.dart'; 4 | 5 | abstract class GeneralException implements Exception { 6 | const GeneralException([this.message]); 7 | 8 | final String? message; 9 | 10 | @override 11 | String toString() { 12 | String result = 'GeneralException'; 13 | if (message is String) return '$result: $message'; 14 | return result; 15 | } 16 | } 17 | 18 | class RRPCError extends GeneralException{ 19 | RRPCError(String message) :super(message){ 20 | final SnackBar snackBar = SnackBar(content: Text(message)); 21 | snackbarKey.currentState?.showSnackBar(snackBar); 22 | } 23 | } 24 | 25 | class UnkwownException extends GeneralException{ 26 | UnkwownException(String message) : super(message){ 27 | final SnackBar snackBar = SnackBar(content: Text(message)); 28 | snackbarKey.currentState?.showSnackBar(snackBar); 29 | } 30 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | **/ios/Flutter/.last_build_id 26 | .dart_tool/ 27 | .flutter-plugins 28 | .flutter-plugins-dependencies 29 | .packages 30 | .pub-cache/ 31 | .pub/ 32 | /build/ 33 | 34 | # Web related 35 | lib/generated_plugin_registrant.dart 36 | 37 | # Symbolication related 38 | app.*.symbols 39 | 40 | # Obfuscation related 41 | app.*.map.json 42 | 43 | # Android Studio will place build artifacts here 44 | /android/app/debug 45 | /android/app/profile 46 | /android/app/release 47 | 48 | /lib/constants/ 49 | /lib/constants/node_api.dart -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Chinyeaka Chinonso 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /test/widget_test.dart: -------------------------------------------------------------------------------- 1 | // This is a basic Flutter widget test. 2 | // 3 | // To perform an interaction with a widget in your test, use the WidgetTester 4 | // utility that Flutter provides. For example, you can send tap and scroll 5 | // gestures. You can also use WidgetTester to find child widgets in the widget 6 | // tree, read text, and verify that the values of widget properties are correct. 7 | 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter_test/flutter_test.dart'; 10 | 11 | import 'package:webthreeauth/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | await tester.pumpWidget(const MyApp()); 17 | 18 | // Verify that our counter starts at 0. 19 | expect(find.text('0'), findsOneWidget); 20 | expect(find.text('1'), findsNothing); 21 | 22 | // Tap the '+' icon and trigger a frame. 23 | await tester.tap(find.byIcon(Icons.add)); 24 | await tester.pump(); 25 | 26 | // Verify that our counter has incremented. 27 | expect(find.text('0'), findsNothing); 28 | expect(find.text('1'), findsOneWidget); 29 | }); 30 | } 31 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'dart:io'; 2 | 3 | import 'package:flutter/material.dart'; 4 | import 'package:provider/single_child_widget.dart'; 5 | import 'package:provider/provider.dart'; 6 | import 'package:flutter_inappwebview/flutter_inappwebview.dart'; 7 | 8 | import 'page/home_page.dart'; 9 | import 'globals/global_key.dart'; 10 | import 'page/contr_page.dart'; 11 | import 'service_locator.dart'; 12 | import 'repo/wallet_connect_service.dart'; 13 | 14 | Future main() async { 15 | WidgetsFlutterBinding.ensureInitialized(); 16 | 17 | if (Platform.isAndroid) { 18 | await AndroidInAppWebViewController.setWebContentsDebuggingEnabled(true); 19 | } 20 | setup(); 21 | runApp( 22 | MultiProvider( 23 | providers: [ChangeNotifierProvider(create: (_) => WalletConnectService())], 24 | child: const MyApp(), 25 | ), 26 | ); 27 | } 28 | 29 | class MyApp extends StatelessWidget { 30 | const MyApp({Key? key}) : super(key: key); 31 | 32 | // This widget is the root of your application. 33 | @override 34 | Widget build(BuildContext context) { 35 | return MaterialApp( 36 | title: 'Open DNS dApp', 37 | scaffoldMessengerKey: snackbarKey, 38 | theme: ThemeData( 39 | primarySwatch: Colors.blue, 40 | ), 41 | home: const HomePage(), 42 | ); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /lib/globals/custom_button.dart: -------------------------------------------------------------------------------- 1 | import 'dart:io'; 2 | 3 | import 'package:flutter/cupertino.dart'; 4 | import 'package:flutter/material.dart'; 5 | import 'package:flutter/services.dart'; 6 | 7 | class CustomButton extends StatefulWidget { 8 | final String? text; 9 | final VoidCallback? onPressed; 10 | final Color? color; 11 | 12 | const CustomButton( 13 | {Key? key, this.text, this.onPressed, this.color}) 14 | : super(key: key); 15 | 16 | @override 17 | State createState() => _CustomButtonState(); 18 | } 19 | 20 | class _CustomButtonState extends State { 21 | late String os; 22 | 23 | @override 24 | void initState() { 25 | os = Platform.operatingSystem; 26 | super.initState(); 27 | } 28 | 29 | @override 30 | Widget build(BuildContext context) { 31 | switch (os) { 32 | case "android": 33 | return MaterialButton( 34 | color: widget.color, 35 | onPressed: widget.onPressed, 36 | child: Text(widget.text!, style: const TextStyle(color: Colors.white)), 37 | ); 38 | case "ios": 39 | return CupertinoButton( 40 | color: widget.color, 41 | onPressed: widget.onPressed, 42 | child: Text(widget.text!), 43 | ); 44 | default: return ElevatedButton(onPressed: widget.onPressed, child: Text(widget.text!)); 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /lib/globals/connectivity_listener.dart: -------------------------------------------------------------------------------- 1 | import 'package:connectivity_plus/connectivity_plus.dart'; 2 | import 'package:flutter/material.dart'; 3 | 4 | import '../repo/conectivity_status.dart'; 5 | import '../service_locator.dart'; 6 | import 'global_key.dart'; 7 | 8 | Map _source = {ConnectivityResult.none: false}; 9 | NetworkConnectivityImpl listener = locator.get(); 10 | String string = ''; 11 | 12 | void connectivityListener(){ 13 | late bool isOnline; 14 | locator.get().initialise(); 15 | listener.myStream.listen((event) { 16 | isOnline = false; 17 | _source = event; 18 | 19 | switch (_source.keys.toList()[0]) { 20 | case ConnectivityResult.mobile: 21 | isOnline = _source.values.toList()[0] ? true : false; 22 | string = 23 | _source.values.toList()[0] ? 'Mobile: Online' : 'Mobile: Offline'; 24 | break; 25 | case ConnectivityResult.wifi: 26 | string = 27 | _source.values.toList()[0] ? 'WiFi: Online' : 'WiFi: Offline'; 28 | break; 29 | case ConnectivityResult.none: 30 | default: 31 | string = 'Offline'; 32 | } 33 | 34 | final SnackBar snackBar = SnackBar(content: Text(string), backgroundColor: isOnline ? Colors.green : Colors.red); 35 | snackbarKey.currentState?.showSnackBar(snackBar); 36 | }); 37 | 38 | } -------------------------------------------------------------------------------- /lib/repo/conectivity_status.dart: -------------------------------------------------------------------------------- 1 | import 'dart:async'; 2 | import 'dart:io'; 3 | 4 | import 'package:connectivity_plus/connectivity_plus.dart'; 5 | 6 | 7 | abstract class NetworkConnectivity{ 8 | void initialise(); 9 | void _checkStatus(ConnectivityResult result); 10 | void disposeStream(); 11 | } 12 | 13 | class NetworkConnectivityImpl extends NetworkConnectivity{ 14 | NetworkConnectivityImpl._(); 15 | static final _instance = NetworkConnectivityImpl._(); 16 | static NetworkConnectivityImpl get instance => _instance; 17 | final _networkConnectivityImpl = Connectivity(); 18 | final _controller = StreamController.broadcast(); 19 | Stream get myStream => _controller.stream; 20 | 21 | @override 22 | void initialise() async { 23 | await _networkConnectivityImpl.checkConnectivity(); 24 | _networkConnectivityImpl.onConnectivityChanged.listen((result) { 25 | _checkStatus(result); 26 | }); 27 | } 28 | 29 | @override 30 | void _checkStatus(ConnectivityResult result) async { 31 | bool isOnline = false; 32 | try { 33 | final result = await InternetAddress.lookup('google.com'); 34 | isOnline = result.isNotEmpty && result[0].rawAddress.isNotEmpty; 35 | } on SocketException catch (_) { 36 | isOnline = false; 37 | } 38 | _controller.sink.add({result: isOnline}); 39 | } 40 | @override 41 | void disposeStream() => _controller.close(); 42 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # open-name-service 2 | - connecting to wallet 3 | - registering a domain on the network 4 | - fetching address by domain name & 5 | - viewing domain on opensea testnet 6 | 7 | 8 | ## .voltz (voltz domain) 9 | `open-name-service` is a decentralized naming system for wallets/public keys on Polygon(testnet), inspired by [ens domains](https://ens.domains/). 10 | anyone can `register` a domain name (even multiple names) for their wallet. 11 | 12 | upcoming features include `setRecord` and `getRecord` per [smart contract](https://github.com/viktorvoltz/mynameservice) methods 13 | 14 | ## verify 15 | both the smart contract and dApp are completely open-source, sou you can verify the legitimacy of the softwares. 16 | - smart contract: [smart contract](https://github.com/viktorvoltz/mynameservice) 17 | - dApp: [dApp](https://github.com/viktorvoltz/open-name-service) 18 | 19 | ## install/requirements 20 | - install APK from `releases`. 21 | - metamask or any other wallet-connect compatible wallet. 22 | 23 | ## minted domains (open sea) 24 | [voltz domains](https://testnets.opensea.io/collection/voltz-domains) 25 | 26 | -------------------------------------------------------------------------------- /analysis_options.yaml: -------------------------------------------------------------------------------- 1 | # This file configures the analyzer, which statically analyzes Dart code to 2 | # check for errors, warnings, and lints. 3 | # 4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled 5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be 6 | # invoked from the command line by running `flutter analyze`. 7 | 8 | # The following line activates a set of recommended lints for Flutter apps, 9 | # packages, and plugins designed to encourage good coding practices. 10 | include: package:flutter_lints/flutter.yaml 11 | 12 | linter: 13 | # The lint rules applied to this project can be customized in the 14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml` 15 | # included above or to enable additional rules. A list of all available lints 16 | # and their documentation is published at 17 | # https://dart-lang.github.io/linter/lints/index.html. 18 | # 19 | # Instead of disabling a lint rule for the entire project in the 20 | # section below, it can also be suppressed for a single line of code 21 | # or a specific dart file by using the `// ignore: name_of_lint` and 22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file 23 | # producing the lint. 24 | rules: 25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule 26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule 27 | 28 | # Additional information about this file can be found at 29 | # https://dart.dev/guides/language/analysis-options 30 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleDisplayName 8 | Webthreeauth 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | webthreeauth 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | $(FLUTTER_BUILD_NAME) 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | $(FLUTTER_BUILD_NUMBER) 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UISupportedInterfaceOrientations~ipad 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationPortraitUpsideDown 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | UIViewControllerBasedStatusBarAppearance 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 15 | 19 | 23 | 24 | 25 | 26 | 27 | 28 | 30 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /lib/repo/ethereum_credentials.dart: -------------------------------------------------------------------------------- 1 | import 'package:walletconnect_dart/walletconnect_dart.dart'; 2 | import 'package:web3dart/crypto.dart'; 3 | import 'package:web3dart/web3dart.dart'; 4 | 5 | import 'dart:typed_data'; 6 | 7 | import '../exceptions/rpc_response.dart'; 8 | 9 | class WalletConnectEthereumCredentials extends CustomTransactionSender { 10 | static final WalletConnectEthereumCredentials _ethCredInstance = 11 | WalletConnectEthereumCredentials._internal(); 12 | 13 | EthereumWalletConnectProvider? provider; 14 | 15 | factory WalletConnectEthereumCredentials( 16 | {EthereumWalletConnectProvider? provider}) { 17 | _ethCredInstance.provider = provider; 18 | return _ethCredInstance; 19 | } 20 | 21 | static WalletConnectEthereumCredentials get ethCredInstance => 22 | _ethCredInstance; 23 | 24 | WalletConnectEthereumCredentials._internal(); 25 | 26 | @override 27 | Future extractAddress() { 28 | // TODO: implement extractAddress 29 | throw UnimplementedError(); 30 | } 31 | 32 | @override 33 | Future sendTransaction(Transaction transaction) async { 34 | if (provider == null) { 35 | RPCResponse(null, error: "Wallet not Connected"); 36 | return 'wallet not connected'; 37 | }else { 38 | final hash = await provider!.sendTransaction( 39 | from: transaction.from!.hex, 40 | to: transaction.to?.hex, 41 | data: transaction.data, 42 | gas: transaction.maxGas, 43 | gasPrice: transaction.gasPrice?.getInWei, 44 | value: transaction.value?.getInWei, 45 | nonce: transaction.nonce, 46 | ); 47 | print(hash); 48 | return hash; 49 | } 50 | } 51 | 52 | @override 53 | Future signToSignature(Uint8List payload, 54 | {int? chainId, bool isEIP1559 = false}) { 55 | // TODO: implement signToSignature 56 | throw UnimplementedError(); 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | android { 29 | compileSdkVersion flutter.compileSdkVersion 30 | 31 | compileOptions { 32 | sourceCompatibility JavaVersion.VERSION_1_8 33 | targetCompatibility JavaVersion.VERSION_1_8 34 | } 35 | 36 | kotlinOptions { 37 | jvmTarget = '1.8' 38 | } 39 | 40 | sourceSets { 41 | main.java.srcDirs += 'src/main/kotlin' 42 | } 43 | 44 | defaultConfig { 45 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 46 | applicationId "com.example.webthreeauth" 47 | minSdkVersion 21 48 | targetSdkVersion flutter.targetSdkVersion 49 | versionCode flutterVersionCode.toInteger() 50 | versionName flutterVersionName 51 | } 52 | 53 | buildTypes { 54 | release { 55 | // TODO: Add your own signing config for the release build. 56 | // Signing with the debug keys for now, so `flutter run --release` works. 57 | signingConfig signingConfigs.debug 58 | } 59 | } 60 | 61 | lintOptions{ 62 | checkReleaseBuilds false 63 | abortOnError false 64 | } 65 | } 66 | 67 | flutter { 68 | source '../..' 69 | } 70 | 71 | dependencies { 72 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 73 | } 74 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /lib/repo/wallet_connect_service.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:url_launcher/url_launcher_string.dart'; 3 | import 'package:walletconnect_dart/walletconnect_dart.dart'; 4 | 5 | import 'ethereum_credentials.dart'; 6 | 7 | class WalletConnectService extends ChangeNotifier { 8 | 9 | bool _isConnected = false; 10 | String _account = ''; 11 | 12 | bool get isConnected => _isConnected; 13 | String get account => _account; 14 | 15 | final connector = WalletConnect( 16 | bridge: 'https://bridge.walletconnect.org', 17 | clientMeta: const PeerMeta( 18 | name: 'Voltz Domains', 19 | description: 'Voltz Domain dApp', 20 | url: 'https://walletconnect.org', 21 | icons: [ 22 | 'https://gblobscdn.gitbook.com/spaces%2F-LJJeCjcLrr53DcT1Ml7%2Favatar.png?alt=media' 23 | ], 24 | ), 25 | ); 26 | 27 | late SessionStatus sessionStatus; 28 | 29 | WalletConnectService() { 30 | _registerListeners(); 31 | } 32 | 33 | void _registerListeners() { 34 | /// on connect 35 | connector.on('connect', (session) async { 36 | sessionStatus = await connector.connect(chainId: 80001); 37 | }); 38 | 39 | /// on session update 40 | connector.on( 41 | 'session_update', 42 | (session) async => await connector.updateSession(sessionStatus), 43 | ); 44 | 45 | /// on session request 46 | connector.on('session_request', (payload) async { 47 | await connector.approveSession( 48 | chainId: 80001, accounts: sessionStatus.accounts); 49 | 50 | await connector.updateSession( 51 | SessionStatus(chainId: 80001, accounts: sessionStatus.accounts)); 52 | }); 53 | 54 | /// on session disconnect 55 | connector.on('disconnect', (message) async { 56 | await connector.killSession(sessionError: message.toString()); 57 | }); 58 | } 59 | 60 | Future connect() async { 61 | if (!connector.connected) { 62 | sessionStatus = await connector.createSession( 63 | chainId: 80001, onDisplayUri: (uri) => launchUrlString(uri)); 64 | } else { 65 | connector.reconnect(); 66 | } 67 | _isConnected = true; 68 | notifyListeners(); 69 | walletProvider(); 70 | } 71 | 72 | String getAccount(){ 73 | _account = sessionStatus.accounts[0]; 74 | notifyListeners(); 75 | print(_account); 76 | return sessionStatus.accounts[0]; 77 | } 78 | 79 | void walletProvider(){ 80 | EthereumWalletConnectProvider provider = EthereumWalletConnectProvider(connector, chainId: 80001); 81 | WalletConnectEthereumCredentials(provider: provider); 82 | } 83 | } -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 37 | 38 | 39 | 40 | 41 | 42 | 52 | 54 | 60 | 61 | 62 | 63 | 69 | 71 | 77 | 78 | 79 | 80 | 82 | 83 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: open_name_service 2 | description: dApp for registering domain names on polygon.. 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `flutter pub publish`. This is preferred for private packages. 6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 7 | 8 | # The following defines the version and build number for your application. 9 | # A version number is three numbers separated by dots, like 1.2.43 10 | # followed by an optional build number separated by a +. 11 | # Both the version and the builder number may be overridden in flutter 12 | # build by specifying --build-name and --build-number, respectively. 13 | # In Android, build-name is used as versionName while build-number used as versionCode. 14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 16 | # Read more about iOS versioning at 17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 18 | version: 1.0.0+1 19 | 20 | environment: 21 | sdk: ">=2.16.0 <3.0.0" 22 | 23 | # Dependencies specify other packages that your package needs in order to work. 24 | # To automatically upgrade your package dependencies to the latest versions 25 | # consider running `flutter pub upgrade --major-versions`. Alternatively, 26 | # dependencies can be manually updated by changing the version numbers below to 27 | # the latest version available on pub.dev. To see which dependencies have newer 28 | # versions available, run `flutter pub outdated`. 29 | dependencies: 30 | flutter: 31 | sdk: flutter 32 | connectivity_plus: ^2.3.6+1 33 | web3dart: ^2.3.5 34 | http: ^0.13.3 35 | web_socket_channel: ^2.1.0 36 | path: ^1.8.0 37 | get_it: ^7.1.3 38 | provider: ^6.0.1 39 | walletconnect_dart: ^0.0.9 40 | url_launcher: ^6.0.20 41 | flutter_inappwebview: ^5.4.3+4 42 | 43 | 44 | # The following adds the Cupertino Icons font to your application. 45 | # Use with the CupertinoIcons class for iOS style icons. 46 | cupertino_icons: ^1.0.2 47 | 48 | dev_dependencies: 49 | flutter_test: 50 | sdk: flutter 51 | 52 | # The "flutter_lints" package below contains a set of recommended lints to 53 | # encourage good coding practices. The lint set provided by the package is 54 | # activated in the `analysis_options.yaml` file located at the root of your 55 | # package. See that file for information about deactivating specific lint 56 | # rules and activating additional ones. 57 | flutter_lints: ^1.0.0 58 | 59 | # For information on the generic Dart part of this file, see the 60 | # following page: https://dart.dev/tools/pub/pubspec 61 | 62 | # The following section is specific to Flutter. 63 | flutter: 64 | 65 | # The following line ensures that the Material Icons font is 66 | # included with your application, so that you can use the icons in 67 | # the material Icons class. 68 | uses-material-design: true 69 | 70 | # To add assets to your application, add an assets section, like this: 71 | assets: 72 | - assets/Domains.json 73 | # - images/a_dot_burr.jpeg 74 | # - images/a_dot_ham.jpeg 75 | 76 | # An image asset can refer to one or more resolution-specific "variants", see 77 | # https://flutter.dev/assets-and-images/#resolution-aware. 78 | 79 | # For details regarding adding assets from package dependencies, see 80 | # https://flutter.dev/assets-and-images/#from-packages 81 | 82 | # To add custom fonts to your application, add a fonts section here, 83 | # in this "flutter" section. Each entry in this list should have a 84 | # "family" key with the font family name, and a "fonts" key with a 85 | # list giving the asset and other descriptors for the font. For 86 | # example: 87 | # fonts: 88 | # - family: Schyler 89 | # fonts: 90 | # - asset: fonts/Schyler-Regular.ttf 91 | # - asset: fonts/Schyler-Italic.ttf 92 | # style: italic 93 | # - family: Trajan Pro 94 | # fonts: 95 | # - asset: fonts/TrajanPro.ttf 96 | # - asset: fonts/TrajanPro_Bold.ttf 97 | # weight: 700 98 | # 99 | # For details regarding fonts from package dependencies, 100 | # see https://flutter.dev/custom-fonts/#from-packages 101 | -------------------------------------------------------------------------------- /lib/repo/contract.dart: -------------------------------------------------------------------------------- 1 | import 'dart:convert'; 2 | 3 | import 'package:flutter/services.dart'; 4 | 5 | import 'package:http/http.dart'; 6 | import 'package:web3dart/web3dart.dart'; 7 | import 'package:web_socket_channel/io.dart'; 8 | 9 | import '../constants/node_api.dart'; 10 | import '../exceptions/rpc_response.dart'; 11 | import '../constants/constants.dart'; 12 | import 'ethereum_credentials.dart'; 13 | 14 | class DomainContract { 15 | static const String _rpcUrl = 16 | 'https://polygon-mumbai.g.alchemy.com/v2/$rpc_api'; 17 | static const String _wsUrl = 'wss://polygon-mumbai.g.alchemy.com/v2/$wss_api'; 18 | 19 | late Web3Client _client; 20 | 21 | EthereumAddress? _contractAddress; 22 | 23 | DomainContract() { 24 | _client = Web3Client(_rpcUrl, Client(), socketConnector: () { 25 | return IOWebSocketChannel.connect(_wsUrl).cast(); 26 | }); 27 | } 28 | 29 | Future deployedContract() async { 30 | String contractAbi = await rootBundle.loadString("assets/Domains.json"); 31 | final jsonCode = jsonDecode(contractAbi); 32 | final abiCode = jsonEncode(jsonCode["abi"]); 33 | 34 | /// deployed smart contract address 35 | _contractAddress = 36 | EthereumAddress.fromHex("0x8c328B7f4856438FbeAa59f9e28F6fDd98B4588d"); 37 | 38 | final contract = DeployedContract( 39 | ContractAbi.fromJson(abiCode, "Domains"), _contractAddress!); 40 | 41 | return contract; 42 | } 43 | 44 | /// query contract for information like [balance] and [record]. 45 | Future?> _queryContract( 46 | String functionName, List args) async { 47 | final contract = await deployedContract(); 48 | final contractFunction = contract.function(functionName); 49 | try { 50 | final result = await _client.call( 51 | contract: contract, function: contractFunction, params: args); 52 | return result; 53 | } catch (e) { 54 | RPCResponse>(null, error: e.toString()); 55 | } 56 | return null; 57 | } 58 | 59 | Transaction _callTransac( 60 | {DeployedContract? contract, 61 | EthereumAddress? from, 62 | ContractFunction? function, 63 | List? parameters, 64 | EtherAmount? value}) { 65 | final tx = Transaction.callContract( 66 | contract: contract!, 67 | function: function!, 68 | parameters: parameters!, 69 | value: value, 70 | from: from); 71 | WalletConnectEthereumCredentials.ethCredInstance.sendTransaction(tx); 72 | return tx; 73 | } 74 | 75 | Future _sendTransaction( 76 | String functionName, bool isValued, List args) async { 77 | EthPrivateKey credential = EthPrivateKey.fromHex(privateKey); 78 | DeployedContract contract = await deployedContract(); 79 | 80 | final contractFunction = contract.function(functionName); 81 | try { 82 | final result = await _client.sendTransaction( 83 | credential, 84 | _callTransac( 85 | contract: contract, 86 | from: await credential.extractAddress(), 87 | function: contractFunction, 88 | parameters: args, 89 | value: isValued 90 | ? EtherAmount.fromUnitAndValue( 91 | EtherUnit.wei, '100000000000000000') 92 | : null, 93 | ), 94 | chainId: 80001, 95 | ); 96 | /*TransactionInformation txHash = 97 | await _client.getTransactionByHash(result); 98 | print(txHash.toString()); 99 | TransactionReceipt? txReciept = 100 | await _client.getTransactionReceipt(result); 101 | print(txReciept.toString());*/ 102 | RPCResponse('${args[0]}.voltz domain has been registered 🎉', 103 | error: null); 104 | return result; 105 | } catch (e) { 106 | RPCResponse(null, error: e.toString()); 107 | return null; 108 | } 109 | } 110 | 111 | Future registerDomain(String nameToRegister) async { 112 | await _sendTransaction("register", true, [nameToRegister]); 113 | } 114 | 115 | /// EOA address associated with name 116 | Future getAddress(String name) async { 117 | final address = await _queryContract("getAddress", [name]); 118 | return address; 119 | } 120 | 121 | Future setRecord(String name, String record) async { 122 | final xrecord = await _sendTransaction("setRecord", false, [name, record]); 123 | return xrecord; 124 | } 125 | 126 | Future getRecord(String records) async { 127 | final record = await _queryContract("getRecord", [records]); 128 | return record; 129 | } 130 | 131 | Future dispose() async { 132 | await _client.dispose(); 133 | } 134 | } 135 | -------------------------------------------------------------------------------- /lib/page/contr_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:provider/provider.dart'; 3 | 4 | import '../repo/contract.dart'; 5 | import '../repo/wallet_connect_service.dart'; 6 | import 'collection_web_view.dart'; 7 | import '../service_locator.dart'; 8 | import '../globals/custom_button.dart'; 9 | 10 | class ContractPage extends StatefulWidget { 11 | const ContractPage({Key? key}) : super(key: key); 12 | 13 | @override 14 | State createState() => _ContractPageState(); 15 | } 16 | 17 | class _ContractPageState extends State { 18 | final TextEditingController _nameController = TextEditingController(); 19 | final TextEditingController _address = TextEditingController(); 20 | 21 | dynamic? domainAddress; 22 | 23 | @override 24 | void dispose() { 25 | locator.get().dispose(); 26 | _nameController.dispose(); 27 | _address.dispose(); 28 | super.dispose(); 29 | } 30 | 31 | /*String? get _errorText { 32 | final text = _nameController.value.text; 33 | 34 | if (text.isEmpty) { 35 | return 'field is empty'; 36 | } 37 | 38 | return null; 39 | }*/ 40 | 41 | @override 42 | Widget build(BuildContext context) { 43 | final wcs = Provider.of(context); 44 | return Scaffold( 45 | resizeToAvoidBottomInset: false, 46 | body: SafeArea( 47 | minimum: const EdgeInsets.only(top: 40, left: 10, right: 10), 48 | child: Center( 49 | child: Column( 50 | crossAxisAlignment: CrossAxisAlignment.start, 51 | children: [ 52 | const Text("Register a .voltz domain for 0.1 MATIC"), 53 | const SizedBox( 54 | height: 10, 55 | ), 56 | Text(wcs.account), 57 | const SizedBox(height: 20), 58 | CustomButton( 59 | color: Colors.black, 60 | text: wcs.isConnected ? "connected" : "Connect Wallet", 61 | onPressed: wcs.isConnected 62 | ? null 63 | : () async { 64 | await wcs.connect(); 65 | wcs.getAccount(); 66 | }), 67 | const SizedBox( 68 | height: 30, 69 | ), 70 | Row( 71 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 72 | children: [ 73 | Padding( 74 | padding: const EdgeInsets.all(8.0), 75 | child: SizedBox( 76 | width: 200, 77 | child: TextField( 78 | maxLength: 14, 79 | controller: _nameController, 80 | decoration: const InputDecoration( 81 | hintText: 'Register a domain 🚀', 82 | ), 83 | ), 84 | ), 85 | ), 86 | SizedBox( 87 | child: CustomButton( 88 | color: Colors.black, 89 | text: "register", 90 | onPressed: () async { 91 | _nameController.clear(); 92 | await locator 93 | .get() 94 | .registerDomain(_nameController.text); 95 | }), 96 | ), 97 | ], 98 | ), 99 | const SizedBox( 100 | height: 20, 101 | ), 102 | Row( 103 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 104 | children: [ 105 | Padding( 106 | padding: const EdgeInsets.all(8.0), 107 | child: SizedBox( 108 | width: 200, 109 | child: TextField( 110 | controller: _address, 111 | decoration: const InputDecoration( 112 | hintText: 'check domain, E.g `john`', 113 | ), 114 | ), 115 | ), 116 | ), 117 | SizedBox( 118 | //width: 100, 119 | child: CustomButton( 120 | color: Colors.black, 121 | text: "get Address", 122 | onPressed: () async { 123 | _address.clear(); 124 | domainAddress = await locator 125 | .get() 126 | .getAddress(_address.text); 127 | setState(() {}); 128 | }), 129 | ), 130 | ], 131 | ), 132 | const SizedBox( 133 | height: 20, 134 | ), 135 | const Text('(.)voltz domain owner:'), 136 | const SizedBox( 137 | height: 10, 138 | ), 139 | domainAddress == null 140 | ? Container() 141 | : Text(domainAddress[0].toString().contains('0x0000000000') 142 | ? '${_address.text}.voltz is unregistered yet' 143 | : '${_address.text}.voltz is owned by\n${domainAddress[0]}'), 144 | const SizedBox( 145 | height: 20, 146 | ), 147 | CustomButton( 148 | color: Colors.black, 149 | text: "Collections", 150 | onPressed: () { 151 | Navigator.push( 152 | context, 153 | MaterialPageRoute( 154 | builder: (ctx) => const CollectionWebView(), 155 | ), 156 | ); 157 | }, 158 | ), 159 | ], 160 | ), 161 | ), 162 | ), 163 | ); 164 | } 165 | } 166 | -------------------------------------------------------------------------------- /lib/page/collection_web_view.dart: -------------------------------------------------------------------------------- 1 | import 'dart:io'; 2 | 3 | import 'package:flutter/material.dart'; 4 | import 'package:flutter_inappwebview/flutter_inappwebview.dart'; 5 | import 'package:url_launcher/url_launcher.dart'; 6 | 7 | class CollectionWebView extends StatefulWidget { 8 | const CollectionWebView({Key? key}) : super(key: key); 9 | 10 | @override 11 | State createState() => _CollectionWebViewState(); 12 | } 13 | 14 | class _CollectionWebViewState extends State { 15 | final GlobalKey webViewKey = GlobalKey(); 16 | 17 | InAppWebViewController? webViewController; 18 | InAppWebViewGroupOptions options = InAppWebViewGroupOptions( 19 | crossPlatform: InAppWebViewOptions( 20 | useShouldOverrideUrlLoading: true, 21 | mediaPlaybackRequiresUserGesture: false, 22 | ), 23 | android: AndroidInAppWebViewOptions( 24 | useHybridComposition: true, 25 | ), 26 | ios: IOSInAppWebViewOptions( 27 | allowsInlineMediaPlayback: true, 28 | )); 29 | 30 | late PullToRefreshController pullToRefreshController; 31 | String url = ""; 32 | double progress = 0; 33 | final urlController = TextEditingController(); 34 | 35 | @override 36 | void initState() { 37 | super.initState(); 38 | 39 | pullToRefreshController = PullToRefreshController( 40 | options: PullToRefreshOptions( 41 | color: Colors.blue, 42 | ), 43 | onRefresh: () async { 44 | if (Platform.isAndroid) { 45 | webViewController?.reload(); 46 | } else if (Platform.isIOS) { 47 | webViewController?.loadUrl( 48 | urlRequest: URLRequest(url: await webViewController?.getUrl())); 49 | } 50 | }, 51 | ); 52 | } 53 | 54 | @override 55 | void dispose() { 56 | super.dispose(); 57 | } 58 | 59 | @override 60 | Widget build(BuildContext context) { 61 | return Scaffold( 62 | appBar: AppBar( 63 | backgroundColor: Colors.black, 64 | title: const Text("VOLTZ domains"), 65 | ), 66 | body: SafeArea( 67 | child: Column(children: [ 68 | TextField( 69 | decoration: const InputDecoration(prefixIcon: Icon(Icons.search)), 70 | controller: urlController, 71 | keyboardType: TextInputType.url, 72 | onSubmitted: (value) { 73 | var url = Uri.parse(value); 74 | if (url.scheme.isEmpty) { 75 | url = Uri.parse("https://www.google.com/search?q=" + value); 76 | } 77 | webViewController?.loadUrl(urlRequest: URLRequest(url: url)); 78 | }, 79 | ), 80 | Expanded( 81 | child: Stack( 82 | children: [ 83 | InAppWebView( 84 | key: webViewKey, 85 | initialUrlRequest: URLRequest( 86 | url: Uri.parse( 87 | "https://testnets.opensea.io/collection/voltz-domains")), 88 | initialOptions: options, 89 | pullToRefreshController: pullToRefreshController, 90 | onWebViewCreated: (controller) { 91 | webViewController = controller; 92 | }, 93 | onLoadStart: (controller, url) { 94 | setState(() { 95 | this.url = url.toString(); 96 | urlController.text = this.url; 97 | }); 98 | }, 99 | androidOnPermissionRequest: 100 | (controller, origin, resources) async { 101 | return PermissionRequestResponse( 102 | resources: resources, 103 | action: PermissionRequestResponseAction.GRANT); 104 | }, 105 | shouldOverrideUrlLoading: 106 | (controller, navigationAction) async { 107 | var uri = navigationAction.request.url!; 108 | 109 | if (![ 110 | "http", 111 | "https", 112 | "file", 113 | "chrome", 114 | "data", 115 | "javascript", 116 | "about" 117 | ].contains(uri.scheme)) { 118 | if (await canLaunchUrl(Uri.parse(url))) { 119 | // Launch the App 120 | await launchUrl( 121 | Uri.parse(url), 122 | ); 123 | // and cancel the request 124 | return NavigationActionPolicy.CANCEL; 125 | } 126 | } 127 | 128 | return NavigationActionPolicy.ALLOW; 129 | }, 130 | onLoadStop: (controller, url) async { 131 | pullToRefreshController.endRefreshing(); 132 | setState(() { 133 | this.url = url.toString(); 134 | urlController.text = this.url; 135 | }); 136 | }, 137 | onLoadError: (controller, url, code, message) { 138 | pullToRefreshController.endRefreshing(); 139 | }, 140 | onProgressChanged: (controller, progress) { 141 | if (progress == 100) { 142 | pullToRefreshController.endRefreshing(); 143 | } 144 | setState(() { 145 | this.progress = progress / 100; 146 | urlController.text = this.url; 147 | }); 148 | }, 149 | onUpdateVisitedHistory: (controller, url, androidIsReload) { 150 | setState(() { 151 | this.url = url.toString(); 152 | urlController.text = this.url; 153 | }); 154 | }, 155 | onConsoleMessage: (controller, consoleMessage) { 156 | print(consoleMessage); 157 | }, 158 | ), 159 | progress < 1.0 160 | ? LinearProgressIndicator(value: progress) 161 | : Container(), 162 | ], 163 | ), 164 | ), 165 | ButtonBar( 166 | alignment: MainAxisAlignment.center, 167 | children: [ 168 | IconButton( 169 | icon: Icon(Icons.arrow_back), 170 | onPressed: () { 171 | webViewController?.goBack(); 172 | }, 173 | ), 174 | IconButton( 175 | icon: Icon(Icons.arrow_forward), 176 | onPressed: () { 177 | webViewController?.goForward(); 178 | }, 179 | ), 180 | IconButton( 181 | icon: Icon(Icons.refresh), 182 | onPressed: () { 183 | webViewController?.reload(); 184 | }, 185 | ), 186 | ], 187 | ), 188 | ]))); 189 | } 190 | } 191 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | _fe_analyzer_shared: 5 | dependency: transitive 6 | description: 7 | name: _fe_analyzer_shared 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "40.0.0" 11 | analyzer: 12 | dependency: transitive 13 | description: 14 | name: analyzer 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "4.1.0" 18 | args: 19 | dependency: transitive 20 | description: 21 | name: args 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "2.3.1" 25 | async: 26 | dependency: transitive 27 | description: 28 | name: async 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "2.8.2" 32 | boolean_selector: 33 | dependency: transitive 34 | description: 35 | name: boolean_selector 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "2.1.0" 39 | build: 40 | dependency: transitive 41 | description: 42 | name: build 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "2.3.0" 46 | build_config: 47 | dependency: transitive 48 | description: 49 | name: build_config 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "1.1.0" 53 | built_collection: 54 | dependency: transitive 55 | description: 56 | name: built_collection 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "5.1.1" 60 | built_value: 61 | dependency: transitive 62 | description: 63 | name: built_value 64 | url: "https://pub.dartlang.org" 65 | source: hosted 66 | version: "8.4.1" 67 | characters: 68 | dependency: transitive 69 | description: 70 | name: characters 71 | url: "https://pub.dartlang.org" 72 | source: hosted 73 | version: "1.2.0" 74 | charcode: 75 | dependency: transitive 76 | description: 77 | name: charcode 78 | url: "https://pub.dartlang.org" 79 | source: hosted 80 | version: "1.3.1" 81 | checked_yaml: 82 | dependency: transitive 83 | description: 84 | name: checked_yaml 85 | url: "https://pub.dartlang.org" 86 | source: hosted 87 | version: "2.0.1" 88 | clock: 89 | dependency: transitive 90 | description: 91 | name: clock 92 | url: "https://pub.dartlang.org" 93 | source: hosted 94 | version: "1.1.0" 95 | code_builder: 96 | dependency: transitive 97 | description: 98 | name: code_builder 99 | url: "https://pub.dartlang.org" 100 | source: hosted 101 | version: "4.1.0" 102 | collection: 103 | dependency: transitive 104 | description: 105 | name: collection 106 | url: "https://pub.dartlang.org" 107 | source: hosted 108 | version: "1.15.0" 109 | connectivity_plus: 110 | dependency: "direct main" 111 | description: 112 | name: connectivity_plus 113 | url: "https://pub.dartlang.org" 114 | source: hosted 115 | version: "2.3.7" 116 | connectivity_plus_linux: 117 | dependency: transitive 118 | description: 119 | name: connectivity_plus_linux 120 | url: "https://pub.dartlang.org" 121 | source: hosted 122 | version: "1.3.1" 123 | connectivity_plus_macos: 124 | dependency: transitive 125 | description: 126 | name: connectivity_plus_macos 127 | url: "https://pub.dartlang.org" 128 | source: hosted 129 | version: "1.2.4" 130 | connectivity_plus_platform_interface: 131 | dependency: transitive 132 | description: 133 | name: connectivity_plus_platform_interface 134 | url: "https://pub.dartlang.org" 135 | source: hosted 136 | version: "1.2.1" 137 | connectivity_plus_web: 138 | dependency: transitive 139 | description: 140 | name: connectivity_plus_web 141 | url: "https://pub.dartlang.org" 142 | source: hosted 143 | version: "1.2.4" 144 | connectivity_plus_windows: 145 | dependency: transitive 146 | description: 147 | name: connectivity_plus_windows 148 | url: "https://pub.dartlang.org" 149 | source: hosted 150 | version: "1.2.2" 151 | convert: 152 | dependency: transitive 153 | description: 154 | name: convert 155 | url: "https://pub.dartlang.org" 156 | source: hosted 157 | version: "3.0.2" 158 | crypto: 159 | dependency: transitive 160 | description: 161 | name: crypto 162 | url: "https://pub.dartlang.org" 163 | source: hosted 164 | version: "3.0.2" 165 | cryptography: 166 | dependency: transitive 167 | description: 168 | name: cryptography 169 | url: "https://pub.dartlang.org" 170 | source: hosted 171 | version: "2.0.5" 172 | cupertino_icons: 173 | dependency: "direct main" 174 | description: 175 | name: cupertino_icons 176 | url: "https://pub.dartlang.org" 177 | source: hosted 178 | version: "1.0.5" 179 | dart_style: 180 | dependency: transitive 181 | description: 182 | name: dart_style 183 | url: "https://pub.dartlang.org" 184 | source: hosted 185 | version: "2.2.3" 186 | dbus: 187 | dependency: transitive 188 | description: 189 | name: dbus 190 | url: "https://pub.dartlang.org" 191 | source: hosted 192 | version: "0.7.3" 193 | fake_async: 194 | dependency: transitive 195 | description: 196 | name: fake_async 197 | url: "https://pub.dartlang.org" 198 | source: hosted 199 | version: "1.2.0" 200 | ffi: 201 | dependency: transitive 202 | description: 203 | name: ffi 204 | url: "https://pub.dartlang.org" 205 | source: hosted 206 | version: "1.2.1" 207 | file: 208 | dependency: transitive 209 | description: 210 | name: file 211 | url: "https://pub.dartlang.org" 212 | source: hosted 213 | version: "6.1.4" 214 | fixnum: 215 | dependency: transitive 216 | description: 217 | name: fixnum 218 | url: "https://pub.dartlang.org" 219 | source: hosted 220 | version: "1.0.1" 221 | flutter: 222 | dependency: "direct main" 223 | description: flutter 224 | source: sdk 225 | version: "0.0.0" 226 | flutter_inappwebview: 227 | dependency: "direct main" 228 | description: 229 | name: flutter_inappwebview 230 | url: "https://pub.dartlang.org" 231 | source: hosted 232 | version: "5.4.3+8" 233 | flutter_lints: 234 | dependency: "direct dev" 235 | description: 236 | name: flutter_lints 237 | url: "https://pub.dartlang.org" 238 | source: hosted 239 | version: "1.0.4" 240 | flutter_test: 241 | dependency: "direct dev" 242 | description: flutter 243 | source: sdk 244 | version: "0.0.0" 245 | flutter_web_plugins: 246 | dependency: transitive 247 | description: flutter 248 | source: sdk 249 | version: "0.0.0" 250 | get_it: 251 | dependency: "direct main" 252 | description: 253 | name: get_it 254 | url: "https://pub.dartlang.org" 255 | source: hosted 256 | version: "7.2.0" 257 | glob: 258 | dependency: transitive 259 | description: 260 | name: glob 261 | url: "https://pub.dartlang.org" 262 | source: hosted 263 | version: "2.1.0" 264 | http: 265 | dependency: "direct main" 266 | description: 267 | name: http 268 | url: "https://pub.dartlang.org" 269 | source: hosted 270 | version: "0.13.5" 271 | http_parser: 272 | dependency: transitive 273 | description: 274 | name: http_parser 275 | url: "https://pub.dartlang.org" 276 | source: hosted 277 | version: "4.0.1" 278 | js: 279 | dependency: transitive 280 | description: 281 | name: js 282 | url: "https://pub.dartlang.org" 283 | source: hosted 284 | version: "0.6.3" 285 | json_annotation: 286 | dependency: transitive 287 | description: 288 | name: json_annotation 289 | url: "https://pub.dartlang.org" 290 | source: hosted 291 | version: "4.6.0" 292 | json_rpc_2: 293 | dependency: transitive 294 | description: 295 | name: json_rpc_2 296 | url: "https://pub.dartlang.org" 297 | source: hosted 298 | version: "3.0.2" 299 | lints: 300 | dependency: transitive 301 | description: 302 | name: lints 303 | url: "https://pub.dartlang.org" 304 | source: hosted 305 | version: "1.0.1" 306 | logging: 307 | dependency: transitive 308 | description: 309 | name: logging 310 | url: "https://pub.dartlang.org" 311 | source: hosted 312 | version: "1.0.2" 313 | matcher: 314 | dependency: transitive 315 | description: 316 | name: matcher 317 | url: "https://pub.dartlang.org" 318 | source: hosted 319 | version: "0.12.11" 320 | material_color_utilities: 321 | dependency: transitive 322 | description: 323 | name: material_color_utilities 324 | url: "https://pub.dartlang.org" 325 | source: hosted 326 | version: "0.1.3" 327 | meta: 328 | dependency: transitive 329 | description: 330 | name: meta 331 | url: "https://pub.dartlang.org" 332 | source: hosted 333 | version: "1.7.0" 334 | nested: 335 | dependency: transitive 336 | description: 337 | name: nested 338 | url: "https://pub.dartlang.org" 339 | source: hosted 340 | version: "1.0.0" 341 | nm: 342 | dependency: transitive 343 | description: 344 | name: nm 345 | url: "https://pub.dartlang.org" 346 | source: hosted 347 | version: "0.5.0" 348 | package_config: 349 | dependency: transitive 350 | description: 351 | name: package_config 352 | url: "https://pub.dartlang.org" 353 | source: hosted 354 | version: "2.1.0" 355 | path: 356 | dependency: "direct main" 357 | description: 358 | name: path 359 | url: "https://pub.dartlang.org" 360 | source: hosted 361 | version: "1.8.0" 362 | petitparser: 363 | dependency: transitive 364 | description: 365 | name: petitparser 366 | url: "https://pub.dartlang.org" 367 | source: hosted 368 | version: "4.4.0" 369 | plugin_platform_interface: 370 | dependency: transitive 371 | description: 372 | name: plugin_platform_interface 373 | url: "https://pub.dartlang.org" 374 | source: hosted 375 | version: "2.1.3" 376 | pointycastle: 377 | dependency: transitive 378 | description: 379 | name: pointycastle 380 | url: "https://pub.dartlang.org" 381 | source: hosted 382 | version: "3.6.2" 383 | provider: 384 | dependency: "direct main" 385 | description: 386 | name: provider 387 | url: "https://pub.dartlang.org" 388 | source: hosted 389 | version: "6.0.3" 390 | pub_semver: 391 | dependency: transitive 392 | description: 393 | name: pub_semver 394 | url: "https://pub.dartlang.org" 395 | source: hosted 396 | version: "2.1.1" 397 | pubspec_parse: 398 | dependency: transitive 399 | description: 400 | name: pubspec_parse 401 | url: "https://pub.dartlang.org" 402 | source: hosted 403 | version: "1.2.1" 404 | sky_engine: 405 | dependency: transitive 406 | description: flutter 407 | source: sdk 408 | version: "0.0.99" 409 | source_span: 410 | dependency: transitive 411 | description: 412 | name: source_span 413 | url: "https://pub.dartlang.org" 414 | source: hosted 415 | version: "1.8.1" 416 | stack_trace: 417 | dependency: transitive 418 | description: 419 | name: stack_trace 420 | url: "https://pub.dartlang.org" 421 | source: hosted 422 | version: "1.10.0" 423 | stream_channel: 424 | dependency: transitive 425 | description: 426 | name: stream_channel 427 | url: "https://pub.dartlang.org" 428 | source: hosted 429 | version: "2.1.0" 430 | stream_transform: 431 | dependency: transitive 432 | description: 433 | name: stream_transform 434 | url: "https://pub.dartlang.org" 435 | source: hosted 436 | version: "2.0.0" 437 | string_scanner: 438 | dependency: transitive 439 | description: 440 | name: string_scanner 441 | url: "https://pub.dartlang.org" 442 | source: hosted 443 | version: "1.1.0" 444 | term_glyph: 445 | dependency: transitive 446 | description: 447 | name: term_glyph 448 | url: "https://pub.dartlang.org" 449 | source: hosted 450 | version: "1.2.0" 451 | test_api: 452 | dependency: transitive 453 | description: 454 | name: test_api 455 | url: "https://pub.dartlang.org" 456 | source: hosted 457 | version: "0.4.8" 458 | typed_data: 459 | dependency: transitive 460 | description: 461 | name: typed_data 462 | url: "https://pub.dartlang.org" 463 | source: hosted 464 | version: "1.3.0" 465 | url_launcher: 466 | dependency: "direct main" 467 | description: 468 | name: url_launcher 469 | url: "https://pub.dartlang.org" 470 | source: hosted 471 | version: "6.1.6" 472 | url_launcher_android: 473 | dependency: transitive 474 | description: 475 | name: url_launcher_android 476 | url: "https://pub.dartlang.org" 477 | source: hosted 478 | version: "6.0.19" 479 | url_launcher_ios: 480 | dependency: transitive 481 | description: 482 | name: url_launcher_ios 483 | url: "https://pub.dartlang.org" 484 | source: hosted 485 | version: "6.0.17" 486 | url_launcher_linux: 487 | dependency: transitive 488 | description: 489 | name: url_launcher_linux 490 | url: "https://pub.dartlang.org" 491 | source: hosted 492 | version: "3.0.1" 493 | url_launcher_macos: 494 | dependency: transitive 495 | description: 496 | name: url_launcher_macos 497 | url: "https://pub.dartlang.org" 498 | source: hosted 499 | version: "3.0.1" 500 | url_launcher_platform_interface: 501 | dependency: transitive 502 | description: 503 | name: url_launcher_platform_interface 504 | url: "https://pub.dartlang.org" 505 | source: hosted 506 | version: "2.1.1" 507 | url_launcher_web: 508 | dependency: transitive 509 | description: 510 | name: url_launcher_web 511 | url: "https://pub.dartlang.org" 512 | source: hosted 513 | version: "2.0.13" 514 | url_launcher_windows: 515 | dependency: transitive 516 | description: 517 | name: url_launcher_windows 518 | url: "https://pub.dartlang.org" 519 | source: hosted 520 | version: "3.0.1" 521 | uuid: 522 | dependency: transitive 523 | description: 524 | name: uuid 525 | url: "https://pub.dartlang.org" 526 | source: hosted 527 | version: "3.0.6" 528 | vector_math: 529 | dependency: transitive 530 | description: 531 | name: vector_math 532 | url: "https://pub.dartlang.org" 533 | source: hosted 534 | version: "2.1.1" 535 | walletconnect_dart: 536 | dependency: "direct main" 537 | description: 538 | name: walletconnect_dart 539 | url: "https://pub.dartlang.org" 540 | source: hosted 541 | version: "0.0.11" 542 | watcher: 543 | dependency: transitive 544 | description: 545 | name: watcher 546 | url: "https://pub.dartlang.org" 547 | source: hosted 548 | version: "1.0.1" 549 | web3dart: 550 | dependency: "direct main" 551 | description: 552 | name: web3dart 553 | url: "https://pub.dartlang.org" 554 | source: hosted 555 | version: "2.3.5" 556 | web_socket_channel: 557 | dependency: "direct main" 558 | description: 559 | name: web_socket_channel 560 | url: "https://pub.dartlang.org" 561 | source: hosted 562 | version: "2.2.0" 563 | xml: 564 | dependency: transitive 565 | description: 566 | name: xml 567 | url: "https://pub.dartlang.org" 568 | source: hosted 569 | version: "5.3.1" 570 | yaml: 571 | dependency: transitive 572 | description: 573 | name: yaml 574 | url: "https://pub.dartlang.org" 575 | source: hosted 576 | version: "3.1.1" 577 | sdks: 578 | dart: ">=2.16.0 <3.0.0" 579 | flutter: ">=2.10.0" 580 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 50; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 12 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXCopyFilesBuildPhase section */ 19 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 20 | isa = PBXCopyFilesBuildPhase; 21 | buildActionMask = 2147483647; 22 | dstPath = ""; 23 | dstSubfolderSpec = 10; 24 | files = ( 25 | ); 26 | name = "Embed Frameworks"; 27 | runOnlyForDeploymentPostprocessing = 0; 28 | }; 29 | /* End PBXCopyFilesBuildPhase section */ 30 | 31 | /* Begin PBXFileReference section */ 32 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 33 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 34 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 35 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 36 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 37 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 38 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 39 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 40 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 42 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 43 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 44 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | /* End PBXFileReference section */ 46 | 47 | /* Begin PBXFrameworksBuildPhase section */ 48 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 49 | isa = PBXFrameworksBuildPhase; 50 | buildActionMask = 2147483647; 51 | files = ( 52 | ); 53 | runOnlyForDeploymentPostprocessing = 0; 54 | }; 55 | /* End PBXFrameworksBuildPhase section */ 56 | 57 | /* Begin PBXGroup section */ 58 | 9740EEB11CF90186004384FC /* Flutter */ = { 59 | isa = PBXGroup; 60 | children = ( 61 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 62 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 63 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 64 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 65 | ); 66 | name = Flutter; 67 | sourceTree = ""; 68 | }; 69 | 97C146E51CF9000F007C117D = { 70 | isa = PBXGroup; 71 | children = ( 72 | 9740EEB11CF90186004384FC /* Flutter */, 73 | 97C146F01CF9000F007C117D /* Runner */, 74 | 97C146EF1CF9000F007C117D /* Products */, 75 | ); 76 | sourceTree = ""; 77 | }; 78 | 97C146EF1CF9000F007C117D /* Products */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | 97C146EE1CF9000F007C117D /* Runner.app */, 82 | ); 83 | name = Products; 84 | sourceTree = ""; 85 | }; 86 | 97C146F01CF9000F007C117D /* Runner */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 90 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 91 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 92 | 97C147021CF9000F007C117D /* Info.plist */, 93 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 94 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 95 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 96 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 97 | ); 98 | path = Runner; 99 | sourceTree = ""; 100 | }; 101 | /* End PBXGroup section */ 102 | 103 | /* Begin PBXNativeTarget section */ 104 | 97C146ED1CF9000F007C117D /* Runner */ = { 105 | isa = PBXNativeTarget; 106 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 107 | buildPhases = ( 108 | 9740EEB61CF901F6004384FC /* Run Script */, 109 | 97C146EA1CF9000F007C117D /* Sources */, 110 | 97C146EB1CF9000F007C117D /* Frameworks */, 111 | 97C146EC1CF9000F007C117D /* Resources */, 112 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 113 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 114 | ); 115 | buildRules = ( 116 | ); 117 | dependencies = ( 118 | ); 119 | name = Runner; 120 | productName = Runner; 121 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 122 | productType = "com.apple.product-type.application"; 123 | }; 124 | /* End PBXNativeTarget section */ 125 | 126 | /* Begin PBXProject section */ 127 | 97C146E61CF9000F007C117D /* Project object */ = { 128 | isa = PBXProject; 129 | attributes = { 130 | LastUpgradeCheck = 1300; 131 | ORGANIZATIONNAME = ""; 132 | TargetAttributes = { 133 | 97C146ED1CF9000F007C117D = { 134 | CreatedOnToolsVersion = 7.3.1; 135 | LastSwiftMigration = 1100; 136 | }; 137 | }; 138 | }; 139 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 140 | compatibilityVersion = "Xcode 9.3"; 141 | developmentRegion = en; 142 | hasScannedForEncodings = 0; 143 | knownRegions = ( 144 | en, 145 | Base, 146 | ); 147 | mainGroup = 97C146E51CF9000F007C117D; 148 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 149 | projectDirPath = ""; 150 | projectRoot = ""; 151 | targets = ( 152 | 97C146ED1CF9000F007C117D /* Runner */, 153 | ); 154 | }; 155 | /* End PBXProject section */ 156 | 157 | /* Begin PBXResourcesBuildPhase section */ 158 | 97C146EC1CF9000F007C117D /* Resources */ = { 159 | isa = PBXResourcesBuildPhase; 160 | buildActionMask = 2147483647; 161 | files = ( 162 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 163 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 164 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 165 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 166 | ); 167 | runOnlyForDeploymentPostprocessing = 0; 168 | }; 169 | /* End PBXResourcesBuildPhase section */ 170 | 171 | /* Begin PBXShellScriptBuildPhase section */ 172 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 173 | isa = PBXShellScriptBuildPhase; 174 | buildActionMask = 2147483647; 175 | files = ( 176 | ); 177 | inputPaths = ( 178 | ); 179 | name = "Thin Binary"; 180 | outputPaths = ( 181 | ); 182 | runOnlyForDeploymentPostprocessing = 0; 183 | shellPath = /bin/sh; 184 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 185 | }; 186 | 9740EEB61CF901F6004384FC /* Run Script */ = { 187 | isa = PBXShellScriptBuildPhase; 188 | buildActionMask = 2147483647; 189 | files = ( 190 | ); 191 | inputPaths = ( 192 | ); 193 | name = "Run Script"; 194 | outputPaths = ( 195 | ); 196 | runOnlyForDeploymentPostprocessing = 0; 197 | shellPath = /bin/sh; 198 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 199 | }; 200 | /* End PBXShellScriptBuildPhase section */ 201 | 202 | /* Begin PBXSourcesBuildPhase section */ 203 | 97C146EA1CF9000F007C117D /* Sources */ = { 204 | isa = PBXSourcesBuildPhase; 205 | buildActionMask = 2147483647; 206 | files = ( 207 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 208 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 209 | ); 210 | runOnlyForDeploymentPostprocessing = 0; 211 | }; 212 | /* End PBXSourcesBuildPhase section */ 213 | 214 | /* Begin PBXVariantGroup section */ 215 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 216 | isa = PBXVariantGroup; 217 | children = ( 218 | 97C146FB1CF9000F007C117D /* Base */, 219 | ); 220 | name = Main.storyboard; 221 | sourceTree = ""; 222 | }; 223 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 224 | isa = PBXVariantGroup; 225 | children = ( 226 | 97C147001CF9000F007C117D /* Base */, 227 | ); 228 | name = LaunchScreen.storyboard; 229 | sourceTree = ""; 230 | }; 231 | /* End PBXVariantGroup section */ 232 | 233 | /* Begin XCBuildConfiguration section */ 234 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 235 | isa = XCBuildConfiguration; 236 | buildSettings = { 237 | ALWAYS_SEARCH_USER_PATHS = NO; 238 | CLANG_ANALYZER_NONNULL = YES; 239 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 240 | CLANG_CXX_LIBRARY = "libc++"; 241 | CLANG_ENABLE_MODULES = YES; 242 | CLANG_ENABLE_OBJC_ARC = YES; 243 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 244 | CLANG_WARN_BOOL_CONVERSION = YES; 245 | CLANG_WARN_COMMA = YES; 246 | CLANG_WARN_CONSTANT_CONVERSION = YES; 247 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 248 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 249 | CLANG_WARN_EMPTY_BODY = YES; 250 | CLANG_WARN_ENUM_CONVERSION = YES; 251 | CLANG_WARN_INFINITE_RECURSION = YES; 252 | CLANG_WARN_INT_CONVERSION = YES; 253 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 254 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 255 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 256 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 257 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 258 | CLANG_WARN_STRICT_PROTOTYPES = YES; 259 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 260 | CLANG_WARN_UNREACHABLE_CODE = YES; 261 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 262 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 263 | COPY_PHASE_STRIP = NO; 264 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 265 | ENABLE_NS_ASSERTIONS = NO; 266 | ENABLE_STRICT_OBJC_MSGSEND = YES; 267 | GCC_C_LANGUAGE_STANDARD = gnu99; 268 | GCC_NO_COMMON_BLOCKS = YES; 269 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 270 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 271 | GCC_WARN_UNDECLARED_SELECTOR = YES; 272 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 273 | GCC_WARN_UNUSED_FUNCTION = YES; 274 | GCC_WARN_UNUSED_VARIABLE = YES; 275 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 276 | MTL_ENABLE_DEBUG_INFO = NO; 277 | SDKROOT = iphoneos; 278 | SUPPORTED_PLATFORMS = iphoneos; 279 | TARGETED_DEVICE_FAMILY = "1,2"; 280 | VALIDATE_PRODUCT = YES; 281 | }; 282 | name = Profile; 283 | }; 284 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 285 | isa = XCBuildConfiguration; 286 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 287 | buildSettings = { 288 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 289 | CLANG_ENABLE_MODULES = YES; 290 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 291 | ENABLE_BITCODE = NO; 292 | INFOPLIST_FILE = Runner/Info.plist; 293 | LD_RUNPATH_SEARCH_PATHS = ( 294 | "$(inherited)", 295 | "@executable_path/Frameworks", 296 | ); 297 | PRODUCT_BUNDLE_IDENTIFIER = com.example.webthreeauth; 298 | PRODUCT_NAME = "$(TARGET_NAME)"; 299 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 300 | SWIFT_VERSION = 5.0; 301 | VERSIONING_SYSTEM = "apple-generic"; 302 | }; 303 | name = Profile; 304 | }; 305 | 97C147031CF9000F007C117D /* Debug */ = { 306 | isa = XCBuildConfiguration; 307 | buildSettings = { 308 | ALWAYS_SEARCH_USER_PATHS = NO; 309 | CLANG_ANALYZER_NONNULL = YES; 310 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 311 | CLANG_CXX_LIBRARY = "libc++"; 312 | CLANG_ENABLE_MODULES = YES; 313 | CLANG_ENABLE_OBJC_ARC = YES; 314 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 315 | CLANG_WARN_BOOL_CONVERSION = YES; 316 | CLANG_WARN_COMMA = YES; 317 | CLANG_WARN_CONSTANT_CONVERSION = YES; 318 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 319 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 320 | CLANG_WARN_EMPTY_BODY = YES; 321 | CLANG_WARN_ENUM_CONVERSION = YES; 322 | CLANG_WARN_INFINITE_RECURSION = YES; 323 | CLANG_WARN_INT_CONVERSION = YES; 324 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 325 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 326 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 327 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 328 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 329 | CLANG_WARN_STRICT_PROTOTYPES = YES; 330 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 331 | CLANG_WARN_UNREACHABLE_CODE = YES; 332 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 333 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 334 | COPY_PHASE_STRIP = NO; 335 | DEBUG_INFORMATION_FORMAT = dwarf; 336 | ENABLE_STRICT_OBJC_MSGSEND = YES; 337 | ENABLE_TESTABILITY = YES; 338 | GCC_C_LANGUAGE_STANDARD = gnu99; 339 | GCC_DYNAMIC_NO_PIC = NO; 340 | GCC_NO_COMMON_BLOCKS = YES; 341 | GCC_OPTIMIZATION_LEVEL = 0; 342 | GCC_PREPROCESSOR_DEFINITIONS = ( 343 | "DEBUG=1", 344 | "$(inherited)", 345 | ); 346 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 347 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 348 | GCC_WARN_UNDECLARED_SELECTOR = YES; 349 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 350 | GCC_WARN_UNUSED_FUNCTION = YES; 351 | GCC_WARN_UNUSED_VARIABLE = YES; 352 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 353 | MTL_ENABLE_DEBUG_INFO = YES; 354 | ONLY_ACTIVE_ARCH = YES; 355 | SDKROOT = iphoneos; 356 | TARGETED_DEVICE_FAMILY = "1,2"; 357 | }; 358 | name = Debug; 359 | }; 360 | 97C147041CF9000F007C117D /* Release */ = { 361 | isa = XCBuildConfiguration; 362 | buildSettings = { 363 | ALWAYS_SEARCH_USER_PATHS = NO; 364 | CLANG_ANALYZER_NONNULL = YES; 365 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 366 | CLANG_CXX_LIBRARY = "libc++"; 367 | CLANG_ENABLE_MODULES = YES; 368 | CLANG_ENABLE_OBJC_ARC = YES; 369 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 370 | CLANG_WARN_BOOL_CONVERSION = YES; 371 | CLANG_WARN_COMMA = YES; 372 | CLANG_WARN_CONSTANT_CONVERSION = YES; 373 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 374 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 375 | CLANG_WARN_EMPTY_BODY = YES; 376 | CLANG_WARN_ENUM_CONVERSION = YES; 377 | CLANG_WARN_INFINITE_RECURSION = YES; 378 | CLANG_WARN_INT_CONVERSION = YES; 379 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 380 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 381 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 382 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 383 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 384 | CLANG_WARN_STRICT_PROTOTYPES = YES; 385 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 386 | CLANG_WARN_UNREACHABLE_CODE = YES; 387 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 388 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 389 | COPY_PHASE_STRIP = NO; 390 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 391 | ENABLE_NS_ASSERTIONS = NO; 392 | ENABLE_STRICT_OBJC_MSGSEND = YES; 393 | GCC_C_LANGUAGE_STANDARD = gnu99; 394 | GCC_NO_COMMON_BLOCKS = YES; 395 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 396 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 397 | GCC_WARN_UNDECLARED_SELECTOR = YES; 398 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 399 | GCC_WARN_UNUSED_FUNCTION = YES; 400 | GCC_WARN_UNUSED_VARIABLE = YES; 401 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 402 | MTL_ENABLE_DEBUG_INFO = NO; 403 | SDKROOT = iphoneos; 404 | SUPPORTED_PLATFORMS = iphoneos; 405 | SWIFT_COMPILATION_MODE = wholemodule; 406 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 407 | TARGETED_DEVICE_FAMILY = "1,2"; 408 | VALIDATE_PRODUCT = YES; 409 | }; 410 | name = Release; 411 | }; 412 | 97C147061CF9000F007C117D /* Debug */ = { 413 | isa = XCBuildConfiguration; 414 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 415 | buildSettings = { 416 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 417 | CLANG_ENABLE_MODULES = YES; 418 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 419 | ENABLE_BITCODE = NO; 420 | INFOPLIST_FILE = Runner/Info.plist; 421 | LD_RUNPATH_SEARCH_PATHS = ( 422 | "$(inherited)", 423 | "@executable_path/Frameworks", 424 | ); 425 | PRODUCT_BUNDLE_IDENTIFIER = com.example.webthreeauth; 426 | PRODUCT_NAME = "$(TARGET_NAME)"; 427 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 428 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 429 | SWIFT_VERSION = 5.0; 430 | VERSIONING_SYSTEM = "apple-generic"; 431 | }; 432 | name = Debug; 433 | }; 434 | 97C147071CF9000F007C117D /* Release */ = { 435 | isa = XCBuildConfiguration; 436 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 437 | buildSettings = { 438 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 439 | CLANG_ENABLE_MODULES = YES; 440 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 441 | ENABLE_BITCODE = NO; 442 | INFOPLIST_FILE = Runner/Info.plist; 443 | LD_RUNPATH_SEARCH_PATHS = ( 444 | "$(inherited)", 445 | "@executable_path/Frameworks", 446 | ); 447 | PRODUCT_BUNDLE_IDENTIFIER = com.example.webthreeauth; 448 | PRODUCT_NAME = "$(TARGET_NAME)"; 449 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 450 | SWIFT_VERSION = 5.0; 451 | VERSIONING_SYSTEM = "apple-generic"; 452 | }; 453 | name = Release; 454 | }; 455 | /* End XCBuildConfiguration section */ 456 | 457 | /* Begin XCConfigurationList section */ 458 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 459 | isa = XCConfigurationList; 460 | buildConfigurations = ( 461 | 97C147031CF9000F007C117D /* Debug */, 462 | 97C147041CF9000F007C117D /* Release */, 463 | 249021D3217E4FDB00AE95B9 /* Profile */, 464 | ); 465 | defaultConfigurationIsVisible = 0; 466 | defaultConfigurationName = Release; 467 | }; 468 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 469 | isa = XCConfigurationList; 470 | buildConfigurations = ( 471 | 97C147061CF9000F007C117D /* Debug */, 472 | 97C147071CF9000F007C117D /* Release */, 473 | 249021D4217E4FDB00AE95B9 /* Profile */, 474 | ); 475 | defaultConfigurationIsVisible = 0; 476 | defaultConfigurationName = Release; 477 | }; 478 | /* End XCConfigurationList section */ 479 | }; 480 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 481 | } 482 | -------------------------------------------------------------------------------- /assets/Domains.json: -------------------------------------------------------------------------------- 1 | { 2 | "_format": "hh-sol-artifact-1", 3 | "contractName": "Domains", 4 | "sourceName": "contracts/Domains.sol", 5 | "abi": [ 6 | { 7 | "inputs": [ 8 | { 9 | "internalType": "string", 10 | "name": "_ns", 11 | "type": "string" 12 | } 13 | ], 14 | "stateMutability": "payable", 15 | "type": "constructor" 16 | }, 17 | { 18 | "anonymous": false, 19 | "inputs": [ 20 | { 21 | "indexed": true, 22 | "internalType": "address", 23 | "name": "owner", 24 | "type": "address" 25 | }, 26 | { 27 | "indexed": true, 28 | "internalType": "address", 29 | "name": "approved", 30 | "type": "address" 31 | }, 32 | { 33 | "indexed": true, 34 | "internalType": "uint256", 35 | "name": "tokenId", 36 | "type": "uint256" 37 | } 38 | ], 39 | "name": "Approval", 40 | "type": "event" 41 | }, 42 | { 43 | "anonymous": false, 44 | "inputs": [ 45 | { 46 | "indexed": true, 47 | "internalType": "address", 48 | "name": "owner", 49 | "type": "address" 50 | }, 51 | { 52 | "indexed": true, 53 | "internalType": "address", 54 | "name": "operator", 55 | "type": "address" 56 | }, 57 | { 58 | "indexed": false, 59 | "internalType": "bool", 60 | "name": "approved", 61 | "type": "bool" 62 | } 63 | ], 64 | "name": "ApprovalForAll", 65 | "type": "event" 66 | }, 67 | { 68 | "anonymous": false, 69 | "inputs": [ 70 | { 71 | "indexed": true, 72 | "internalType": "address", 73 | "name": "from", 74 | "type": "address" 75 | }, 76 | { 77 | "indexed": true, 78 | "internalType": "address", 79 | "name": "to", 80 | "type": "address" 81 | }, 82 | { 83 | "indexed": true, 84 | "internalType": "uint256", 85 | "name": "tokenId", 86 | "type": "uint256" 87 | } 88 | ], 89 | "name": "Transfer", 90 | "type": "event" 91 | }, 92 | { 93 | "inputs": [ 94 | { 95 | "internalType": "address", 96 | "name": "to", 97 | "type": "address" 98 | }, 99 | { 100 | "internalType": "uint256", 101 | "name": "tokenId", 102 | "type": "uint256" 103 | } 104 | ], 105 | "name": "approve", 106 | "outputs": [], 107 | "stateMutability": "nonpayable", 108 | "type": "function" 109 | }, 110 | { 111 | "inputs": [ 112 | { 113 | "internalType": "address", 114 | "name": "owner", 115 | "type": "address" 116 | } 117 | ], 118 | "name": "balanceOf", 119 | "outputs": [ 120 | { 121 | "internalType": "uint256", 122 | "name": "", 123 | "type": "uint256" 124 | } 125 | ], 126 | "stateMutability": "view", 127 | "type": "function" 128 | }, 129 | { 130 | "inputs": [ 131 | { 132 | "internalType": "string", 133 | "name": "", 134 | "type": "string" 135 | } 136 | ], 137 | "name": "domains", 138 | "outputs": [ 139 | { 140 | "internalType": "address", 141 | "name": "", 142 | "type": "address" 143 | } 144 | ], 145 | "stateMutability": "view", 146 | "type": "function" 147 | }, 148 | { 149 | "inputs": [ 150 | { 151 | "internalType": "string", 152 | "name": "name", 153 | "type": "string" 154 | } 155 | ], 156 | "name": "getAddress", 157 | "outputs": [ 158 | { 159 | "internalType": "address", 160 | "name": "", 161 | "type": "address" 162 | } 163 | ], 164 | "stateMutability": "view", 165 | "type": "function" 166 | }, 167 | { 168 | "inputs": [ 169 | { 170 | "internalType": "uint256", 171 | "name": "tokenId", 172 | "type": "uint256" 173 | } 174 | ], 175 | "name": "getApproved", 176 | "outputs": [ 177 | { 178 | "internalType": "address", 179 | "name": "", 180 | "type": "address" 181 | } 182 | ], 183 | "stateMutability": "view", 184 | "type": "function" 185 | }, 186 | { 187 | "inputs": [ 188 | { 189 | "internalType": "string", 190 | "name": "name", 191 | "type": "string" 192 | } 193 | ], 194 | "name": "getRecord", 195 | "outputs": [ 196 | { 197 | "internalType": "string", 198 | "name": "", 199 | "type": "string" 200 | } 201 | ], 202 | "stateMutability": "view", 203 | "type": "function" 204 | }, 205 | { 206 | "inputs": [ 207 | { 208 | "internalType": "address", 209 | "name": "owner", 210 | "type": "address" 211 | }, 212 | { 213 | "internalType": "address", 214 | "name": "operator", 215 | "type": "address" 216 | } 217 | ], 218 | "name": "isApprovedForAll", 219 | "outputs": [ 220 | { 221 | "internalType": "bool", 222 | "name": "", 223 | "type": "bool" 224 | } 225 | ], 226 | "stateMutability": "view", 227 | "type": "function" 228 | }, 229 | { 230 | "inputs": [], 231 | "name": "name", 232 | "outputs": [ 233 | { 234 | "internalType": "string", 235 | "name": "", 236 | "type": "string" 237 | } 238 | ], 239 | "stateMutability": "view", 240 | "type": "function" 241 | }, 242 | { 243 | "inputs": [], 244 | "name": "ns", 245 | "outputs": [ 246 | { 247 | "internalType": "string", 248 | "name": "", 249 | "type": "string" 250 | } 251 | ], 252 | "stateMutability": "view", 253 | "type": "function" 254 | }, 255 | { 256 | "inputs": [ 257 | { 258 | "internalType": "uint256", 259 | "name": "tokenId", 260 | "type": "uint256" 261 | } 262 | ], 263 | "name": "ownerOf", 264 | "outputs": [ 265 | { 266 | "internalType": "address", 267 | "name": "", 268 | "type": "address" 269 | } 270 | ], 271 | "stateMutability": "view", 272 | "type": "function" 273 | }, 274 | { 275 | "inputs": [ 276 | { 277 | "internalType": "string", 278 | "name": "name", 279 | "type": "string" 280 | } 281 | ], 282 | "name": "price", 283 | "outputs": [ 284 | { 285 | "internalType": "uint256", 286 | "name": "", 287 | "type": "uint256" 288 | } 289 | ], 290 | "stateMutability": "pure", 291 | "type": "function" 292 | }, 293 | { 294 | "inputs": [ 295 | { 296 | "internalType": "string", 297 | "name": "", 298 | "type": "string" 299 | } 300 | ], 301 | "name": "records", 302 | "outputs": [ 303 | { 304 | "internalType": "string", 305 | "name": "", 306 | "type": "string" 307 | } 308 | ], 309 | "stateMutability": "view", 310 | "type": "function" 311 | }, 312 | { 313 | "inputs": [ 314 | { 315 | "internalType": "string", 316 | "name": "name", 317 | "type": "string" 318 | } 319 | ], 320 | "name": "register", 321 | "outputs": [], 322 | "stateMutability": "payable", 323 | "type": "function" 324 | }, 325 | { 326 | "inputs": [ 327 | { 328 | "internalType": "address", 329 | "name": "from", 330 | "type": "address" 331 | }, 332 | { 333 | "internalType": "address", 334 | "name": "to", 335 | "type": "address" 336 | }, 337 | { 338 | "internalType": "uint256", 339 | "name": "tokenId", 340 | "type": "uint256" 341 | } 342 | ], 343 | "name": "safeTransferFrom", 344 | "outputs": [], 345 | "stateMutability": "nonpayable", 346 | "type": "function" 347 | }, 348 | { 349 | "inputs": [ 350 | { 351 | "internalType": "address", 352 | "name": "from", 353 | "type": "address" 354 | }, 355 | { 356 | "internalType": "address", 357 | "name": "to", 358 | "type": "address" 359 | }, 360 | { 361 | "internalType": "uint256", 362 | "name": "tokenId", 363 | "type": "uint256" 364 | }, 365 | { 366 | "internalType": "bytes", 367 | "name": "_data", 368 | "type": "bytes" 369 | } 370 | ], 371 | "name": "safeTransferFrom", 372 | "outputs": [], 373 | "stateMutability": "nonpayable", 374 | "type": "function" 375 | }, 376 | { 377 | "inputs": [ 378 | { 379 | "internalType": "address", 380 | "name": "operator", 381 | "type": "address" 382 | }, 383 | { 384 | "internalType": "bool", 385 | "name": "approved", 386 | "type": "bool" 387 | } 388 | ], 389 | "name": "setApprovalForAll", 390 | "outputs": [], 391 | "stateMutability": "nonpayable", 392 | "type": "function" 393 | }, 394 | { 395 | "inputs": [ 396 | { 397 | "internalType": "string", 398 | "name": "name", 399 | "type": "string" 400 | }, 401 | { 402 | "internalType": "string", 403 | "name": "record", 404 | "type": "string" 405 | } 406 | ], 407 | "name": "setRecord", 408 | "outputs": [], 409 | "stateMutability": "nonpayable", 410 | "type": "function" 411 | }, 412 | { 413 | "inputs": [ 414 | { 415 | "internalType": "bytes4", 416 | "name": "interfaceId", 417 | "type": "bytes4" 418 | } 419 | ], 420 | "name": "supportsInterface", 421 | "outputs": [ 422 | { 423 | "internalType": "bool", 424 | "name": "", 425 | "type": "bool" 426 | } 427 | ], 428 | "stateMutability": "view", 429 | "type": "function" 430 | }, 431 | { 432 | "inputs": [], 433 | "name": "symbol", 434 | "outputs": [ 435 | { 436 | "internalType": "string", 437 | "name": "", 438 | "type": "string" 439 | } 440 | ], 441 | "stateMutability": "view", 442 | "type": "function" 443 | }, 444 | { 445 | "inputs": [ 446 | { 447 | "internalType": "uint256", 448 | "name": "tokenId", 449 | "type": "uint256" 450 | } 451 | ], 452 | "name": "tokenURI", 453 | "outputs": [ 454 | { 455 | "internalType": "string", 456 | "name": "", 457 | "type": "string" 458 | } 459 | ], 460 | "stateMutability": "view", 461 | "type": "function" 462 | }, 463 | { 464 | "inputs": [ 465 | { 466 | "internalType": "address", 467 | "name": "from", 468 | "type": "address" 469 | }, 470 | { 471 | "internalType": "address", 472 | "name": "to", 473 | "type": "address" 474 | }, 475 | { 476 | "internalType": "uint256", 477 | "name": "tokenId", 478 | "type": "uint256" 479 | } 480 | ], 481 | "name": "transferFrom", 482 | "outputs": [], 483 | "stateMutability": "nonpayable", 484 | "type": "function" 485 | } 486 | ], 487 | "bytecode": "0x6080604052604051806108a0016040528061086b815260200162004aa861086b9139600990805190602001906200003892919062000287565b506040518060400160405280600d81526020017f3c2f746578743e3c2f7376673e00000000000000000000000000000000000000815250600a90805190602001906200008692919062000287565b5060405162005313380380620053138339818101604052810190620000ac9190620004d4565b6040518060400160405280600d81526020017f766f6c747a20646f6d61696e73000000000000000000000000000000000000008152506040518060400160405280600381526020017f56545a000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200013092919062000287565b5080600190805190602001906200014992919062000287565b50505080600890805190602001906200016492919062000287565b50620001b16040518060400160405280600c81526020017f257320444f4d41494e533a3a000000000000000000000000000000000000000081525082620001b860201b620015aa1760201c565b5062000622565b6200025a8282604051602401620001d192919062000582565b6040516020818303038152906040527f4b5c4277000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506200025e60201b60201c565b5050565b60008151905060006a636f6e736f6c652e6c6f679050602083016000808483855afa5050505050565b8280546200029590620005ec565b90600052602060002090601f016020900481019282620002b9576000855562000305565b82601f10620002d457805160ff191683800117855562000305565b8280016001018555821562000305579182015b8281111562000304578251825591602001919060010190620002e7565b5b50905062000314919062000318565b5090565b5b808211156200033357600081600090555060010162000319565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003a08262000355565b810181811067ffffffffffffffff82111715620003c257620003c162000366565b5b80604052505050565b6000620003d762000337565b9050620003e5828262000395565b919050565b600067ffffffffffffffff82111562000408576200040762000366565b5b620004138262000355565b9050602081019050919050565b60005b838110156200044057808201518184015260208101905062000423565b8381111562000450576000848401525b50505050565b60006200046d6200046784620003ea565b620003cb565b9050828152602081018484840111156200048c576200048b62000350565b5b6200049984828562000420565b509392505050565b600082601f830112620004b957620004b86200034b565b5b8151620004cb84826020860162000456565b91505092915050565b600060208284031215620004ed57620004ec62000341565b5b600082015167ffffffffffffffff8111156200050e576200050d62000346565b5b6200051c84828501620004a1565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60006200054e8262000525565b6200055a818562000530565b93506200056c81856020860162000420565b620005778162000355565b840191505092915050565b600060408201905081810360008301526200059e818562000541565b90508181036020830152620005b4818462000541565b90509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200060557607f821691505b602082108114156200061c576200061b620005bd565b5b50919050565b61447680620006326000396000f3fe60806040526004361061012a5760003560e01c80636352211e116100ab578063bf40fac11161006f578063bf40fac114610428578063c1880a9814610465578063c87b56dd1461048e578063e985e9c5146104cb578063f2c298be14610508578063fe2c6198146105245761012a565b80636352211e1461033157806370a082311461036e57806395d89b41146103ab578063a22cb465146103d6578063b88d4fde146103ff5761012a565b806323b872dd116100f257806323b872dd1461023a578063264492351461026357806342842e0e146102a0578063541e771d146102c9578063618dcd05146103065761012a565b806301ffc9a71461012f57806306fdde031461016c578063081812fc14610197578063095ea7b3146101d457806311dd8845146101fd575b600080fd5b34801561013b57600080fd5b5061015660048036038101906101519190612a8c565b610561565b6040516101639190612ad4565b60405180910390f35b34801561017857600080fd5b50610181610643565b60405161018e9190612b88565b60405180910390f35b3480156101a357600080fd5b506101be60048036038101906101b99190612be0565b6106d5565b6040516101cb9190612c4e565b60405180910390f35b3480156101e057600080fd5b506101fb60048036038101906101f69190612c95565b61075a565b005b34801561020957600080fd5b50610224600480360381019061021f9190612d3a565b610872565b6040516102319190612b88565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c9190612d87565b610925565b005b34801561026f57600080fd5b5061028a60048036038101906102859190612f0a565b610985565b6040516102979190612c4e565b60405180910390f35b3480156102ac57600080fd5b506102c760048036038101906102c29190612d87565b6109ce565b005b3480156102d557600080fd5b506102f060048036038101906102eb9190612f0a565b6109ee565b6040516102fd9190612b88565b60405180910390f35b34801561031257600080fd5b5061031b610aa4565b6040516103289190612b88565b60405180910390f35b34801561033d57600080fd5b5061035860048036038101906103539190612be0565b610b32565b6040516103659190612c4e565b60405180910390f35b34801561037a57600080fd5b5061039560048036038101906103909190612f53565b610be4565b6040516103a29190612f8f565b60405180910390f35b3480156103b757600080fd5b506103c0610c9c565b6040516103cd9190612b88565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f89190612fd6565b610d2e565b005b34801561040b57600080fd5b50610426600480360381019061042191906130b7565b610d44565b005b34801561043457600080fd5b5061044f600480360381019061044a9190612d3a565b610da6565b60405161045c9190612c4e565b60405180910390f35b34801561047157600080fd5b5061048c6004803603810190610487919061313a565b610df1565b005b34801561049a57600080fd5b506104b560048036038101906104b09190612be0565b610e9f565b6040516104c29190612b88565b60405180910390f35b3480156104d757600080fd5b506104f260048036038101906104ed91906131bb565b610ff1565b6040516104ff9190612ad4565b60405180910390f35b610522600480360381019061051d9190612d3a565b611085565b005b34801561053057600080fd5b5061054b60048036038101906105469190612d3a565b611504565b6040516105589190612f8f565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061062c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061063c575061063b82611646565b5b9050919050565b6060600080546106529061322a565b80601f016020809104026020016040519081016040528092919081815260200182805461067e9061322a565b80156106cb5780601f106106a0576101008083540402835291602001916106cb565b820191906000526020600020905b8154815290600101906020018083116106ae57829003601f168201915b5050505050905090565b60006106e0826116b0565b61071f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610716906132ce565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061076582610b32565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cd90613360565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107f561171c565b73ffffffffffffffffffffffffffffffffffffffff16148061082457506108238161081e61171c565b610ff1565b5b610863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085a906133f2565b60405180910390fd5b61086d8383611724565b505050565b6060600c8383604051610886929190613442565b9081526020016040518091039020805461089f9061322a565b80601f01602080910402602001604051908101604052809291908181526020018280546108cb9061322a565b80156109185780601f106108ed57610100808354040283529160200191610918565b820191906000526020600020905b8154815290600101906020018083116108fb57829003601f168201915b5050505050905092915050565b61093661093061171c565b826117dd565b610975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096c906134cd565b60405180910390fd5b6109808383836118bb565b505050565b600b818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6109e983838360405180602001604052806000815250610d44565b505050565b600c818051602081018201805184825260208301602085012081835280955050505050506000915090508054610a239061322a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4f9061322a565b8015610a9c5780601f10610a7157610100808354040283529160200191610a9c565b820191906000526020600020905b815481529060010190602001808311610a7f57829003601f168201915b505050505081565b60088054610ab19061322a565b80601f0160208091040260200160405190810160405280929190818152602001828054610add9061322a565b8015610b2a5780601f10610aff57610100808354040283529160200191610b2a565b820191906000526020600020905b815481529060010190602001808311610b0d57829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd29061355f565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4c906135f1565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060018054610cab9061322a565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd79061322a565b8015610d245780601f10610cf957610100808354040283529160200191610d24565b820191906000526020600020905b815481529060010190602001808311610d0757829003601f168201915b5050505050905090565b610d40610d3961171c565b8383611b22565b5050565b610d55610d4f61171c565b836117dd565b610d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8b906134cd565b60405180910390fd5b610da084848484611c8f565b50505050565b6000600b8383604051610dba929190613442565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16600b8585604051610e1a929190613442565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e6957600080fd5b8181600c8686604051610e7d929190613442565b90815260200160405180910390209190610e989291906128f7565b5050505050565b6060610eaa826116b0565b610ee9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee090613683565b60405180910390fd5b6000600660008481526020019081526020016000208054610f099061322a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f359061322a565b8015610f825780601f10610f5757610100808354040283529160200191610f82565b820191906000526020600020905b815481529060010190602001808311610f6557829003601f168201915b505050505090506000610f93611ceb565b9050600081511415610fa9578192505050610fec565b600082511115610fde578082604051602001610fc69291906136d4565b60405160208183030381529060405292505050610fec565b610fe784611d02565b925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff16600b83836040516110af929190613442565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110fe57600080fd5b600061110a8383611504565b90508034101561114f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114690613744565b60405180910390fd5b60008383600860405160200161116793929190613844565b60405160208183030381529060405290506000600982600a60405160200161119193929190613875565b604051602081830303815290604052905060006111ae6007611da9565b905060006111ff87878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611db7565b9050600061120c82611f6c565b905033600b8989604051611221929190613442565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506112ac6040518060400160405280601b81526020017f2573206861732072656769737465726564206120646f6d61696e210000000000815250336120cd565b61139e6040518060600160405280603181526020016143976031913989898080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506008805461131a9061322a565b80601f01602080910402602001604051908101604052809291908181526020018280546113469061322a565b80156113935780601f1061136857610100808354040283529160200191611393565b820191906000526020600020905b81548152906001019060200180831161137657829003601f168201915b505050505086612169565b60006113d4866113ad8761220b565b846040516020016113c093929190613a22565b60405160208183030381529060405261220b565b90506000816040516020016113e99190613acb565b604051602081830303815290604052905061141b60405180606001604052806039815260200161435e603991396123a3565b61145a6040518060400160405280600e81526020017f46696e616c20746f6b656e555249000000000000000000000000000000000000815250826115aa565b61147b6040518060600160405280603981526020016143c8603991396123a3565b611485338661243c565b61148f858261245a565b33600b8b8b6040516114a2929190613442565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506114f860076124ce565b50505050505050505050565b60008061155484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611db7565b90506000811161156357600080fd5b600381141561157d5767016345785d8a00009150506115a4565b60048114156115975767016345785d8a00009150506115a4565b67016345785d8a00009150505b92915050565b61164282826040516024016115c0929190613aed565b6040516020818303038152906040527f4b5c4277000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506124e4565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661179783610b32565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006117e8826116b0565b611827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181e90613b96565b60405180910390fd5b600061183283610b32565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061187457506118738185610ff1565b5b806118b257508373ffffffffffffffffffffffffffffffffffffffff1661189a846106d5565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166118db82610b32565b73ffffffffffffffffffffffffffffffffffffffff1614611931576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192890613c28565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199890613cba565b60405180910390fd5b6119ac83838361250d565b6119b7600082611724565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a079190613d09565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a5e9190613d3d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611b1d838383612512565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8890613ddf565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c829190612ad4565b60405180910390a3505050565b611c9a8484846118bb565b611ca684848484612517565b611ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdc90613e71565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b6060611d0d826116b0565b611d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4390613f03565b60405180910390fd5b6000611d56611ceb565b90506000815111611d765760405180602001604052806000815250611da1565b80611d8084611f6c565b604051602001611d919291906136d4565b6040516020818303038152906040525b915050919050565b600081600001549050919050565b60008060008084519050600092505b80821015611f61576000858381518110611de357611de2613f23565b5b602001015160f81c60f81b9050608060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015611e3257600183611e2b9190613d3d565b9250611f4d565b60e060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015611e7457600283611e6d9190613d3d565b9250611f4c565b60f060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015611eb657600383611eaf9190613d3d565b9250611f4b565b60f8801b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015611ef757600483611ef09190613d3d565b9250611f4a565b60fc60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015611f3957600583611f329190613d3d565b9250611f49565b600683611f469190613d3d565b92505b5b5b5b5b508280611f5990613f52565b935050611dc6565b829350505050919050565b60606000821415611fb4576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120c8565b600082905060005b60008214611fe6578080611fcf90613f52565b915050600a82611fdf9190613fca565b9150611fbc565b60008167ffffffffffffffff81111561200257612001612ddf565b5b6040519080825280601f01601f1916602001820160405280156120345781602001600182028036833780820191505090505b5090505b600085146120c15760018261204d9190613d09565b9150600a8561205c9190613ffb565b60306120689190613d3d565b60f81b81838151811061207e5761207d613f23565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120ba9190613fca565b9450612038565b8093505050505b919050565b61216582826040516024016120e392919061402c565b6040516020818303038152906040527f319af333000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506124e4565b5050565b61220584848484604051602401612183949392919061405c565b6040516020818303038152906040527f9fd009f5000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506124e4565b50505050565b60606000825190506000811415612234576040518060200160405280600081525091505061239e565b600060036002836122459190613d3d565b61224f9190613fca565b600461225b91906140b6565b9050600060208261226c9190613d3d565b67ffffffffffffffff81111561228557612284612ddf565b5b6040519080825280601f01601f1916602001820160405280156122b75781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001614401604091399050600181016020830160005b8681101561235b5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b905080845260048401935050506122e2565b506003860660018114612375576002811461238557612390565b613d3d60f01b6002830352612390565b603d60f81b60018303525b508484525050819450505050505b919050565b612439816040516024016123b79190612b88565b6040516020818303038152906040527f41304fac000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506124e4565b50565b61245682826040518060200160405280600081525061269f565b5050565b612463826116b0565b6124a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249990614182565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906124c992919061297d565b505050565b6001816000016000828254019250508190555050565b60008151905060006a636f6e736f6c652e6c6f679050602083016000808483855afa5050505050565b505050565b505050565b60006125388473ffffffffffffffffffffffffffffffffffffffff166126fa565b15612692578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261256161171c565b8786866040518563ffffffff1660e01b815260040161258394939291906141f7565b6020604051808303816000875af19250505080156125bf57506040513d601f19601f820116820180604052508101906125bc9190614258565b60015b612642573d80600081146125ef576040519150601f19603f3d011682016040523d82523d6000602084013e6125f4565b606091505b5060008151141561263a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263190613e71565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612697565b600190505b949350505050565b6126a9838361271d565b6126b66000848484612517565b6126f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ec90613e71565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561278d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612784906142d1565b60405180910390fd5b612796816116b0565b156127d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cd9061433d565b60405180910390fd5b6127e26000838361250d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128329190613d3d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128f360008383612512565b5050565b8280546129039061322a565b90600052602060002090601f016020900481019282612925576000855561296c565b82601f1061293e57803560ff191683800117855561296c565b8280016001018555821561296c579182015b8281111561296b578235825591602001919060010190612950565b5b5090506129799190612a03565b5090565b8280546129899061322a565b90600052602060002090601f0160209004810192826129ab57600085556129f2565b82601f106129c457805160ff19168380011785556129f2565b828001600101855582156129f2579182015b828111156129f15782518255916020019190600101906129d6565b5b5090506129ff9190612a03565b5090565b5b80821115612a1c576000816000905550600101612a04565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a6981612a34565b8114612a7457600080fd5b50565b600081359050612a8681612a60565b92915050565b600060208284031215612aa257612aa1612a2a565b5b6000612ab084828501612a77565b91505092915050565b60008115159050919050565b612ace81612ab9565b82525050565b6000602082019050612ae96000830184612ac5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b29578082015181840152602081019050612b0e565b83811115612b38576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b5a82612aef565b612b648185612afa565b9350612b74818560208601612b0b565b612b7d81612b3e565b840191505092915050565b60006020820190508181036000830152612ba28184612b4f565b905092915050565b6000819050919050565b612bbd81612baa565b8114612bc857600080fd5b50565b600081359050612bda81612bb4565b92915050565b600060208284031215612bf657612bf5612a2a565b5b6000612c0484828501612bcb565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c3882612c0d565b9050919050565b612c4881612c2d565b82525050565b6000602082019050612c636000830184612c3f565b92915050565b612c7281612c2d565b8114612c7d57600080fd5b50565b600081359050612c8f81612c69565b92915050565b60008060408385031215612cac57612cab612a2a565b5b6000612cba85828601612c80565b9250506020612ccb85828601612bcb565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112612cfa57612cf9612cd5565b5b8235905067ffffffffffffffff811115612d1757612d16612cda565b5b602083019150836001820283011115612d3357612d32612cdf565b5b9250929050565b60008060208385031215612d5157612d50612a2a565b5b600083013567ffffffffffffffff811115612d6f57612d6e612a2f565b5b612d7b85828601612ce4565b92509250509250929050565b600080600060608486031215612da057612d9f612a2a565b5b6000612dae86828701612c80565b9350506020612dbf86828701612c80565b9250506040612dd086828701612bcb565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e1782612b3e565b810181811067ffffffffffffffff82111715612e3657612e35612ddf565b5b80604052505050565b6000612e49612a20565b9050612e558282612e0e565b919050565b600067ffffffffffffffff821115612e7557612e74612ddf565b5b612e7e82612b3e565b9050602081019050919050565b82818337600083830152505050565b6000612ead612ea884612e5a565b612e3f565b905082815260208101848484011115612ec957612ec8612dda565b5b612ed4848285612e8b565b509392505050565b600082601f830112612ef157612ef0612cd5565b5b8135612f01848260208601612e9a565b91505092915050565b600060208284031215612f2057612f1f612a2a565b5b600082013567ffffffffffffffff811115612f3e57612f3d612a2f565b5b612f4a84828501612edc565b91505092915050565b600060208284031215612f6957612f68612a2a565b5b6000612f7784828501612c80565b91505092915050565b612f8981612baa565b82525050565b6000602082019050612fa46000830184612f80565b92915050565b612fb381612ab9565b8114612fbe57600080fd5b50565b600081359050612fd081612faa565b92915050565b60008060408385031215612fed57612fec612a2a565b5b6000612ffb85828601612c80565b925050602061300c85828601612fc1565b9150509250929050565b600067ffffffffffffffff82111561303157613030612ddf565b5b61303a82612b3e565b9050602081019050919050565b600061305a61305584613016565b612e3f565b90508281526020810184848401111561307657613075612dda565b5b613081848285612e8b565b509392505050565b600082601f83011261309e5761309d612cd5565b5b81356130ae848260208601613047565b91505092915050565b600080600080608085870312156130d1576130d0612a2a565b5b60006130df87828801612c80565b94505060206130f087828801612c80565b935050604061310187828801612bcb565b925050606085013567ffffffffffffffff81111561312257613121612a2f565b5b61312e87828801613089565b91505092959194509250565b6000806000806040858703121561315457613153612a2a565b5b600085013567ffffffffffffffff81111561317257613171612a2f565b5b61317e87828801612ce4565b9450945050602085013567ffffffffffffffff8111156131a1576131a0612a2f565b5b6131ad87828801612ce4565b925092505092959194509250565b600080604083850312156131d2576131d1612a2a565b5b60006131e085828601612c80565b92505060206131f185828601612c80565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061324257607f821691505b60208210811415613256576132556131fb565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006132b8602c83612afa565b91506132c38261325c565b604082019050919050565b600060208201905081810360008301526132e7816132ab565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061334a602183612afa565b9150613355826132ee565b604082019050919050565b600060208201905081810360008301526133798161333d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006133dc603883612afa565b91506133e782613380565b604082019050919050565b6000602082019050818103600083015261340b816133cf565b9050919050565b600081905092915050565b60006134298385613412565b9350613436838584612e8b565b82840190509392505050565b600061344f82848661341d565b91508190509392505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006134b7603183612afa565b91506134c28261345b565b604082019050919050565b600060208201905081810360008301526134e6816134aa565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613549602983612afa565b9150613554826134ed565b604082019050919050565b600060208201905081810360008301526135788161353c565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006135db602a83612afa565b91506135e68261357f565b604082019050919050565b6000602082019050818103600083015261360a816135ce565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b600061366d603183612afa565b915061367882613611565b604082019050919050565b6000602082019050818103600083015261369c81613660565b9050919050565b60006136ae82612aef565b6136b88185613412565b93506136c8818560208601612b0b565b80840191505092915050565b60006136e082856136a3565b91506136ec82846136a3565b91508190509392505050565b7f4e6f7420656e6f756768204d6174696320706169640000000000000000000000600082015250565b600061372e601583612afa565b9150613739826136f8565b602082019050919050565b6000602082019050818103600083015261375d81613721565b9050919050565b7f2e00000000000000000000000000000000000000000000000000000000000000600082015250565b600061379a600183613412565b91506137a582613764565b600182019050919050565b60008190508160005260206000209050919050565b600081546137d28161322a565b6137dc8186613412565b945060018216600081146137f757600181146138085761383b565b60ff1983168652818601935061383b565b613811856137b0565b60005b8381101561383357815481890152600182019150602081019050613814565b838801955050505b50505092915050565b600061385182858761341d565b915061385c8261378d565b915061386882846137c5565b9150819050949350505050565b600061388182866137c5565b915061388d82856136a3565b915061389982846137c5565b9150819050949350505050565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b60006138dc600a83613412565b91506138e7826138a6565b600a82019050919050565b7f222c20226465736372697074696f6e223a20224120646f6d61696e206f6e207460008201527f686520766f6c747a20646f6d61696e73222c2022696d616765223a202264617460208201527f613a696d6167652f7376672b786d6c3b6261736536342c000000000000000000604082015250565b6000613974605783613412565b915061397f826138f2565b605782019050919050565b7f222c226c656e677468223a220000000000000000000000000000000000000000600082015250565b60006139c0600c83613412565b91506139cb8261398a565b600c82019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000613a0c600283613412565b9150613a17826139d6565b600282019050919050565b6000613a2d826138cf565b9150613a3982866136a3565b9150613a4482613967565b9150613a5082856136a3565b9150613a5b826139b3565b9150613a6782846136a3565b9150613a72826139ff565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000613ab5601d83613412565b9150613ac082613a7f565b601d82019050919050565b6000613ad682613aa8565b9150613ae282846136a3565b915081905092915050565b60006040820190508181036000830152613b078185612b4f565b90508181036020830152613b1b8184612b4f565b90509392505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613b80602c83612afa565b9150613b8b82613b24565b604082019050919050565b60006020820190508181036000830152613baf81613b73565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613c12602583612afa565b9150613c1d82613bb6565b604082019050919050565b60006020820190508181036000830152613c4181613c05565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613ca4602483612afa565b9150613caf82613c48565b604082019050919050565b60006020820190508181036000830152613cd381613c97565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d1482612baa565b9150613d1f83612baa565b925082821015613d3257613d31613cda565b5b828203905092915050565b6000613d4882612baa565b9150613d5383612baa565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d8857613d87613cda565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613dc9601983612afa565b9150613dd482613d93565b602082019050919050565b60006020820190508181036000830152613df881613dbc565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613e5b603283612afa565b9150613e6682613dff565b604082019050919050565b60006020820190508181036000830152613e8a81613e4e565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613eed602f83612afa565b9150613ef882613e91565b604082019050919050565b60006020820190508181036000830152613f1c81613ee0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613f5d82612baa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f9057613f8f613cda565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613fd582612baa565b9150613fe083612baa565b925082613ff057613fef613f9b565b5b828204905092915050565b600061400682612baa565b915061401183612baa565b92508261402157614020613f9b565b5b828206905092915050565b600060408201905081810360008301526140468185612b4f565b90506140556020830184612c3f565b9392505050565b600060808201905081810360008301526140768187612b4f565b9050818103602083015261408a8186612b4f565b9050818103604083015261409e8185612b4f565b90506140ad6060830184612f80565b95945050505050565b60006140c182612baa565b91506140cc83612baa565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561410557614104613cda565b5b828202905092915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b600061416c602e83612afa565b915061417782614110565b604082019050919050565b6000602082019050818103600083015261419b8161415f565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006141c9826141a2565b6141d381856141ad565b93506141e3818560208601612b0b565b6141ec81612b3e565b840191505092915050565b600060808201905061420c6000830187612c3f565b6142196020830186612c3f565b6142266040830185612f80565b818103606083015261423881846141be565b905095945050505050565b60008151905061425281612a60565b92915050565b60006020828403121561426e5761426d612a2a565b5b600061427c84828501614243565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006142bb602083612afa565b91506142c682614285565b602082019050919050565b600060208201905081810360008301526142ea816142ae565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614327601c83612afa565b9150614332826142f1565b602082019050919050565b600060208201905081810360008301526143568161431a565b905091905056fe0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d5265676973746572696e672025732e2573206f6e2074686520636f6e7472616374207769746820746f6b656e49442025642d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0a4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122027c3fe4b4d0a1d59302a5fd0d0fb9972730a66117fcbacd068beccc760d7cbe564736f6c634300080a00333c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222077696474683d2232373022206865696768743d22323730222066696c6c3d226e6f6e65223e3c706174682066696c6c3d2275726c282342292220643d224d302030683237307632373048307a222f3e3c646566733e3c66696c7465722069643d22412220636f6c6f722d696e746572706f6c6174696f6e2d66696c746572733d2273524742222066696c746572556e6974733d227573657253706163654f6e55736522206865696768743d22323730222077696474683d22323730223e3c666544726f70536861646f772064783d2230222064793d22312220737464446576696174696f6e3d22322220666c6f6f642d6f7061636974793d222e323235222077696474683d223230302522206865696768743d2232303025222f3e3c2f66696c7465723e3c2f646566733e3c7061746820643d224d37322e3836332034322e393439632d2e3636382d2e3338372d312e3432362d2e35392d322e3139372d2e3539732d312e3532392e3230342d322e3139372e35396c2d31302e30383120362e3033322d362e383520332e3933342d31302e30383120362e303332632d2e3636382e3338372d312e3432362e35392d322e3139372e3539732d312e3532392d2e3230342d322e3139372d2e35396c2d382e3031332d342e37323161342e353220342e35322030203020312d312e3538392d312e363136632d2e3338342d2e3636352d2e3539342d312e3431382d2e3630382d322e313837762d392e3331632d2e3031332d2e3737352e3138352d312e3533382e3537322d322e32303861342e323520342e323520302030203120312e3632352d312e3539356c372e3838342d342e3539632e3636382d2e33383720312e3432362d2e353920322e3139372d2e353973312e3532392e32303420322e3139372e35396c372e38383420342e353961342e353220342e353220302030203120312e35383920312e363136632e3338342e3636352e35393420312e3431382e36303820322e31383776362e3033326c362e38352d342e303635762d362e303332632e3031332d2e3737352d2e3138352d312e3533382d2e3537322d322e32303861342e323520342e32352030203020302d312e3632352d312e3539354c34312e3435362032342e3539632d2e3636382d2e3338372d312e3432362d2e35392d322e3139372d2e3539732d312e3532392e3230342d322e3139372e35396c2d31342e38363420382e36353561342e323520342e32352030203020302d312e36323520312e353935632d2e3338372e36372d2e35383520312e3433342d2e35373220322e3230387631372e343431632d2e3031332e3737352e31383520312e3533382e35373220322e32303861342e323520342e323520302030203020312e36323520312e3539356c31342e38363420382e363535632e3636382e33383720312e3432362e353920322e3139372e353973312e3532392d2e32303420322e3139372d2e35396c31302e3038312d352e39303120362e38352d342e3036352031302e3038312d352e393031632e3636382d2e33383720312e3432362d2e353920322e3139372d2e353973312e3532392e32303420322e3139372e35396c372e38383420342e353961342e353220342e353220302030203120312e35383920312e363136632e3338342e3636352e35393420312e3431382e36303820322e31383776392e333131632e3031332e3737352d2e31383520312e3533382d2e35373220322e32303861342e323520342e32352030203020312d312e36323520312e3539356c2d372e38383420342e373231632d2e3636382e3338372d312e3432362e35392d322e3139372e3539732d312e3532392d2e3230342d322e3139372d2e35396c2d372e3838342d342e353961342e353220342e35322030203020312d312e3538392d312e363136632d2e3338352d2e3636352d2e3539342d312e3431382d2e3630382d322e313837762d362e3033326c2d362e383520342e30363576362e303332632d2e3031332e3737352e31383520312e3533382e35373220322e32303861342e323520342e323520302030203020312e36323520312e3539356c31342e38363420382e363535632e3636382e33383720312e3432362e353920322e3139372e353973312e3532392d2e32303420322e3139372d2e35396c31342e3836342d382e363535632e3635372d2e33393420312e3230342d2e393520312e3538392d312e363136732e3539342d312e3431382e3630392d322e3138375635352e353338632e3031332d2e3737352d2e3138352d312e3533382d2e3537322d322e32303861342e323520342e32352030203020302d312e3632352d312e3539356c2d31342e3939332d382e3738367a222066696c6c3d2223666666222f3e3c646566733e3c6c696e6561724772616469656e742069643d2242222078313d2230222079313d2230222078323d22323730222079323d2232373022206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f702073746f702d636f6c6f723d2223636235656565222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223306364376534222073746f702d6f7061636974793d222e3939222f3e3c2f6c696e6561724772616469656e743e3c2f646566733e3c7465787420783d2233322e352220793d223233312220666f6e742d73697a653d223237222066696c6c3d2223666666222066696c7465723d2275726c282341292220666f6e742d66616d696c793d22506c7573204a616b617274612053616e732c44656a6156752053616e732c4e6f746f20436f6c6f7220456d6f6a692c4170706c6520436f6c6f7220456d6f6a692c73616e732d73657269662220666f6e742d7765696768743d22626f6c64223e", 488 | "deployedBytecode": "0x60806040526004361061012a5760003560e01c80636352211e116100ab578063bf40fac11161006f578063bf40fac114610428578063c1880a9814610465578063c87b56dd1461048e578063e985e9c5146104cb578063f2c298be14610508578063fe2c6198146105245761012a565b80636352211e1461033157806370a082311461036e57806395d89b41146103ab578063a22cb465146103d6578063b88d4fde146103ff5761012a565b806323b872dd116100f257806323b872dd1461023a578063264492351461026357806342842e0e146102a0578063541e771d146102c9578063618dcd05146103065761012a565b806301ffc9a71461012f57806306fdde031461016c578063081812fc14610197578063095ea7b3146101d457806311dd8845146101fd575b600080fd5b34801561013b57600080fd5b5061015660048036038101906101519190612a8c565b610561565b6040516101639190612ad4565b60405180910390f35b34801561017857600080fd5b50610181610643565b60405161018e9190612b88565b60405180910390f35b3480156101a357600080fd5b506101be60048036038101906101b99190612be0565b6106d5565b6040516101cb9190612c4e565b60405180910390f35b3480156101e057600080fd5b506101fb60048036038101906101f69190612c95565b61075a565b005b34801561020957600080fd5b50610224600480360381019061021f9190612d3a565b610872565b6040516102319190612b88565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c9190612d87565b610925565b005b34801561026f57600080fd5b5061028a60048036038101906102859190612f0a565b610985565b6040516102979190612c4e565b60405180910390f35b3480156102ac57600080fd5b506102c760048036038101906102c29190612d87565b6109ce565b005b3480156102d557600080fd5b506102f060048036038101906102eb9190612f0a565b6109ee565b6040516102fd9190612b88565b60405180910390f35b34801561031257600080fd5b5061031b610aa4565b6040516103289190612b88565b60405180910390f35b34801561033d57600080fd5b5061035860048036038101906103539190612be0565b610b32565b6040516103659190612c4e565b60405180910390f35b34801561037a57600080fd5b5061039560048036038101906103909190612f53565b610be4565b6040516103a29190612f8f565b60405180910390f35b3480156103b757600080fd5b506103c0610c9c565b6040516103cd9190612b88565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f89190612fd6565b610d2e565b005b34801561040b57600080fd5b50610426600480360381019061042191906130b7565b610d44565b005b34801561043457600080fd5b5061044f600480360381019061044a9190612d3a565b610da6565b60405161045c9190612c4e565b60405180910390f35b34801561047157600080fd5b5061048c6004803603810190610487919061313a565b610df1565b005b34801561049a57600080fd5b506104b560048036038101906104b09190612be0565b610e9f565b6040516104c29190612b88565b60405180910390f35b3480156104d757600080fd5b506104f260048036038101906104ed91906131bb565b610ff1565b6040516104ff9190612ad4565b60405180910390f35b610522600480360381019061051d9190612d3a565b611085565b005b34801561053057600080fd5b5061054b60048036038101906105469190612d3a565b611504565b6040516105589190612f8f565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061062c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061063c575061063b82611646565b5b9050919050565b6060600080546106529061322a565b80601f016020809104026020016040519081016040528092919081815260200182805461067e9061322a565b80156106cb5780601f106106a0576101008083540402835291602001916106cb565b820191906000526020600020905b8154815290600101906020018083116106ae57829003601f168201915b5050505050905090565b60006106e0826116b0565b61071f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610716906132ce565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061076582610b32565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cd90613360565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107f561171c565b73ffffffffffffffffffffffffffffffffffffffff16148061082457506108238161081e61171c565b610ff1565b5b610863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085a906133f2565b60405180910390fd5b61086d8383611724565b505050565b6060600c8383604051610886929190613442565b9081526020016040518091039020805461089f9061322a565b80601f01602080910402602001604051908101604052809291908181526020018280546108cb9061322a565b80156109185780601f106108ed57610100808354040283529160200191610918565b820191906000526020600020905b8154815290600101906020018083116108fb57829003601f168201915b5050505050905092915050565b61093661093061171c565b826117dd565b610975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096c906134cd565b60405180910390fd5b6109808383836118bb565b505050565b600b818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6109e983838360405180602001604052806000815250610d44565b505050565b600c818051602081018201805184825260208301602085012081835280955050505050506000915090508054610a239061322a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4f9061322a565b8015610a9c5780601f10610a7157610100808354040283529160200191610a9c565b820191906000526020600020905b815481529060010190602001808311610a7f57829003601f168201915b505050505081565b60088054610ab19061322a565b80601f0160208091040260200160405190810160405280929190818152602001828054610add9061322a565b8015610b2a5780601f10610aff57610100808354040283529160200191610b2a565b820191906000526020600020905b815481529060010190602001808311610b0d57829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd29061355f565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4c906135f1565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060018054610cab9061322a565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd79061322a565b8015610d245780601f10610cf957610100808354040283529160200191610d24565b820191906000526020600020905b815481529060010190602001808311610d0757829003601f168201915b5050505050905090565b610d40610d3961171c565b8383611b22565b5050565b610d55610d4f61171c565b836117dd565b610d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8b906134cd565b60405180910390fd5b610da084848484611c8f565b50505050565b6000600b8383604051610dba929190613442565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16600b8585604051610e1a929190613442565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e6957600080fd5b8181600c8686604051610e7d929190613442565b90815260200160405180910390209190610e989291906128f7565b5050505050565b6060610eaa826116b0565b610ee9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee090613683565b60405180910390fd5b6000600660008481526020019081526020016000208054610f099061322a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f359061322a565b8015610f825780601f10610f5757610100808354040283529160200191610f82565b820191906000526020600020905b815481529060010190602001808311610f6557829003601f168201915b505050505090506000610f93611ceb565b9050600081511415610fa9578192505050610fec565b600082511115610fde578082604051602001610fc69291906136d4565b60405160208183030381529060405292505050610fec565b610fe784611d02565b925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff16600b83836040516110af929190613442565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110fe57600080fd5b600061110a8383611504565b90508034101561114f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114690613744565b60405180910390fd5b60008383600860405160200161116793929190613844565b60405160208183030381529060405290506000600982600a60405160200161119193929190613875565b604051602081830303815290604052905060006111ae6007611da9565b905060006111ff87878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611db7565b9050600061120c82611f6c565b905033600b8989604051611221929190613442565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506112ac6040518060400160405280601b81526020017f2573206861732072656769737465726564206120646f6d61696e210000000000815250336120cd565b61139e6040518060600160405280603181526020016143976031913989898080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506008805461131a9061322a565b80601f01602080910402602001604051908101604052809291908181526020018280546113469061322a565b80156113935780601f1061136857610100808354040283529160200191611393565b820191906000526020600020905b81548152906001019060200180831161137657829003601f168201915b505050505086612169565b60006113d4866113ad8761220b565b846040516020016113c093929190613a22565b60405160208183030381529060405261220b565b90506000816040516020016113e99190613acb565b604051602081830303815290604052905061141b60405180606001604052806039815260200161435e603991396123a3565b61145a6040518060400160405280600e81526020017f46696e616c20746f6b656e555249000000000000000000000000000000000000815250826115aa565b61147b6040518060600160405280603981526020016143c8603991396123a3565b611485338661243c565b61148f858261245a565b33600b8b8b6040516114a2929190613442565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506114f860076124ce565b50505050505050505050565b60008061155484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611db7565b90506000811161156357600080fd5b600381141561157d5767016345785d8a00009150506115a4565b60048114156115975767016345785d8a00009150506115a4565b67016345785d8a00009150505b92915050565b61164282826040516024016115c0929190613aed565b6040516020818303038152906040527f4b5c4277000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506124e4565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661179783610b32565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006117e8826116b0565b611827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181e90613b96565b60405180910390fd5b600061183283610b32565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061187457506118738185610ff1565b5b806118b257508373ffffffffffffffffffffffffffffffffffffffff1661189a846106d5565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166118db82610b32565b73ffffffffffffffffffffffffffffffffffffffff1614611931576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192890613c28565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199890613cba565b60405180910390fd5b6119ac83838361250d565b6119b7600082611724565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a079190613d09565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a5e9190613d3d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611b1d838383612512565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8890613ddf565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c829190612ad4565b60405180910390a3505050565b611c9a8484846118bb565b611ca684848484612517565b611ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdc90613e71565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b6060611d0d826116b0565b611d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4390613f03565b60405180910390fd5b6000611d56611ceb565b90506000815111611d765760405180602001604052806000815250611da1565b80611d8084611f6c565b604051602001611d919291906136d4565b6040516020818303038152906040525b915050919050565b600081600001549050919050565b60008060008084519050600092505b80821015611f61576000858381518110611de357611de2613f23565b5b602001015160f81c60f81b9050608060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015611e3257600183611e2b9190613d3d565b9250611f4d565b60e060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015611e7457600283611e6d9190613d3d565b9250611f4c565b60f060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015611eb657600383611eaf9190613d3d565b9250611f4b565b60f8801b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015611ef757600483611ef09190613d3d565b9250611f4a565b60fc60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015611f3957600583611f329190613d3d565b9250611f49565b600683611f469190613d3d565b92505b5b5b5b5b508280611f5990613f52565b935050611dc6565b829350505050919050565b60606000821415611fb4576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120c8565b600082905060005b60008214611fe6578080611fcf90613f52565b915050600a82611fdf9190613fca565b9150611fbc565b60008167ffffffffffffffff81111561200257612001612ddf565b5b6040519080825280601f01601f1916602001820160405280156120345781602001600182028036833780820191505090505b5090505b600085146120c15760018261204d9190613d09565b9150600a8561205c9190613ffb565b60306120689190613d3d565b60f81b81838151811061207e5761207d613f23565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120ba9190613fca565b9450612038565b8093505050505b919050565b61216582826040516024016120e392919061402c565b6040516020818303038152906040527f319af333000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506124e4565b5050565b61220584848484604051602401612183949392919061405c565b6040516020818303038152906040527f9fd009f5000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506124e4565b50505050565b60606000825190506000811415612234576040518060200160405280600081525091505061239e565b600060036002836122459190613d3d565b61224f9190613fca565b600461225b91906140b6565b9050600060208261226c9190613d3d565b67ffffffffffffffff81111561228557612284612ddf565b5b6040519080825280601f01601f1916602001820160405280156122b75781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001614401604091399050600181016020830160005b8681101561235b5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b905080845260048401935050506122e2565b506003860660018114612375576002811461238557612390565b613d3d60f01b6002830352612390565b603d60f81b60018303525b508484525050819450505050505b919050565b612439816040516024016123b79190612b88565b6040516020818303038152906040527f41304fac000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506124e4565b50565b61245682826040518060200160405280600081525061269f565b5050565b612463826116b0565b6124a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249990614182565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906124c992919061297d565b505050565b6001816000016000828254019250508190555050565b60008151905060006a636f6e736f6c652e6c6f679050602083016000808483855afa5050505050565b505050565b505050565b60006125388473ffffffffffffffffffffffffffffffffffffffff166126fa565b15612692578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261256161171c565b8786866040518563ffffffff1660e01b815260040161258394939291906141f7565b6020604051808303816000875af19250505080156125bf57506040513d601f19601f820116820180604052508101906125bc9190614258565b60015b612642573d80600081146125ef576040519150601f19603f3d011682016040523d82523d6000602084013e6125f4565b606091505b5060008151141561263a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263190613e71565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612697565b600190505b949350505050565b6126a9838361271d565b6126b66000848484612517565b6126f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ec90613e71565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561278d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612784906142d1565b60405180910390fd5b612796816116b0565b156127d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cd9061433d565b60405180910390fd5b6127e26000838361250d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128329190613d3d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128f360008383612512565b5050565b8280546129039061322a565b90600052602060002090601f016020900481019282612925576000855561296c565b82601f1061293e57803560ff191683800117855561296c565b8280016001018555821561296c579182015b8281111561296b578235825591602001919060010190612950565b5b5090506129799190612a03565b5090565b8280546129899061322a565b90600052602060002090601f0160209004810192826129ab57600085556129f2565b82601f106129c457805160ff19168380011785556129f2565b828001600101855582156129f2579182015b828111156129f15782518255916020019190600101906129d6565b5b5090506129ff9190612a03565b5090565b5b80821115612a1c576000816000905550600101612a04565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a6981612a34565b8114612a7457600080fd5b50565b600081359050612a8681612a60565b92915050565b600060208284031215612aa257612aa1612a2a565b5b6000612ab084828501612a77565b91505092915050565b60008115159050919050565b612ace81612ab9565b82525050565b6000602082019050612ae96000830184612ac5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b29578082015181840152602081019050612b0e565b83811115612b38576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b5a82612aef565b612b648185612afa565b9350612b74818560208601612b0b565b612b7d81612b3e565b840191505092915050565b60006020820190508181036000830152612ba28184612b4f565b905092915050565b6000819050919050565b612bbd81612baa565b8114612bc857600080fd5b50565b600081359050612bda81612bb4565b92915050565b600060208284031215612bf657612bf5612a2a565b5b6000612c0484828501612bcb565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c3882612c0d565b9050919050565b612c4881612c2d565b82525050565b6000602082019050612c636000830184612c3f565b92915050565b612c7281612c2d565b8114612c7d57600080fd5b50565b600081359050612c8f81612c69565b92915050565b60008060408385031215612cac57612cab612a2a565b5b6000612cba85828601612c80565b9250506020612ccb85828601612bcb565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112612cfa57612cf9612cd5565b5b8235905067ffffffffffffffff811115612d1757612d16612cda565b5b602083019150836001820283011115612d3357612d32612cdf565b5b9250929050565b60008060208385031215612d5157612d50612a2a565b5b600083013567ffffffffffffffff811115612d6f57612d6e612a2f565b5b612d7b85828601612ce4565b92509250509250929050565b600080600060608486031215612da057612d9f612a2a565b5b6000612dae86828701612c80565b9350506020612dbf86828701612c80565b9250506040612dd086828701612bcb565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e1782612b3e565b810181811067ffffffffffffffff82111715612e3657612e35612ddf565b5b80604052505050565b6000612e49612a20565b9050612e558282612e0e565b919050565b600067ffffffffffffffff821115612e7557612e74612ddf565b5b612e7e82612b3e565b9050602081019050919050565b82818337600083830152505050565b6000612ead612ea884612e5a565b612e3f565b905082815260208101848484011115612ec957612ec8612dda565b5b612ed4848285612e8b565b509392505050565b600082601f830112612ef157612ef0612cd5565b5b8135612f01848260208601612e9a565b91505092915050565b600060208284031215612f2057612f1f612a2a565b5b600082013567ffffffffffffffff811115612f3e57612f3d612a2f565b5b612f4a84828501612edc565b91505092915050565b600060208284031215612f6957612f68612a2a565b5b6000612f7784828501612c80565b91505092915050565b612f8981612baa565b82525050565b6000602082019050612fa46000830184612f80565b92915050565b612fb381612ab9565b8114612fbe57600080fd5b50565b600081359050612fd081612faa565b92915050565b60008060408385031215612fed57612fec612a2a565b5b6000612ffb85828601612c80565b925050602061300c85828601612fc1565b9150509250929050565b600067ffffffffffffffff82111561303157613030612ddf565b5b61303a82612b3e565b9050602081019050919050565b600061305a61305584613016565b612e3f565b90508281526020810184848401111561307657613075612dda565b5b613081848285612e8b565b509392505050565b600082601f83011261309e5761309d612cd5565b5b81356130ae848260208601613047565b91505092915050565b600080600080608085870312156130d1576130d0612a2a565b5b60006130df87828801612c80565b94505060206130f087828801612c80565b935050604061310187828801612bcb565b925050606085013567ffffffffffffffff81111561312257613121612a2f565b5b61312e87828801613089565b91505092959194509250565b6000806000806040858703121561315457613153612a2a565b5b600085013567ffffffffffffffff81111561317257613171612a2f565b5b61317e87828801612ce4565b9450945050602085013567ffffffffffffffff8111156131a1576131a0612a2f565b5b6131ad87828801612ce4565b925092505092959194509250565b600080604083850312156131d2576131d1612a2a565b5b60006131e085828601612c80565b92505060206131f185828601612c80565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061324257607f821691505b60208210811415613256576132556131fb565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006132b8602c83612afa565b91506132c38261325c565b604082019050919050565b600060208201905081810360008301526132e7816132ab565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061334a602183612afa565b9150613355826132ee565b604082019050919050565b600060208201905081810360008301526133798161333d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006133dc603883612afa565b91506133e782613380565b604082019050919050565b6000602082019050818103600083015261340b816133cf565b9050919050565b600081905092915050565b60006134298385613412565b9350613436838584612e8b565b82840190509392505050565b600061344f82848661341d565b91508190509392505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006134b7603183612afa565b91506134c28261345b565b604082019050919050565b600060208201905081810360008301526134e6816134aa565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613549602983612afa565b9150613554826134ed565b604082019050919050565b600060208201905081810360008301526135788161353c565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006135db602a83612afa565b91506135e68261357f565b604082019050919050565b6000602082019050818103600083015261360a816135ce565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b600061366d603183612afa565b915061367882613611565b604082019050919050565b6000602082019050818103600083015261369c81613660565b9050919050565b60006136ae82612aef565b6136b88185613412565b93506136c8818560208601612b0b565b80840191505092915050565b60006136e082856136a3565b91506136ec82846136a3565b91508190509392505050565b7f4e6f7420656e6f756768204d6174696320706169640000000000000000000000600082015250565b600061372e601583612afa565b9150613739826136f8565b602082019050919050565b6000602082019050818103600083015261375d81613721565b9050919050565b7f2e00000000000000000000000000000000000000000000000000000000000000600082015250565b600061379a600183613412565b91506137a582613764565b600182019050919050565b60008190508160005260206000209050919050565b600081546137d28161322a565b6137dc8186613412565b945060018216600081146137f757600181146138085761383b565b60ff1983168652818601935061383b565b613811856137b0565b60005b8381101561383357815481890152600182019150602081019050613814565b838801955050505b50505092915050565b600061385182858761341d565b915061385c8261378d565b915061386882846137c5565b9150819050949350505050565b600061388182866137c5565b915061388d82856136a3565b915061389982846137c5565b9150819050949350505050565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b60006138dc600a83613412565b91506138e7826138a6565b600a82019050919050565b7f222c20226465736372697074696f6e223a20224120646f6d61696e206f6e207460008201527f686520766f6c747a20646f6d61696e73222c2022696d616765223a202264617460208201527f613a696d6167652f7376672b786d6c3b6261736536342c000000000000000000604082015250565b6000613974605783613412565b915061397f826138f2565b605782019050919050565b7f222c226c656e677468223a220000000000000000000000000000000000000000600082015250565b60006139c0600c83613412565b91506139cb8261398a565b600c82019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000613a0c600283613412565b9150613a17826139d6565b600282019050919050565b6000613a2d826138cf565b9150613a3982866136a3565b9150613a4482613967565b9150613a5082856136a3565b9150613a5b826139b3565b9150613a6782846136a3565b9150613a72826139ff565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000613ab5601d83613412565b9150613ac082613a7f565b601d82019050919050565b6000613ad682613aa8565b9150613ae282846136a3565b915081905092915050565b60006040820190508181036000830152613b078185612b4f565b90508181036020830152613b1b8184612b4f565b90509392505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613b80602c83612afa565b9150613b8b82613b24565b604082019050919050565b60006020820190508181036000830152613baf81613b73565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613c12602583612afa565b9150613c1d82613bb6565b604082019050919050565b60006020820190508181036000830152613c4181613c05565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613ca4602483612afa565b9150613caf82613c48565b604082019050919050565b60006020820190508181036000830152613cd381613c97565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d1482612baa565b9150613d1f83612baa565b925082821015613d3257613d31613cda565b5b828203905092915050565b6000613d4882612baa565b9150613d5383612baa565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d8857613d87613cda565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613dc9601983612afa565b9150613dd482613d93565b602082019050919050565b60006020820190508181036000830152613df881613dbc565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613e5b603283612afa565b9150613e6682613dff565b604082019050919050565b60006020820190508181036000830152613e8a81613e4e565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613eed602f83612afa565b9150613ef882613e91565b604082019050919050565b60006020820190508181036000830152613f1c81613ee0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613f5d82612baa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f9057613f8f613cda565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613fd582612baa565b9150613fe083612baa565b925082613ff057613fef613f9b565b5b828204905092915050565b600061400682612baa565b915061401183612baa565b92508261402157614020613f9b565b5b828206905092915050565b600060408201905081810360008301526140468185612b4f565b90506140556020830184612c3f565b9392505050565b600060808201905081810360008301526140768187612b4f565b9050818103602083015261408a8186612b4f565b9050818103604083015261409e8185612b4f565b90506140ad6060830184612f80565b95945050505050565b60006140c182612baa565b91506140cc83612baa565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561410557614104613cda565b5b828202905092915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b600061416c602e83612afa565b915061417782614110565b604082019050919050565b6000602082019050818103600083015261419b8161415f565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006141c9826141a2565b6141d381856141ad565b93506141e3818560208601612b0b565b6141ec81612b3e565b840191505092915050565b600060808201905061420c6000830187612c3f565b6142196020830186612c3f565b6142266040830185612f80565b818103606083015261423881846141be565b905095945050505050565b60008151905061425281612a60565b92915050565b60006020828403121561426e5761426d612a2a565b5b600061427c84828501614243565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006142bb602083612afa565b91506142c682614285565b602082019050919050565b600060208201905081810360008301526142ea816142ae565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614327601c83612afa565b9150614332826142f1565b602082019050919050565b600060208201905081810360008301526143568161431a565b905091905056fe0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d5265676973746572696e672025732e2573206f6e2074686520636f6e7472616374207769746820746f6b656e49442025642d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0a4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122027c3fe4b4d0a1d59302a5fd0d0fb9972730a66117fcbacd068beccc760d7cbe564736f6c634300080a0033", 489 | "linkReferences": {}, 490 | "deployedLinkReferences": {} 491 | } 492 | --------------------------------------------------------------------------------