1.1.5 • Published 6 days ago

@teamteanpm2024/beatae-ratione-expedita v1.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
6 days ago

Safe Deployments

npm version CI

This contract contains a collection of deployments of the contract of the Safe contracts repository.

For each deployment the address on the different networks and the abi files are available. To get an overview of the available versions check the available json assets.

To add additional deployments please follow the deployment steps in the Safe contract repository.

Install

  • npm - npm i @teamteanpm2024/beatae-ratione-expedita
  • yarn - yarn add @teamteanpm2024/beatae-ratione-expedita

Usage

It is possible to directly use the json files in the assets folder that contain the addresses and abi definitions.

An alternative is to use the JavaScript library methods to query the correct deployment. The library supports different methods to get the deployment of a specific contract.

Each of the method takes an optional DeploymentFilter as a parameter.

interface DeploymentFilter {
    version?: string,
    released?: boolean, // Defaults to true if no filter is specified
    network?: string // Chain id of the network
}

The method will return a SingletonDeployment object or undefined if no deployment was found for the specified filter.

interface SingletonDeployment {
    defaultAddress: string, // Address the contract was deployed to by the Safe team
    version: string,
    abi: any[],
    networkAddresses: Record<string, string>, // Address of the contract by network
    contractName: string,
    released: boolean // A released version was audited and has a running bug bounty
}
  • Safe
const safeSingleton = getSafeSingletonDeployment()

// Returns latest contract version, even if not finally released yet
const safeSingletonNightly = getSafeSingletonDeployment({ released: undefined })

// Returns released contract version for specific network
const safeSingletonGörli = getSafeSingletonDeployment({ network: "5" })

// Returns released contract version for specific version
const safeSingleton100 = getSafeSingletonDeployment({ version: "1.0.0" })

// Version with additional events used on L2 networks
const safeL2Singleton = getSafeL2SingletonDeployment()
  • Factories
const proxyFactory = getProxyFactoryDeployment()
  • Libraries
const multiSendLib = getMultiSendDeployment()

const multiSendCallOnlyLib = getMultiSendCallOnlyDeployment()

const createCallLib = getCreateCallDeployment()
  • Handler
// Returns recommended handler
const fallbackHandler = getFallbackHandlerDeployment()

const callbackHandler = getDefaultCallbackHandlerDeployment()

const compatHandler = getCompatibilityFallbackHandlerDeployment()

Release cycle

safe-deployments release cycle is once per month, except urgent issues that require immediate attention.

Notes

A list of network information can be found at chainid.network

License

This library is released under MIT.

