译者:Evelyn|W3
functioncreateApp()externalreturns(uint256);functionaddVersion(uint256appId,stringmemoryversionId,stringmemoryfileUrl)external;functiongetAppIds()externalreturns(uint256memory);functiongetVersions(uint256appId)externalreturns(stringmemory);functiongetVersionFileUrl(uint256appId,stringmemoryversionId)externalviewreturns(stringmemory);functionvoteApp(uint256appId,uint8level)external;functionvoteAppVersion(uint256appId,stringmemoryversionId,uint8level)external;functiongetVotes(uint256appId,stringmemoryversionId)externalreturns(auditorVotememory);}Web3AppConfigrationStandard
{"properties":{"name":{"title":"NameoftheApp","type":"string"},"logoUrl":{"title":"LogooftheApp","type":"string"},"description":{"title":"DescriptionoftheApp","type":"string"},"origin":{"title":"Onlinedapporigin","type":"string","pattern":"^((https|http)?:\\\\/\\\\/)+"},"permissions":{"properties":{"web3Provider":{"requestAccount":{"title":"IfAppneedpermissiontoconnectwithwallet","type":"boolean"},"personalSign":{"properties":{"request":{"type":"boolean","title":"IfAppneedpermissiontorequestsigntextmessage"},"patterns":{"type":"array","title":"Patternsoftextmessage"}},"title":"Declarationforsigntextmessage","type":"object"},"transaction":{"properties":{"request":{"type":"boolean","title":"IfAppneedpermissiontorequesttransaction"},"contractCalls":{"type":"array","title":"Declarationforcontrattransaction"},"tokenApproves":{"type":"array","title":"Declarationfortokenapproval"},"ERC20TokenTransfer":{"type":"array","title":"DeclarationforERC20tokentransfertransaction"}},"type":"object","title":"Declarationfortransaction"},"network":{"urlPatterns":{"type":"array","title":"PatternsofwhitelistnetworkrequestURL"},"title":"DeclarationforAPPnetworkrequest","type":"object"},"title":"DeclarationforWeb3Providerpermissions","type":"object"}},"title":"DeclarationforApppermissions","type":"object"},"app":{"properties":{"id":{"title":"AppIdallocatedbyAppStore","type":"string"},"chainId":{"title":"ThechainIdwhichAppStoredeployed","type":"string"},"contract":{"title":"ThecontractaddressofAppStore","type":"string"}},"type":"object","title":"AppinformationonAppStore"},"source":{"properties":{"repository":{"type":"string","title":"TheURLthatcanaccessAppsourcecode","pattern":"^(https:\\\\/\\\\/|git@)+"},"buildScript":{"type":"string","title":"Thescriptthatcancompliesourcecodetobundles"},"systemEnvironment":{"type":"string","title":"ThesystemenvironmentthatcanmakesureauditorcanbuildbundlewhichhasthesameSHA256"}},"type":"object","title":"Informationofsourcecodeforauditoruse"}},"title":"Web3Appjsonconfigfile","type":"object"}Web3AppStoreClientStandardinterfaceApp{app:{id:stringchainId:stringcontract:string}permissions:{network:{urlPatterns:string},web3Provider:{requestAccount:booleanpersonalSign:{request:booleanpatterns:string},transaction:{request:booleancontractCalls:ContractCallItemtokenApproves:TokenApproveItemERC20TokenTransfer:ERC20TokenTransferItem}}}source:{repository:stringbuildScript:stringsystemEnvironment:string}appId:numberdomain:stringversionId:stringfiles:stringname:stringdescription?:stringlogoUrl:string}enumVoteLevel{DANGER=-1UNKNOW=0SAFE=1}classWeb3AppStore{chainId:string;//ThechainIdwhichAppStoredeployedcontract:string;//ThecontractaddressofAppStoregetApps():Promise<App>getApp(appId:number,version?:string):Promise<App>getAppVersions(appId:number):Promise<App>createApp():Promise<number>addVersion(appId:number,fileUrls:string):Promise<void>voteApp(appId:number,level:VoteLevel):Promise<void>voteAppVersion(appId:number,versionId:string,level:VoteLevel):Promise<void>//ValidatetheSHA256ofAppfileissameasversionIdofnotvalidateAppVersion(app:App):Promise<Boolean>//Validateifthedomainwhichdeclaredindomainpropertyhasthesameweb3
BRC-20代币总市值达2.84亿美元:金色财经报道,数据显示,比特币铭文代币Ordi现报9.53美元,24小时涨幅37.88%,当前总市值已突破2亿美元。此外,BRC-20相关代币目前约为13530种,总市值为284,641,152美元,过去24小时的交易量为7772461美元。
据悉,BRC-20协议是直接写到比特币网络上,以聪为载体,用OrdinalInscriptions的JSON数据部署、铸造和转移代币。Ordi是第一个比特币铭文代币,总供应量为2100万枚。[2023/5/7 14:47:46]
ReleasesNoreleasespublishedPackagesNopackagespublished
Web3软件开发公司Thirdweb集成可租赁NFT标准ERC-4907:金色财经消息,Web3软件开发公司Thirdweb现已集成可租赁NFT标准“ERC-4907”,开发者无需编写任何代码即可快速部署可租赁NFT。
“ERC-4907”由Double Protocol推出,并于6月29日正式成为以太坊第30个标准。该标准实现了NFT所有权和使用权的分离,以及使用权到期自动收回功能。[2022/8/18 12:34:19]
Bitcoin.com已集成若干以太坊生态主流ERC-20 Token,将支持存储和兑换服务:8月11日消息,加密货币钱包Bitcoin.com宣布已完成对超过100个以太坊生态系统ERC-Token的集成,并将支持这些Token的存储和兑换服务,包括一系列主流DeFiToken,如Alchemix(ALCX)、dYdX(DYDX)、Lido Finance(LDO)、Convex Finance(CVX)、以及Polygon Network(MATIC)、Basic Attention Token(BAT)、Ocean Protocol(OCEAN)和The Graph(GRT)等。此外,Bitcoin.com还宣布整合多个NFT和元宇宙Token,提供包括Decentraland(MANA)、ApeCoin(APE)等Token的存储和交换服务。(u.today)[2022/8/11 12:16:47]
OpenSea推出批量上线ERC-1155 NFT新功能:金色财经报道,NFT市场OpenSea官方宣布推出批量上线ERC-1155 NFT新功能,并对旧功能的更新列表和确认视觉效果做了优化。[2021/12/8 12:58:44]
10名交易员将对Coincheck提起两轮诉讼:据路透社东京消息,10名数字货币交易员将于周四在东京地区法院对Coincheck提起诉讼。该诉讼代理律师表示:他们将指控Coincheck在盗币事件发生后冻结了所有数字货币的提取,并将要求Coincheck允许他们将数字货币提取到钱包。此外,诉讼组织可能还会在本月底发起第二次诉讼,要求Coincheck对遭到损失的投资者进行赔偿。Coincheck至今仍未开放除日元外的数字货币提取,也未公布此前承诺进行补偿的具体时间。[2018/2/13]
郑重声明: 本文版权归原作者所有, 转载文章仅为传播更多信息之目的, 如作者信息标记有误, 请第一时间联系我们修改或删除, 多谢。