Skip to content

Commit

Permalink
Push 1.4.2-alpha.0 to develop (#1270)
Browse files Browse the repository at this point in the history
* Fix/package build (#1124)

* chore(npm): sdk to workspace to stop link:
* chore(npm): contracts in workspace, no link:
* chore(bump): 0.8.7
* chore(bump): contracts 0.8.7 into sdk 0.8.8
* fix(ci): linting errors from updated ws
* fix(doc): optimism chainId to 10 from 100
* chore(build): remove type module from package.json
* chore(contracts): package sol files
* chore(pack): add sol files to contracts package
* chore(bump): contract 0.8.9
* chore(pack): exports setup
* chore(pack): contracts dir in package
* chore(pack): cleanup build scripts
* chore(bump): contracts 0.8.10
* chore(pack): add all contracts for inheritence
* chore(bump): contracts 0.8.11
* chore(bump): sdk 0.8.10 with updated contracts package
* chore(bump): updated packages in frontend
* chore(gha): run action on pr and push to develop

* Feat/deploy to celo (#1135)

* Add HC contracts to OpenZeppelin Defender (#1134)

* Fix/package build (#1124)

* chore(npm): sdk to workspace to stop link:
* chore(npm): contracts in workspace, no link:
* chore(bump): 0.8.7
* chore(bump): contracts 0.8.7 into sdk 0.8.8
* fix(ci): linting errors from updated ws
* fix(doc): optimism chainId to 10 from 100
* chore(build): remove type module from package.json
* chore(contracts): package sol files
* chore(pack): add sol files to contracts package
* chore(bump): contract 0.8.9
* chore(pack): exports setup
* chore(pack): contracts dir in package
* chore(pack): cleanup build scripts
* chore(bump): contracts 0.8.10
* chore(pack): add all contracts for inheritence
* chore(bump): contracts 0.8.11
* chore(bump): sdk 0.8.10 with updated contracts package
* chore(bump): updated packages in frontend
* chore(gha): run action on pr and push to develop

* feat(defender): use hc packages in oz defender

* feat(celo): graph deploy, sdk and defender config

* chore(bump): SDK 0.8.14 Celo deployment

* feat(celo): add celo support to frontend

* chore(graph): fix turbo test flow

* chore(graph): add comment to p.json

* fix(gha): use pnpm cache in graph gha (#1138)

* chore: add wrapper components for split and merge functionality

* Fix/handle batch transfers graph (#1149)

* feat(batch): add batch transfers to grap

* SDK remove default chainID dependency (#1146)

* Feat/batch burn (#1051)

* feat(batch_burn): add batch burn function

* fix(docs): update SemiFungible1155 docs

* chore(lint): cleanup lint ignores

* chore(lint): defender lint errors

* chore(deploy): reduce optimizer run for kb limit

* chore(script): update upgrade script

* feat(gha): split graph deploy develop-main

* chore(lint): line length rule to warn from err

* chore(gha): run CI on PR to develop

* chore(gha): run e2e,ci on pr,push to develop

* feat(graph): update graph for burn methods

* chore(turbo): split graph deploys (#1055)

* Fix/workspace label (#1060)

chore(yarn): update workspace label

* 1052 subgraph a claimed token should indicate whether it was claimed from an allowlist (#1058)

* fix(graph): link claim with allowlist

* chore(tweak): yada

* fix(graph): update mapping to claim (#1061)

* nitial trader implementation (#1063)

* feat(iface): draft of trader interface

* feat(trader): simple offer, buy, cancel flow

* feat(db): update allowlist query (#1057)

* feat(test): tweaks and initial tests for Trader

* chore(gha): remove hardcoded foundry nightly

* feat(test): add initial test for trader sales

* feat(test): sales tests

* feat(deploy): deployed to goerli

* chore(ci): updated hh scripts for trader contract

* feat(pause): pausable controls and tests

* feat(trader): init trader graph

* feat(tokens): surface accepted tokens (#1065)

* feat(tokens): surface accepted tokens

* fix(tokens): acceptedTokens test and fix

* Feat/accepted tokens (#1066)

* feat(tokens): surface accepted tokens

* fix(tokens): acceptedTokens test and fix

* chore(address): update trader address graph

* fix(import): add bigint to import

* Feat/accepted tokens (#1067)

* feat(tokens): surface accepted tokens

* fix(tokens): acceptedTokens test and fix

* chore(address): update trader address graph

* fix(import): add bigint to import

* fix(log): add logging to trader mapping

* [Prod]:Deployed to Celo, updated Defender, version bumps for everyone (#1137)

* Fix/package build (#1124)

* chore(npm): sdk to workspace to stop link:
* chore(npm): contracts in workspace, no link:
* chore(bump): 0.8.7
* chore(bump): contracts 0.8.7 into sdk 0.8.8
* fix(ci): linting errors from updated ws
* fix(doc): optimism chainId to 10 from 100
* chore(build): remove type module from package.json
* chore(contracts): package sol files
* chore(pack): add sol files to contracts package
* chore(bump): contract 0.8.9
* chore(pack): exports setup
* chore(pack): contracts dir in package
* chore(pack): cleanup build scripts
* chore(bump): contracts 0.8.10
* chore(pack): add all contracts for inheritence
* chore(bump): contracts 0.8.11
* chore(bump): sdk 0.8.10 with updated contracts package
* chore(bump): updated packages in frontend
* chore(gha): run action on pr and push to develop

* Feat/deploy to celo (#1135)

* Add HC contracts to OpenZeppelin Defender (#1134)

* Fix/package build (#1124)

* chore(npm): sdk to workspace to stop link:
* chore(npm): contracts in workspace, no link:
* chore(bump): 0.8.7
* chore(bump): contracts 0.8.7 into sdk 0.8.8
* fix(ci): linting errors from updated ws
* fix(doc): optimism chainId to 10 from 100
* chore(build): remove type module from package.json
* chore(contracts): package sol files
* chore(pack): add sol files to contracts package
* chore(bump): contract 0.8.9
* chore(pack): exports setup
* chore(pack): contracts dir in package
* chore(pack): cleanup build scripts
* chore(bump): contracts 0.8.10
* chore(pack): add all contracts for inheritence
* chore(bump): contracts 0.8.11
* chore(bump): sdk 0.8.10 with updated contracts package
* chore(bump): updated packages in frontend
* chore(gha): run action on pr and push to develop

* feat(defender): use hc packages in oz defender

* feat(celo): graph deploy, sdk and defender config

* chore(bump): SDK 0.8.14 Celo deployment

* feat(celo): add celo support to frontend

* chore(graph): fix turbo test flow

* chore(graph): add comment to p.json

* fix(gha): use pnpm cache in graph gha (#1138)

* chore(prep): protocol contracts to protocol dir

* chore(prep): tests to protocol dir and remappings

* chore(license): MIT license

* Feat/init marketplace (#1139)

* chore(prep): protocol contracts to protocol dir

* chore(prep): tests to protocol dir and remappings

* chore(license): MIT license

* feat(marketplace): inject, build, refactor, test

* chore(gha): run gha on push and develop-branches

* fix(build): build and lint errors

* chore(pnpm): refresh lock file

* chore(build): reduce turbo concurrency

* fix(build): whac a mole

* chore(build): restore prettier in solhint

* chore(build): env.template vars

* chore(dist): clean and remap output contracts

* chore(clean): last tests

* fix(build): ignore cors-proxy type errors

* chore(gha): add rpc env vars for fork testing

---------

Co-authored-by: jipstavenuiter <jipstavenuiter@gmail.com>

* chore(lint): cleanup config and affiliate flows (#1140)

* chore(license): dual licensing contracts + repo (#1141)

* feat(config): updated sdk init config

* feat(tests): fix all tests to use updated init

* feat(test): uncommented all SDK tests

* fix(log): remove result logging

* [Test] Release marketplace contracts on testnet and add to contracts package (#1150)

* feat(deploy): deploy to testnets

* chore(build): hardhat build

* feat(pack): release, test, bump updated contracts

* chore(gha): updated env vars

* chore(pnpm): updated lock file

* fix(build): build error, replaced util with viem

* fix(pnpm): root dir ethers resolution

* chore(pnpm): updated lockfile

* fix(pnpm): overrides

* chore(build): resolving build issues sdk

* chore(refactor): dep resolution bug - del eth v5

* fix(test): mock ipfs in minting, remove timeout

* chore(build): fresh build

* chore(clean): remove contracts/contracts dir

* fix(gha): non-next env var in gha for sdk

* chore(run): kick

* fix(jest): forceExit hanging async call

* chore(build): fresh run for sanity

* fix(lint): ignore **/abi instead of **/src/abi

* feat(fe): integrate in FE and SDK 0.9.1

* chore(bump): sdk 0.9.1-viem

* feat(fe): update FE to use SDK 0.9.1

* chore(cleanup): code cleanup SDK

* chore(bump): sdk version bump

* chore(fe): update SDK dep version

* fix(sdk): chainId config

* chore(parse): fix parse calc

* fix parse allowlist csv tests

* fix injected chain id in config

* update component config.tsx

* chore(bump): updated sdk alpha

* chore(run): sanity check passed

* chore(build): graphSDK

* feat(fe): plasmic rendering issues.

* feat(sdk): web3 token

* chore(defender): removed api_key sep network conf

* chore(defender): remove verbose log batch action

* chore(gha): deduplicate runs - now on all push

* chore(lint): lint fe lib

* chore(gha): cleaned up env vars

---------

Co-authored-by: jipstavenuiter <jipstavenuiter@gmail.com>

* Fix/gha graph (#1165)

* feat(event): add event to merge

* chore(deploy): deployed to goerli and sepolia

* Feat/allowlist proof util (#1168)

* feat(util): allowlist utils and updated docs

* feat(test): updated test and docs

* chore(bump): alpha-7

* feat(merkle): test merkleProof fetcher

* chore(bump): 1.0.0-alpha.8

* fix(import): allowlist default export

* chore(run): local validation run

* Add hypercerts to marketplace functionality (#1170)

* Feat/batch burn (#1051)

* feat(batch_burn): add batch burn function

* fix(docs): update SemiFungible1155 docs

* chore(lint): cleanup lint ignores

* chore(lint): defender lint errors

* chore(deploy): reduce optimizer run for kb limit

* chore(script): update upgrade script

* feat(gha): split graph deploy develop-main

* chore(lint): line length rule to warn from err

* chore(gha): run CI on PR to develop

* chore(gha): run e2e,ci on pr,push to develop

* feat(graph): update graph for burn methods

* chore(turbo): split graph deploys (#1055)

* Fix/workspace label (#1060)

chore(yarn): update workspace label

* 1052 subgraph a claimed token should indicate whether it was claimed from an allowlist (#1058)

* fix(graph): link claim with allowlist

* chore(tweak): yada

* fix(graph): update mapping to claim (#1061)

* nitial trader implementation (#1063)

* feat(iface): draft of trader interface

* feat(trader): simple offer, buy, cancel flow

* feat(db): update allowlist query (#1057)

* feat(test): tweaks and initial tests for Trader

* chore(gha): remove hardcoded foundry nightly

* feat(test): add initial test for trader sales

* feat(test): sales tests

* feat(deploy): deployed to goerli

* chore(ci): updated hh scripts for trader contract

* feat(pause): pausable controls and tests

* feat(trader): init trader graph

* feat(tokens): surface accepted tokens (#1065)

* feat(tokens): surface accepted tokens

* fix(tokens): acceptedTokens test and fix

* Feat/accepted tokens (#1066)

* feat(tokens): surface accepted tokens

* fix(tokens): acceptedTokens test and fix

* chore(address): update trader address graph

* fix(import): add bigint to import

* Feat/accepted tokens (#1067)

* feat(tokens): surface accepted tokens

* fix(tokens): acceptedTokens test and fix

* chore(address): update trader address graph

* fix(import): add bigint to import

* fix(log): add logging to trader mapping

* chore(prep): protocol contracts to protocol dir

* chore(prep): tests to protocol dir and remappings

* chore(license): MIT license

* Feat/init marketplace (#1139)

* chore(prep): protocol contracts to protocol dir

* chore(prep): tests to protocol dir and remappings

* chore(license): MIT license

* feat(marketplace): inject, build, refactor, test

* chore(gha): run gha on push and develop-branches

* fix(build): build and lint errors

* chore(pnpm): refresh lock file

* chore(build): reduce turbo concurrency

* fix(build): whac a mole

* chore(build): restore prettier in solhint

* chore(build): env.template vars

* chore(dist): clean and remap output contracts

* chore(clean): last tests

* fix(build): ignore cors-proxy type errors

* chore(gha): add rpc env vars for fork testing

---------

Co-authored-by: jipstavenuiter <jipstavenuiter@gmail.com>

* chore(lint): cleanup config and affiliate flows (#1140)

* chore(license): dual licensing contracts + repo (#1141)

* [Test] Release marketplace contracts on testnet and add to contracts package (#1150)

* feat(deploy): deploy to testnets

* chore(build): hardhat build

* feat(pack): release, test, bump updated contracts

* chore(gha): updated env vars

* chore(pnpm): updated lock file

* fix(build): build error, replaced util with viem

* fix(pnpm): root dir ethers resolution

* chore(pnpm): updated lockfile

* fix(pnpm): overrides

* chore(build): resolving build issues sdk

* chore(refactor): dep resolution bug - del eth v5

* fix(test): mock ipfs in minting, remove timeout

* Direct Hypercert fraction sale (#1142)

* feat(tranfer): transfer single hypercert fraction

* feat(transfer): batch transfers and across collections

* feat(transfer): reduce cyclomatic complexity

* feat(offers): hypercert offer signatures

* feat(transfer): standard txs tests hypercerts

* chore(gha): only run on every push

* fix(merge): merge artifacts

---------

Co-authored-by: jipstavenuiter <jipstavenuiter@gmail.com>

* feat(restriction): add transfer restriction to fe (#1173)

* feat(metadata): add application name (#1174)

* feat(deployments): typed deployment contracts

* fix(props): props from plas to form (#1176)

* format external url in case it is a direct ipfs link (#1182)

* fix(fix formatting of ipfs urls on hypercert page) (#1183)

* Feat/split and merge (#1185)

* Add split and merge functionality to plasmic and add component logic.

* Feat/hardhat deploy script (#1177)

* feat(init): first pass hh script marketplace

* feat(deploy): marketplace deploy and verify script

* chore(deploy): add feerecipient to deploy

* chore(scripts): remove scripts

* feat(pack): deployment data and fresh pack

* 1.0.0-alpha.0

* chore(npm): release 1.0.0-alpha.0 contracts

* chore(npm): update contracts and sdk releases

* fix(build): viem update fe

* fix(default): remove default_chain_id

* remove usage of NEXT_PUBLIC_DEFAULT_CHAIN_ID

* fix build error

---------

Co-authored-by: jipstavenuiter <jipstavenuiter@gmail.com>

* feat(merkle): account allowlist strategy (#1186)

* Added strategy and tests for hypercert functionality (#1188)

* feat(fractions): added strategy and tests

* feat(tests): update tests and tweak strat

* feat(test): fix all the test and clean comms

* fix(dist): moar contracts

* fix(tweak): little cleanups

* chore(lint): fix lint errors

* fix(lint): updated foundry lint

* Feat/partial fraction sale (#1190)

* feat(fractions): added strategy and tests

* feat(tests): update tests and tweak strat

* feat(test): fix all the test and clean comms

* fix(dist): moar contracts

* fix(tweak): little cleanups

* chore(lint): fix lint errors

* fix(lint): updated foundry lint

* feat(test): uncomment unused tests

* Feat/sdk common js (#1191)

* feat(fractions): added strategy and tests

* feat(tests): update tests and tweak strat

* feat(test): fix all the test and clean comms

* fix(dist): moar contracts

* fix(tweak): little cleanups

* chore(lint): fix lint errors

* fix(lint): updated foundry lint

* feat(test): uncomment unused tests

* feat(bugs): cjs build and import alpha.13

* fix(only): unexpected only in sdk test

* feat(abis): updated SDK abis and restored tests (#1193)

* feat(abis): updated SDK abis and restored tests

* chore(bump): viem in fe

* fix(test): add currency admin to test (#1197)

* fix build error - set output:export in next config (#1199)

* fix build error

* lock nextjs version to 13.x.x

* add placeholder for transfer fraction button (#1201)

* add placeholder for transfer fraction button

* remove unnecessary logic from transfer-fraction-button.tsx

* change next build back to next export (#1202)

remove unnecessary logic from transfer-fraction-button.tsx

* Feature/transfer fraction button (#1203)

* add transfer fraction button inside split fraction button

* add confirmation dialog when transferring fraction

* use override chain id in hypercert fetcher within plasmic

* add reading of transfer restrictions to transfer fraction button

* add override chain id functionality for plasmic editing (#1204)

* Bugfix/add override chain id for plasmit editing (#1205)

* add override chain id functionality for plasmic editing

* add override chain id to effect dependencies

* remove transfer fraction button from split fraction button (#1206)

* Bugfix/only show transfer button for fraction owned (#1207)

* only show transfer button for fractions owned

* only show transfer button for fractions owned

* Feat/more robust split transfer logic with hc strategy (#1208)

* feat(hc): split NFT HC flow

* feat(hc): hypercert order routing and validation

* fix(e2e): disable faulty E2E tests

* Feat/docs tests cleanup (#1210)

* feat(checks): checkValidityHC, error code, 0.8.17

* feat(validator): overvalidator HC tests

* fix(clean): remove hyperboard references

* fix(lint): pragma protocol tests

* fix(pragma): restore FeeManagerRoy.. pragma

* feat(docs): updated version

* feat(build): docs 1.0.0-alpha

* Feat/docs tests cleanup (#1211)

* feat(checks): checkValidityHC, error code, 0.8.17

* feat(validator): overvalidator HC tests

* fix(clean): remove hyperboard references

* fix(lint): pragma protocol tests

* fix(pragma): restore FeeManagerRoy.. pragma

* feat(docs): updated version

* feat(build): docs 1.0.0-alpha

* chore(docs): natspec tweaks

* Feat/docs tests cleanup (#1212)

* feat(checks): checkValidityHC, error code, 0.8.17

* feat(validator): overvalidator HC tests

* fix(clean): remove hyperboard references

* fix(lint): pragma protocol tests

* fix(pragma): restore FeeManagerRoy.. pragma

* feat(docs): updated version

* feat(build): docs 1.0.0-alpha

* chore(docs): natspec tweaks

* feat(docs): docs sidebar

* Develop (#1213)

* Feat/sdk common js (#1191)

* feat(fractions): added strategy and tests

* feat(tests): update tests and tweak strat

* feat(test): fix all the test and clean comms

* fix(dist): moar contracts

* fix(tweak): little cleanups

* chore(lint): fix lint errors

* fix(lint): updated foundry lint

* feat(test): uncomment unused tests

* feat(bugs): cjs build and import alpha.13

* fix(only): unexpected only in sdk test

* feat(abis): updated SDK abis and restored tests (#1193)

* feat(abis): updated SDK abis and restored tests

* chore(bump): viem in fe

* fix(test): add currency admin to test (#1197)

* fix build error - set output:export in next config (#1199)

* fix build error

* lock nextjs version to 13.x.x

* add placeholder for transfer fraction button (#1201)

* add placeholder for transfer fraction button

* remove unnecessary logic from transfer-fraction-button.tsx

* change next build back to next export (#1202)

remove unnecessary logic from transfer-fraction-button.tsx

* Feature/transfer fraction button (#1203)

* add transfer fraction button inside split fraction button

* add confirmation dialog when transferring fraction

* use override chain id in hypercert fetcher within plasmic

* add reading of transfer restrictions to transfer fraction button

* add override chain id functionality for plasmic editing (#1204)

* Bugfix/add override chain id for plasmit editing (#1205)

* add override chain id functionality for plasmic editing

* add override chain id to effect dependencies

* remove transfer fraction button from split fraction button (#1206)

* Bugfix/only show transfer button for fraction owned (#1207)

* only show transfer button for fractions owned

* only show transfer button for fractions owned

* Feat/more robust split transfer logic with hc strategy (#1208)

* feat(hc): split NFT HC flow

* feat(hc): hypercert order routing and validation

* fix(e2e): disable faulty E2E tests

* Feat/docs tests cleanup (#1210)

* feat(checks): checkValidityHC, error code, 0.8.17

* feat(validator): overvalidator HC tests

* fix(clean): remove hyperboard references

* fix(lint): pragma protocol tests

* fix(pragma): restore FeeManagerRoy.. pragma

* feat(docs): updated version

* feat(build): docs 1.0.0-alpha

* Feat/docs tests cleanup (#1211)

* feat(checks): checkValidityHC, error code, 0.8.17

* feat(validator): overvalidator HC tests

* fix(clean): remove hyperboard references

* fix(lint): pragma protocol tests

* fix(pragma): restore FeeManagerRoy.. pragma

* feat(docs): updated version

* feat(build): docs 1.0.0-alpha

* chore(docs): natspec tweaks

* Feat/docs tests cleanup (#1212)

* feat(checks): checkValidityHC, error code, 0.8.17

* feat(validator): overvalidator HC tests

* fix(clean): remove hyperboard references

* fix(lint): pragma protocol tests

* fix(pragma): restore FeeManagerRoy.. pragma

* feat(docs): updated version

* feat(build): docs 1.0.0-alpha

* chore(docs): natspec tweaks

* feat(docs): docs sidebar

---------

Co-authored-by: Jip Stavenuiter <jipstavenuiter@gmail.com>

* Feat/add batch transfer method to client methods (#1215)

* feat(transfer): add method to client and type

* feat(err): simulation and tx error handlers

* feat(err): error handling test

* chore(pack): dep cleanup and updates

* Chore/lets merge together (#1220)

* [Prod]:Deployed to Celo, updated Defender, version bumps for everyone (#1137)

* Fix/package build (#1124)

* chore(npm): sdk to workspace to stop link:
* chore(npm): contracts in workspace, no link:
* chore(bump): 0.8.7
* chore(bump): contracts 0.8.7 into sdk 0.8.8
* fix(ci): linting errors from updated ws
* fix(doc): optimism chainId to 10 from 100
* chore(build): remove type module from package.json
* chore(contracts): package sol files
* chore(pack): add sol files to contracts package
* chore(bump): contract 0.8.9
* chore(pack): exports setup
* chore(pack): contracts dir in package
* chore(pack): cleanup build scripts
* chore(bump): contracts 0.8.10
* chore(pack): add all contracts for inheritence
* chore(bump): contracts 0.8.11
* chore(bump): sdk 0.8.10 with updated contracts package
* chore(bump): updated packages in frontend
* chore(gha): run action on pr and push to develop

* Feat/deploy to celo (#1135)

* Add HC contracts to OpenZeppelin Defender (#1134)

* Fix/package build (#1124)

* chore(npm): sdk to workspace to stop link:
* chore(npm): contracts in workspace, no link:
* chore(bump): 0.8.7
* chore(bump): contracts 0.8.7 into sdk 0.8.8
* fix(ci): linting errors from updated ws
* fix(doc): optimism chainId to 10 from 100
* chore(build): remove type module from package.json
* chore(contracts): package sol files
* chore(pack): add sol files to contracts package
* chore(bump): contract 0.8.9
* chore(pack): exports setup
* chore(pack): contracts dir in package
* chore(pack): cleanup build scripts
* chore(bump): contracts 0.8.10
* chore(pack): add all contracts for inheritence
* chore(bump): contracts 0.8.11
* chore(bump): sdk 0.8.10 with updated contracts package
* chore(bump): updated packages in frontend
* chore(gha): run action on pr and push to develop

* feat(defender): use hc packages in oz defender

* feat(celo): graph deploy, sdk and defender config

* chore(bump): SDK 0.8.14 Celo deployment

* feat(celo): add celo support to frontend

* chore(graph): fix turbo test flow

* chore(graph): add comment to p.json

* fix(gha): use pnpm cache in graph gha (#1138)

* chore: add wrapper components for split and merge functionality (#1148)

* format external url in case it is a direct ipfs link (#1181)

* merge fixes

---------

Co-authored-by: bitbeckers <code@bitbeckers.com>

* feat(urql): refactored to urql and own codegen (#1223)

* feat(urql): refactored to urql and own codegen

* chore(graph): cleanup schema

* fix(build): graph build and test

* Feat/docs updates docusaurs v3 search release (#1226)

* chore(bump): docusaurs v3

* feat(docgen): docusaurus pulls SDK docs

* feat(version): version 1.0.0

* fix(p.json): updated package-lock

* fix(build): remove contract docs build from docs

* Feat/sdk npm docs release 1 (#1228)

* chore(bump): released contracts 1.0.0

* chore(bump): update graph testnet deploy

* chore(bump): sdk version 1.0.0

* chore(bump): update deps in fe

* chore(bump): sdk 1.0.3 in fe

* fix(lint): test type lint

* Feat/sdk npm docs release 1 (#1231)

* [Prod]:Deployed to Celo, updated Defender, version bumps for everyone (#1137)

* Fix/package build (#1124)

* chore(npm): sdk to workspace to stop link:
* chore(npm): contracts in workspace, no link:
* chore(bump): 0.8.7
* chore(bump): contracts 0.8.7 into sdk 0.8.8
* fix(ci): linting errors from updated ws
* fix(doc): optimism chainId to 10 from 100
* chore(build): remove type module from package.json
* chore(contracts): package sol files
* chore(pack): add sol files to contracts package
* chore(bump): contract 0.8.9
* chore(pack): exports setup
* chore(pack): contracts dir in package
* chore(pack): cleanup build scripts
* chore(bump): contracts 0.8.10
* chore(pack): add all contracts for inheritence
* chore(bump): contracts 0.8.11
* chore(bump): sdk 0.8.10 with updated contracts package
* chore(bump): updated packages in frontend
* chore(gha): run action on pr and push to develop

* Feat/deploy to celo (#1135)

* Add HC contracts to OpenZeppelin Defender (#1134)

* Fix/package build (#1124)

* chore(npm): sdk to workspace to stop link:
* chore(npm): contracts in workspace, no link:
* chore(bump): 0.8.7
* chore(bump): contracts 0.8.7 into sdk 0.8.8
* fix(ci): linting errors from updated ws
* fix(doc): optimism chainId to 10 from 100
* chore(build): remove type module from package.json
* chore(contracts): package sol files
* chore(pack): add sol files to contracts package
* chore(bump): contract 0.8.9
* chore(pack): exports setup
* chore(pack): contracts dir in package
* chore(pack): cleanup build scripts
* chore(bump): contracts 0.8.10
* chore(pack): add all contracts for inheritence
* chore(bump): contracts 0.8.11
* chore(bump): sdk 0.8.10 with updated contracts package
* chore(bump): updated packages in frontend
* chore(gha): run action on pr and push to develop

* feat(defender): use hc packages in oz defender

* feat(celo): graph deploy, sdk and defender config

* chore(bump): SDK 0.8.14 Celo deployment

* feat(celo): add celo support to frontend

* chore(graph): fix turbo test flow

* chore(graph): add comment to p.json

* fix(gha): use pnpm cache in graph gha (#1138)

* chore: add wrapper components for split and merge functionality (#1148)

* format external url in case it is a direct ipfs link (#1181)

* Chore/lets merge together (#1221)

* Fix/package build (#1124)

* chore(npm): sdk to workspace to stop link:
* chore(npm): contracts in workspace, no link:
* chore(bump): 0.8.7
* chore(bump): contracts 0.8.7 into sdk 0.8.8
* fix(ci): linting errors from updated ws
* fix(doc): optimism chainId to 10 from 100
* chore(build): remove type module from package.json
* chore(contracts): package sol files
* chore(pack): add sol files to contracts package
* chore(bump): contract 0.8.9
* chore(pack): exports setup
* chore(pack): contracts dir in package
* chore(pack): cleanup build scripts
* chore(bump): contracts 0.8.10
* chore(pack): add all contracts for inheritence
* chore(bump): contracts 0.8.11
* chore(bump): sdk 0.8.10 with updated contracts package
* chore(bump): updated packages in frontend
* chore(gha): run action on pr and push to develop

* Feat/deploy to celo (#1135)

* Add HC contracts to OpenZeppelin Defender (#1134)

* Fix/package build (#1124)

* chore(npm): sdk to workspace to stop link:
* chore(npm): contracts in workspace, no link:
* chore(bump): 0.8.7
* chore(bump): contracts 0.8.7 into sdk 0.8.8
* fix(ci): linting errors from updated ws
* fix(doc): optimism chainId to 10 from 100
* chore(build): remove type module from package.json
* chore(contracts): package sol files
* chore(pack): add sol files to contracts package
* chore(bump): contract 0.8.9
* chore(pack): exports setup
* chore(pack): contracts dir in package
* chore(pack): cleanup build scripts
* chore(bump): contracts 0.8.10
* chore(pack): add all contracts for inheritence
* chore(bump): contracts 0.8.11
* chore(bump): sdk 0.8.10 with updated contracts package
* chore(bump): updated packages in frontend
* chore(gha): run action on pr and push to develop

* feat(defender): use hc packages in oz defender

* feat(celo): graph deploy, sdk and defender config

* chore(bump): SDK 0.8.14 Celo deployment

* feat(celo): add celo support to frontend

* chore(graph): fix turbo test flow

* chore(graph): add comment to p.json

* fix(gha): use pnpm cache in graph gha (#1138)

* chore: add wrapper components for split and merge functionality

* Fix/handle batch transfers graph (#1149)

* feat(batch): add batch transfers to grap

* SDK remove default chainID dependency (#1146)

* Feat/batch burn (#1051)

* feat(batch_burn): add batch burn function

* fix(docs): update SemiFungible1155 docs

* chore(lint): cleanup lint ignores

* chore(lint): defender lint errors

* chore(deploy): reduce optimizer run for kb limit

* chore(script): update upgrade script

* feat(gha): split graph deploy develop-main

* chore(lint): line length rule to warn from err

* chore(gha): run CI on PR to develop

* chore(gha): run e2e,ci on pr,push to develop

* feat(graph): update graph for burn methods

* chore(turbo): split graph deploys (#1055)

* Fix/workspace label (#1060)

chore(yarn): update workspace label

* 1052 subgraph a claimed token should indicate whether it was claimed from an allowlist (#1058)

* fix(graph): link claim with allowlist

* chore(tweak): yada

* fix(graph): update mapping to claim (#1061)

* nitial trader implementation (#1063)

* feat(iface): draft of trader interface

* feat(trader): simple offer, buy, cancel flow

* feat(db): update allowlist query (#1057)

* feat(test): tweaks and initial tests for Trader

* chore(gha): remove hardcoded foundry nightly

* feat(test): add initial test for trader sales

* feat(test): sales tests

* feat(deploy): deployed to goerli

* chore(ci): updated hh scripts for trader contract

* feat(pause): pausable controls and tests

* feat(trader): init trader graph

* feat(tokens): surface accepted tokens (#1065)

* feat(tokens): surface accepted tokens

* fix(tokens): acceptedTokens test and fix

* Feat/accepted tokens (#1066)

* feat(tokens): surface accepted tokens

* fix(tokens): acceptedTokens test and fix

* chore(address): update trader address graph

* fix(import): add bigint to import

* Feat/accepted tokens (#1067)

* feat(tokens): surface accepted tokens

* fix(tokens): acceptedTokens test and fix

* chore(address): update trader address graph

* fix(import): add bigint to import

* fix(log): add logging to trader mapping

* [Prod]:Deployed to Celo, updated Defender, version bumps for everyone (#1137)

* Fix/package build (#1124)

* chore(npm): sdk to workspace to stop link:
* chore(npm): contracts in workspace, no link:
* chore(bump): 0.8.7
* chore(bump): contracts 0.8.7 into sdk 0.8.8
* fix(ci): linting errors from updated ws
* fix(doc): optimism chainId to 10 from 100
* chore(build): remove type module from package.json
* chore(contracts): package sol files
* chore(pack): add sol files to contracts package
* chore(bump): contract 0.8.9
* chore(pack): exports setup
* chore(pack): contracts dir in package
* chore(pack): cleanup build scripts
* chore(bump): contracts 0.8.10
* chore(pack): add all contracts for inheritence
* chore(bump): contracts 0.8.11
* chore(bump): sdk 0.8.10 with updated contracts package
* chore(bump): updated packages in frontend
* chore(gha): run action on pr and push to develop

* Feat/deploy to celo (#1135)

* Add HC contracts to OpenZeppelin Defender (#1134)

* Fix/package build (#1124)

* chore(npm): sdk to workspace to stop link:
* chore(npm): contracts in workspace, no link:
* chore(bump): 0.8.7
* chore(bump): contracts 0.8.7 into sdk 0.8.8
* fix(ci): linting errors from updated ws
* fix(doc): optimism chainId to 10 from 100
* chore(build): remove type module from package.json
* chore(contracts): package sol files
* chore(pack): add sol files to contracts package
* chore(bump): contract 0.8.9
* chore(pack): exports setup
* chore(pack): contracts dir in package
* chore(pack): cleanup build scripts
* chore(bump): contracts 0.8.10
* chore(pack): add all contracts for inheritence
* chore(bump): contracts 0.8.11
* chore(bump): sdk 0.8.10 with updated contracts package
* chore(bump): updated packages in frontend
* chore(gha): run action on pr and push to develop

* feat(defender): use hc packages in oz defender

* feat(celo): graph deploy, sdk and defender config

* chore(bump): SDK 0.8.14 Celo deployment

* feat(celo): add celo support to frontend

* chore(graph): fix turbo test flow

* chore(graph): add comment to p.json

* fix(gha): use pnpm cache in graph gha (#1138)

* chore(prep): protocol contracts to protocol dir

* chore(prep): tests to protocol dir and remappings

* chore(license): MIT license

* Feat/init marketplace (#1139)

* chore(prep): protocol contracts to protocol dir

* chore(prep): tests to protocol dir and remappings

* chore(license): MIT license

* feat(marketplace): inject, build, refactor, test

* chore(gha): run gha on push and develop-branches

* fix(build): build and lint errors

* chore(pnpm): refresh lock file

* chore(build): reduce turbo concurrency

* fix(build): whac a mole

* chore(build): restore prettier in solhint

* chore(build): env.template vars

* chore(dist): clean and remap output contracts

* chore(clean): last tests

* fix(build): ignore cors-proxy type errors

* chore(gha): add rpc env vars for fork testing

---------

Co-authored-by: jipstavenuiter <jipstavenuiter@gmail.com>

* chore(lint): cleanup config and affiliate flows (#1140)

* chore(license): dual licensing contracts + repo (#1141)

* feat(config): updated sdk init config

* feat(tests): fix all tests to use updated init

* feat(test): uncommented all SDK tests

* fix(log): remove result logging

* [Test] Release marketplace contracts on testnet and add to contracts package (#1150)

* feat(deploy): deploy to testnets

* chore(build): hardhat build

* feat(pack): release, test, bump updated contracts

* chore(gha): updated env vars

* chore(pnpm): updated lock file

* fix(build): build error, replaced util with viem

* fix(pnpm): root dir ethers resolution

* chore(pnpm): updated lockfile

* fix(pnpm): overrides

* chore(build): resolving build issues sdk

* chore(refactor): dep resolution bug - del eth v5

* fix(test): mock ipfs in minting, remove timeout

* chore(build): fresh build

* chore(clean): remove contracts/contracts dir

* fix(gha): non-next env var in gha for sdk

* chore(run): kick

* fix(jest): forceExit hanging async call

* chore(build): fresh run for sanity

* fix(lint): ignore **/abi instead of **/src/abi

* feat(fe): integrate in FE and SDK 0.9.1

* chore(bump): sdk 0.9.1-viem

* feat(fe): update FE to use SDK 0.9.1

* chore(cleanup): code cleanup SDK

* chore(bump): sdk version bump

* chore(fe): update SDK dep version

* fix(sdk): chainId config

* chore(parse): fix parse calc

* fix parse allowlist csv tests

* fix injected chain id in config

* update component config.tsx

* chore(bump): updated sdk alpha

* chore(run): sanity check passed

* chore(build): graphSDK

* feat(fe): plasmic rendering issues.

* feat(sdk): web3 token

* chore(defender): removed api_key sep network conf

* chore(defender): remove verbose log batch action

* chore(gha): deduplicate runs - now on all push

* chore(lint): lint fe lib

* chore(gha): cleaned up env vars

---------

Co-authored-by: jipstavenuiter <jipstavenuiter@gmail.com>

* Fix/gha graph (#1165)

* Feat/allowlist proof util (#1168)

* feat(util): allowlist utils and updated docs

* feat(test): updated test and docs

* chore(bump): alpha-7

* feat(merkle): test merkleProof fetcher

* chore(bump): 1.0.0-alpha.8

* fix(import): allowlist default export

* chore(run): local validation run

* Add hypercerts to marketplace functionality (#1170)

* Feat/batch burn (#1051)

* feat(batch_burn): add batch burn function

* fix(docs): update SemiFungible1155 docs

* chore(lint): cleanup lint ignores

* chore(lint): defender lint errors

* chore(deploy): reduce optimizer run for kb limit

* chore(script): update upgrade script

* feat(gha): split graph deploy develop-main

* chore(lint): line length rule to warn from err

* chore(gha): run CI on PR to develop

* chore(gha): run e2e,ci on pr,push to develop

* feat(graph): update graph for burn methods

* chore(turbo): split graph deploys (#1055)

* Fix/workspace label (#1060)

chore(yarn): update workspace label

* 1052 subgraph a claimed token should indicate whether it was claimed from an allowlist (#1058)

* fix(graph): link claim with allowlist

* chore(tweak): yada

* fix(graph): update mapping to claim (#1061)

* nitial trader implementation (#1063)

* feat(iface): draft of trader interface

* feat(trader): simple offer, buy, cancel flow

* feat(db): update allowlist query (#1057)

* feat(test): tweaks and initial tests for Trader

* chore(gha): remove hardcoded foundry nightly

* feat(test): add initial test for trader sales

* feat(test): sales tests

* feat(deploy): deployed to goerli

* chore(ci): updated hh scripts for trader contract

* feat(pause): pausable controls and tests

* feat(trader): init trader graph

* feat(tokens): surface accepted tokens (#1065)

* feat(tokens): surface accepted tokens

* fix(tokens): acceptedTokens test and fix

* Feat/accepted tokens (#1066)

* feat(tokens): surface accepted tokens

* fix(tokens): acceptedTokens test and fix

* chore(address): update trader address graph

* fix(import): add bigint to import

* Feat/accepted tokens (#1067)

* feat(tokens): surface accepted tokens

* fix(tokens): acceptedTokens test and fix

* chore(address): update trader address graph

* fix(import): add bigint to import

* fix(log): add logging to trader mapping

* chore(prep): protocol contracts to protocol dir

* chore(prep): tests to protocol dir and remappings

* chore(license): MIT license

* Feat/init marketplace (#1139)

* chore(prep): protocol contracts to protocol dir

* chore(prep): tests to protocol dir and remappings

* chore(license): MIT license

* feat(marketplace): inject, build, refactor, test

* chore(gha): run gha on push and develop-branches

* fix(build): build and lint errors

* chore(pnpm): refresh lock file

* chore(build): reduce turbo concurrency

* fix(build): whac a mole

* chore(build): restore prettier in solhint

* chore(build): env.template vars

* chore(dist): clean and remap output contracts

* chore(clean): last tests

* fix(build): ignore cors-proxy type errors

* chore(gha): add rpc env vars for fork testing

---------

Co-authored-by: jipstavenuiter <jipstavenuiter@gmail.com>

* chore(lint): cleanup config and affiliate flows (#1140)

* chore(license): dual licensing contracts + repo (#1141)

* [Test] Release marketplace contracts on testnet and add to contracts package (#1150)

* feat(deploy): deploy to testnets

* chore(build): hardhat build

* feat(pack): release, test, bump updated contracts

* chore(gha): updated env vars

* chore(pnpm): updated lock file

* fix(build): build error, replaced util with viem

* fix(pnpm): root dir ethers resolution

* chore(pnpm): updated lockfile

* fix(pnpm): overrides

* chore(build): resolving build issues sdk

* chore(refactor): dep resolution bug - del eth v5

* fix(test): mock ipfs in minting, remove timeout

* Direct Hypercert fraction sale (#1142)

* feat(tranfer): transfer single hypercert fraction

* feat(transfer): batch transfers and across collections

* feat(transfer): reduce cyclomatic complexity

* feat(offers): hypercert offer signatures

* feat(transfer): standard txs tests hypercerts

* chore(gha): only run on every push

* fix(merge): merge artifacts

---------

Co-authored-by: jipstavenuiter <jipstavenuiter@gmail.com>

* feat(restriction): add transfer restriction to fe (#1173)

* feat(metadata): add application name (#1174)

* feat(deployments): typed deployment contracts

* fix(props): props from plas to form (#1176)

* format external url in case it is a direct ipfs link (#1182)

* fix(fix formatting of ipfs urls on hypercert page) (#1183)

* Feat/split and merge (#1185)

* Add split and merge functionality to plasmic and add component logic.

* Feat/hardhat deploy script (#1177)

* feat(init): first pass hh script marketplace

* feat(deploy): marketplace deploy and verify script

* chore(deploy): add feerecipient to deploy

* chore(scripts): remove scripts

* feat(pack): deployment data and fresh pack

* 1.0.0-alpha.0

* chore(npm): release 1.0.0-alpha.0 contracts

* chore(npm): update contracts and sdk releases

* fix(build): viem update fe

* fix(default): remove default_chain_id

* remove usage of NEXT_PUBLIC_DEFAULT_CHAIN_ID

* fix build error

---------

Co-authored-by: jipstavenuiter <jipstavenuiter@gmail.com>

* feat(merkle): account allowlist strategy (#1186)

* Added strategy and tests for hypercert functionality (#1188)

* feat(fractions): added strategy and tests

* feat(tests): update tests and tweak strat

* feat(test): fix all the test and clean comms

* fix(dist): moar contracts

* fix(tweak): little cleanups

* chore(lint): fix lint errors

* fix(lint): updated foundry lint

* Feat/partial fraction sale (#1190)

* feat(fractions): added strategy and tests

* feat(tests): update tests and tweak strat

* feat(test): fix all the test and clean comms

* fix(dist): moar contracts

* fix(tweak): little cleanups

* chore(lint): fix lint errors

* fix(lint): updated foundry lint

* feat(test): uncomment unused tests

* Feat/sdk common js (#1191)

* feat(fractions): added strategy and tests

* feat(tests): update tests and tweak strat

* feat(test): fix all the test and clean comms

* fix(dist): moar contracts

* fix(tweak): little cleanups

* chore(lint): fix lint errors

* fix(lint): updated foundry lint

* feat(test): uncomment unused tests

* feat(bugs): cjs build and import alpha.13

* fix(only): unexpected only in sdk test

* feat(abis): updated SDK abis and restored tests (#1193)

* feat(abis): updated SDK abis and restored tests

* chore(bump): viem in fe

* fix(test): add currency admin to test (#1197)

* fix build error - set output:export in next config (#1199)

* fix build error

* lock nextjs version to 13.x.x

* add placeholder for transfer fraction button (#1201)

* add placeholder for transfer fraction button

* remove unnecessary logic from transfer-fraction-button.tsx

* change next build back to next export (#1202)

remove unnecessary logic from transfer-fraction-button.tsx

* Feature/transfer fraction button (#1203)

* add transfer fraction button inside split fraction button

* add confirmation dialog when transferring fraction

* use override chain id in hypercert fetcher within plasmic

* add reading of transfer restrictions to transfer fraction button

* add override chain id functionality for plasmic editing (#1204)

* Bugfix/add override chain id for plasmit editing (#1205)

* add override chain id functionality for plasmic editing

* add override chain id to effect dependencies

* remove transfer fraction button from split fraction button (#1206)

* Bugfix/only show transfer button for fraction owned (#1207)

* only show transfer button for fractions owned

* only show transfer button for fractions owned

* Feat/more robust split transfer logic with hc strategy (#1208)

* feat(hc): split NFT HC flow

* feat(hc): hypercert order routing and validation

* fix(e2e): disable faulty E2E tests

* Feat/docs tests cleanup (#1210)

* feat(checks): checkValidityHC, error code, 0.8.17

* feat(validator): overvalidator HC tests

* fix(clean): remove hyperboard references

* fix(lint): pragma protocol tests

* fix(pragma): restore FeeManagerRoy.. pragma

* feat(docs): updated version

* feat(build): docs 1.0.0-alpha

* Feat/docs tests cleanup (#1211)

* feat(checks): checkValidityHC, error code, 0.8.17

* feat(validator): overvalidator HC tests

* fix(clean): remove hyperboard references

* fix(lint): pragma protocol tests

* fix(pragma): restore FeeManagerRoy.. pragma

* feat(docs): updated version

* feat(build): docs 1.0.0-alpha

* chore(docs): natspec tweaks

* Feat/docs tests cleanup (#1212)

* feat(checks): checkValidityHC, error code, 0.8.17

* feat(validator): overvalidator HC tests

* fix(clean): remove hyperboard references

* fix(lint): pragma protocol tests

* fix(pragma): restore FeeManagerRoy.. pragma

* feat(docs): updated version

* feat(build): docs 1.0.0-alpha

* chore(docs): natspec tweaks

* feat(docs): docs sidebar

* Feat/add batch transfer method to client methods (#1215)

* feat(transfer): add method to client and type

* feat(err): simulation and tx error handlers

* feat(err): error handling test

* chore(pack): dep cleanup and updates

* merge fixes

---------

Co-authored-by: bitbeckers <code@bitbeckers.com>

* chore(bump): released contracts 1.0.0

* chore(bump): update graph testnet deploy

* chore(bump): sdk version 1.0.0

* chore(bump): update deps in fe

* chore(bump): sdk 1.0.3 in fe

* fix(lint): test type lint

---------

Co-authored-by: Jip Stavenuiter <jipstavenuiter@gmail.com>

* Faet/docs search function in documentation (#1236)

* feat(docsearch): add config

* feat(search): implement algolia search

* (feat): add initial version of delete on order fulfilled script

* chore(bump): web3 connectors fe

* chore(report): add report and create checklist

* fix(TRST-H-1): a buyer can purchase more token units than the seller

* fix(TRST-H-2):  fraction offer invalidation

* fix(TRST-H-3): fork strategies to check on hc units during trade

* fix(TRST-M-1): signed taker bid messages

* fix(l/m/sr): fixing last findings

* (feature): Delete order on execute taker bid autotask

* (feat): fix setup and rollouts, update scripts

* (feat): remove redundancy from create-sentinel.ts config

* fix(TRST-M-2): add sellLeftover boolean to hypercert fraction strategy

* fix(test): fix failing test dutch auction

* chore(deploy): fresh sepolia deploy

* fix(report): update finding status

* fix(allowlist): rollout celo and propose op

* (chore): delete goerli from SDK

* (chore): delete goerli from defender config

* (chore): delete goerli from graph

* (chore): delete goerli from frontend

* (chore): update tests for goerli deprecation

* feat(deploy): sepolia with verification

* chore(report): add audit report and init comments

* chore(deploy): add looksrare registry and sep weth

* fix(audit): additional findings

* feat(apis): refactor to use hypercerts APIs

* fix(api): migrate to railway

* fix(build): update viem and fe client config

* chore(bump): sdk 1.1.0 release and bump fe

* (chore): update changelog

* fix(ci): linting

* fix(v02): final mitigation findings

* fix(lint): lint errors and registry sol version

* chore(bump): fe sdk dep

* chore(lint): audit v2 comments linting

* chore(bump): migrate to viem v2

* feat(parse): add initial parser

* feat(marketplace): release sepolia deploy

* feat(sdk): add all deployments to SDK

* chore(bump): release notes and 1.4.0

* fix(type): response data type

* chroe(bump): 1.4.1

* fix(test): mock storage return types

* chore(bump): fe sdk to 1.4.1

* chore(bump): fe viem to 1.21.4

* chore(docs): cleanup and add announcements

* chore(fix): docs sidebar

* (fix): update defender deploy scripts to use contracts package

* (fix): ci node version

* fix(pkg): fix esm export

* fix(docs): remove storage tokens references

* fix(docs): cleanup nft and web.storage references

* chore(docs): refresh versioned docs

* fix(bugs): index.mjs and added IPFS gateway

* chore(fe): add next contracts and SDK release to FE

---------

Co-authored-by: jipstavenuiter <jipstavenuiter@gmail.com>
Co-authored-by: Daehyun Paik <paik@a30a.dev>
  • Loading branch information
3 people authored Jan 22, 2024
1 parent 3328bbe commit 3ef140a
Show file tree
Hide file tree
Showing 81 changed files with 525 additions and 543 deletions.
8 changes: 8 additions & 0 deletions contracts/RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 1.1.1

- Improve ESM support by exporting `index.mjs` instead of `index.js`. @baumstern

## New contributors

Welcoming @baumstern as a new contributor to the hypercerts codebase!

# 1.1.0

- Added Sepolia marketplace deployment
Expand Down
8 changes: 4 additions & 4 deletions contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hypercerts-org/contracts",
"description": "EVM compatible protocol for managing impact claims",
"version": "1.1.0",
"version": "1.1.1-alpha.0",
"author": {
"name": "Hypercerts Foundation",
"url": "https://github.com/hypercerts-org/hypercerts"
Expand All @@ -14,13 +14,13 @@
"type": "git"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"module": "./dist/esm/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/index.d.ts"
"import": "./dist/esm/index.mjs"
}
},
"files": [
Expand Down
1 change: 1 addition & 0 deletions contracts/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default [
dir: "dist/esm",
sourcemap: true,
exports: "named",
entryFileNames: "index.mjs",
},
{
format: "cjs",
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/developer/api/sdk/classes/ClientError.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Error.constructor

#### Defined in

[sdk/src/types/errors.ts:27](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/types/errors.ts#L27)
[sdk/src/types/errors.ts:27](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/types/errors.ts#L27)

## Properties

Expand Down Expand Up @@ -105,7 +105,7 @@ Additional error payload.

#### Defined in

[sdk/src/types/errors.ts:20](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/types/errors.ts#L20)
[sdk/src/types/errors.ts:20](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/types/errors.ts#L20)

---

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/developer/api/sdk/classes/ConfigurationError.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Error.constructor

#### Defined in

[sdk/src/types/errors.ts:188](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/types/errors.ts#L188)
[sdk/src/types/errors.ts:188](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/types/errors.ts#L188)

## Properties

Expand Down Expand Up @@ -103,7 +103,7 @@ Additional error payload.

#### Defined in

[sdk/src/types/errors.ts:187](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/types/errors.ts#L187)
[sdk/src/types/errors.ts:187](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/types/errors.ts#L187)

---

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/developer/api/sdk/classes/ContractError.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Error.constructor

#### Defined in

[sdk/src/types/errors.ts:43](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/types/errors.ts#L43)
[sdk/src/types/errors.ts:43](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/types/errors.ts#L43)

## Properties

Expand Down Expand Up @@ -104,7 +104,7 @@ Additional error payload.

#### Defined in

[sdk/src/types/errors.ts:41](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/types/errors.ts#L41)
[sdk/src/types/errors.ts:41](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/types/errors.ts#L41)

---

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/developer/api/sdk/classes/FetchError.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Error.constructor

#### Defined in

[sdk/src/types/errors.ts:65](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/types/errors.ts#L65)
[sdk/src/types/errors.ts:65](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/types/errors.ts#L65)

## Properties

Expand Down Expand Up @@ -105,7 +105,7 @@ Additional error payload.

#### Defined in

[sdk/src/types/errors.ts:58](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/types/errors.ts#L58)
[sdk/src/types/errors.ts:58](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/types/errors.ts#L58)

---

Expand Down
58 changes: 29 additions & 29 deletions docs/docs/developer/api/sdk/classes/HypercertClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Will throw a `ClientError` if the public client cannot be connected.

#### Defined in

[sdk/src/client.ts:58](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L58)
[sdk/src/client.ts:58](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L58)

## Properties

Expand All @@ -64,7 +64,7 @@ Will throw a `ClientError` if the public client cannot be connected.

#### Defined in

[sdk/src/client.ts:41](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L41)
[sdk/src/client.ts:41](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L41)

---

Expand All @@ -74,7 +74,7 @@ Will throw a `ClientError` if the public client cannot be connected.

#### Defined in

[sdk/src/client.ts:44](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L44)
[sdk/src/client.ts:44](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L44)

---

Expand All @@ -84,7 +84,7 @@ Will throw a `ClientError` if the public client cannot be connected.

#### Defined in

[sdk/src/client.ts:45](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L45)
[sdk/src/client.ts:45](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L45)

---

Expand Down Expand Up @@ -158,7 +158,7 @@ Will throw a `ClientError` if the public client cannot be connected.

#### Defined in

[sdk/src/client.ts:46](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L46)
[sdk/src/client.ts:46](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L46)

---

Expand All @@ -168,7 +168,7 @@ Will throw a `ClientError` if the public client cannot be connected.

#### Defined in

[sdk/src/client.ts:42](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L42)
[sdk/src/client.ts:42](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L42)

---

Expand Down Expand Up @@ -212,7 +212,7 @@ Will throw a `ClientError` if the public client cannot be connected.

#### Defined in

[sdk/src/client.ts:47](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L47)
[sdk/src/client.ts:47](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L47)

---

Expand All @@ -228,7 +228,7 @@ Whether the client is in read-only mode.

#### Defined in

[sdk/src/client.ts:48](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L48)
[sdk/src/client.ts:48](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L48)

## Accessors

Expand All @@ -246,7 +246,7 @@ The client config.

#### Defined in

[sdk/src/client.ts:82](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L82)
[sdk/src/client.ts:82](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L82)

---

Expand All @@ -272,7 +272,7 @@ Use getDeployments instead.

#### Defined in

[sdk/src/client.ts:107](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L107)
[sdk/src/client.ts:107](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L107)

---

Expand All @@ -294,7 +294,7 @@ The indexer.

#### Defined in

[sdk/src/client.ts:98](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L98)
[sdk/src/client.ts:98](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L98)

---

Expand All @@ -316,7 +316,7 @@ The storage layer.

#### Defined in

[sdk/src/client.ts:90](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L90)
[sdk/src/client.ts:90](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L90)

## Methods

Expand Down Expand Up @@ -355,7 +355,7 @@ Will throw an `InvalidOrMissingError` if any of the proofs are invalid.

#### Defined in

[sdk/src/client.ts:454](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L454)
[sdk/src/client.ts:454](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L454)

---

Expand Down Expand Up @@ -388,7 +388,7 @@ A promise that resolves to the transaction hash.

#### Defined in

[sdk/src/client.ts:216](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L216)
[sdk/src/client.ts:216](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L216)

---

Expand Down Expand Up @@ -425,7 +425,7 @@ Will throw a `ClientError` if the claim is not owned by the account.

#### Defined in

[sdk/src/client.ts:377](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L377)
[sdk/src/client.ts:377](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L377)

---

Expand Down Expand Up @@ -466,7 +466,7 @@ Will throw a `MalformedDataError` if the provided allowlist or metadata is inval

#### Defined in

[sdk/src/client.ts:249](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L249)
[sdk/src/client.ts:249](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L249)

---

Expand All @@ -486,7 +486,7 @@ Will throw a `MalformedDataError` if the provided allowlist or metadata is inval

#### Defined in

[sdk/src/client.ts:485](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L485)
[sdk/src/client.ts:485](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L485)

---

Expand All @@ -506,7 +506,7 @@ Will throw a `MalformedDataError` if the provided allowlist or metadata is inval

#### Defined in

[sdk/src/client.ts:502](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L502)
[sdk/src/client.ts:502](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L502)

---

Expand All @@ -520,7 +520,7 @@ Will throw a `MalformedDataError` if the provided allowlist or metadata is inval

#### Defined in

[sdk/src/client.ts:491](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L491)
[sdk/src/client.ts:491](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L491)

---

Expand Down Expand Up @@ -552,7 +552,7 @@ Use getDeployments instead.

#### Defined in

[sdk/src/client.ts:120](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L120)
[sdk/src/client.ts:120](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L120)

---

Expand Down Expand Up @@ -582,7 +582,7 @@ a Promise that resolves to the applicable transfer restrictions.

#### Defined in

[sdk/src/client.ts:168](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L168)
[sdk/src/client.ts:168](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L168)

---

Expand Down Expand Up @@ -630,7 +630,7 @@ a Promise that resolves to the applicable transfer restrictions.

#### Defined in

[sdk/src/client.ts:512](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L512)
[sdk/src/client.ts:512](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L512)

---

Expand Down Expand Up @@ -667,7 +667,7 @@ Will throw a `ClientError` if any of the fractions are not owned by the account.

#### Defined in

[sdk/src/client.ts:336](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L336)
[sdk/src/client.ts:336](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L336)

---

Expand Down Expand Up @@ -707,7 +707,7 @@ Will throw a `MalformedDataError` if the provided metadata is invalid.

#### Defined in

[sdk/src/client.ts:139](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L139)
[sdk/src/client.ts:139](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L139)

---

Expand Down Expand Up @@ -746,7 +746,7 @@ Will throw an `InvalidOrMissingError` if the proof is invalid.

#### Defined in

[sdk/src/client.ts:410](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L410)
[sdk/src/client.ts:410](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L410)

---

Expand All @@ -769,7 +769,7 @@ Will throw an `InvalidOrMissingError` if the proof is invalid.

#### Defined in

[sdk/src/client.ts:522](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L522)
[sdk/src/client.ts:522](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L522)

---

Expand Down Expand Up @@ -808,7 +808,7 @@ Will throw a `ClientError` if the fraction is not owned by the account or if the

#### Defined in

[sdk/src/client.ts:291](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L291)
[sdk/src/client.ts:291](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L291)

---

Expand Down Expand Up @@ -838,7 +838,7 @@ Will throw a `ClientError` if the request fails.

#### Defined in

[sdk/src/client.ts:553](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L553)
[sdk/src/client.ts:553](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L553)

---

Expand Down Expand Up @@ -871,4 +871,4 @@ A promise that resolves to the transaction hash.

#### Defined in

[sdk/src/client.ts:188](https://github.com/hypercerts-org/hypercerts/blob/b145e86/sdk/src/client.ts#L188)
[sdk/src/client.ts:188](https://github.com/hypercerts-org/hypercerts/blob/e194fdd/sdk/src/client.ts#L188)
Loading

0 comments on commit 3ef140a

Please sign in to comment.