apitestqscolourponyfilllengthemojiregular expressiones-shim APIfetchtakeregexlibphonenumberbeanstalkpushsetPrototypeOfsigintjoispeedasyncArrayBuffer#slicebddrmdiroptiondeterministicawaitnopeansivaluestslibstoragegatewayhasOwnscheme-validationenumerablespecassertArray.prototype.filterInt32ArrayupString.prototype.matchAllendpointbluebirdcollectionanimationStyleSheetstyled-componentsextendjson-schemawarningtrimEndutilitiesmake dirbcryptmimerm -rfpicomatchregularnativeInt16ArrayrateparsingloadbalancingdirstringifynumberkarmalesscssformsasciiECMAScript 2023ES8fullwidthargumentchannelconsumereal-timevarlockfiletypedArray.prototype.flattenconfigurablequeueMicrotaskgetOwnPropertyDescriptorrapidebschromeFunction.prototype.nameviewhelperssymlinksharedpnpm9linuxeslintpluginconcatCSSsyntaxlazyRxJSflatMapjsdifflimitedtimemetadatamkdirStreamssettingstrimStartcensorexit-codesymlinkswaitbindObservabletypaniondefinePropertydataclonetypescriptprogresscryptomomentformatdebuggerECMAScript 2015posearraybuffervariables in cssIteratorconcatMapdataviewcoercibleconfiggetReactiveXzodparentuninstallRegExp.prototype.flagsweaksetcomputed-typesterminalstructuredClonejsonpathdeep-clonextermstringshellbatchTypeScriptextragroupBykoreancallbacktranspileiterationcharacterprettyjsoncloudwatchreact-hooksautoprefixeriteratorfindupairbnbES2022dayjsunicodeinterruptsparserdeeprobustramdaurlcloudtrailimmerrm -fraval10ndependenciesdatepatcheslintconfigjasminelanguagecorsnegativeECMAScript 20170stringifieridlewgetlook-uplessUnderscoreprototypepreprocessorbabelvariables6to5importexportframerthroatsortedspinnersopenvalidationtoobjectRxarraysstylesheetdebugkeysstylesnested csscommandfileWeakMappromisesworkspace:*io-tsreduxelectronirqinternalconcurrencypurefast-cloneArrayBuffer.prototype.sliceObject.isroute53javascripteslint-pluginsetconstpackage manageres-shimsPushhookformhttpdatastructurebusyECMAScript 3WebSocketObject.keysSetdependency managerrgbisConcatSpreadable-0mergeObject.getPrototypeOfes2017functionswafeslintswf__proto__commander[[Prototype]]wordwrap_.extendcolumnsquerystringcliefficientMapflaginternal slotshamflattenfunctionalTypedArraymulti-packagebyteawesomesauceyamlObject.entriespackagesnodejsstreamsES2021connectBigInt64Arraymkdirsstarterpipesaferequestrangeerrornpmstatusbufferi18ntoSortedserializedragdescriptionstatelessautoscalingchaiextensionlintwatchFileexitjsonschemaparentsassertiononcewrapequalitycallbinda11ypropertiesRegExp#flagseventEmitterweakmappostcss-plugintelephoneless compilerfindLastIndexpackagespinner256directorycloudsearchECMAScript 2022watchergetintrinsicmodulescss nestinglogrmastform-validationgenericsECMAScript 2016trimRighttoArraytestingformattingloadingthrottlehasremoveObject.valueswritecolumnguidES2023Reflect.getPrototypeOfclassnameObject.assigncss-in-jsfast-deep-copyECMAScript 6environmenttypeerrorfpsFloat64Arraytraverseless cssredux-toolkitcss variableelasticacheURLdescriptorssearchbalancedmapmobiletacitexpressionUint8ClampedArrayoptimizerclass-validatorreadinvariantES2020serializationreactutilityserializerESnextES2015es2018shimcallboundgetPrototypeOffromcheckstablepyyamlfindLastjapanesetostringtagpostcsscall-bindcore-jsdataViewlinewrapArray.prototype.containsSymbol.toStringTagArray.prototype.flatentriesslotnamesspringArray.prototype.findLastIndextrimLeftcommand-linegestureshashjsxmapreduceeast-asian-widthECMAScript 7util.inspectBigUint64ArrayescapeURLSearchParamstypeofAsyncIteratorECMAScript 2019bootstrap csstermcreatesomeindicatorcloudformationutilspositivelookReactiveExtensionsfind-upgroupSymbolimmutableutilcurlObservablessymbolsES2017requirePromisemonoreposuperstructgradients css3codesarktypeiedescriptorgetoptmkdirpfile systemmimetypesvpctscompilerdomuser-streamstypeschromiumlimitsameValueZerocoreelbstylingsignalString.prototype.trimtesterES5glaciernamesetImmediatecall-boundWeakSettapeoptimistprivate datainstallbreakwordbreakinputincludesxhrreact-testing-libraryargsstyleguidewidthkeyesvalidatorrandomtddforEachprotodefineeventDispatcherfseventshigher-orderreact-hook-formshebangaccessibilityagentObject.fromEntriesquoteUint32ArrayaccessorES7json-schema-validationmiddlewarenodefunctionstreamexecObjectratelimitvisuallistenersreducerclasseslruwebworkflow
1.1.5

6 days ago

1.1.4

7 days ago

1.1.3

8 days ago

1.1.2

9 days ago

1.0.2

10 days ago

1.0.1

11 days ago

1.0.0

12 days ago