issues
search
Insrt-Finance
/
insrt-v2-contracts
0
stars
3
forks
source link
Build/engine tests
#55
Closed
NouDaimon
closed
1 year ago
NouDaimon
commented
1 year ago
forge install: chainlink
build: add chainlink contracts and remappings
build: chainlink interface mapping
feat: initial storage layout
forge install: abdk-libraries-solidity
build: add ABDK math libraries
feat: latest storage
feat: ERC721 rudimentary game mechanism
feat: update algorithm for ERC721 tokens
feat: rename storage variable
feat: add natspec comments
feat: change sign of operator
feat: update file imports
build: move files into new directory
feat: optimize ERC721 token selection | reduce map lookups
feat: update engine to match risk input requirements
eat: initial ERC1155 handling rework
feat: ERC1155 storage variables
feat: additional ERC1155 storage variables
feat: remove needless function
feat: re-add and rename storage variables for ERC721 handling
feat: split ERC1155 and ERC721 asset handling
build: move files into appropriate folder
feat: initial ERC1155 engine
feat: consolidate and rename earning/deduction storage
feat: consolidate #updateAccountEarnings and related storage across ERC721/1155
feat: update auxilliary variables in ERC1155 mint resolution
feat: make storage variable names more succinct, remove unnecessary storage vari ables
Upon successful mint, remove token from play (#35)
fix: use risk in calculating account earnings
eat: remove whitelist, increase BASIS
feat: earning claiming functions
feat: IPerpetualMint
feat: VRFSubcriptionManager
build: mock collections
feat: IPerpetualMint interface, expose internal view functions
build: remove duplicate files
feat: updateTokenRisk function
feat: setCollectionMintPrice function
feat: setCollectionType
feat: function _esrowedERC721TokenOwner
fix: fix direction of bit shift in chunking
feat: change function visibility to internal for testing
feat: convert private functions to internal
feat: convert risk remaining related storage variables to uint64
feat: complete updateDepositEarnings function
feat: StorageRead library
feat: PerpetualMint test setup
build: depositFacetMock contracts
build: _averageTokenRisk tests
build: chunking function tests
build: _normalizeValue tests
build: _selectToken function tests
build: _selectERC1155Owner tests
build: _updateDepositEarnigs tests
build: setCollectionMintPrice tests
build: _resolveERC721Mint tests
feat: ensure the range of selections is correct by using < rather than <=
build: reduce _resolveERC721Mint.t.sol size further
fix: rename updateDepositorEarnings test
fix: fix assigning ERC1155 assets
fix: rename StorageRead funciton to match storage variable name
build: use different collection for ERC1155 tests
build: fix winning roll value
build: fix test cases to more closely match use
build: rename test
build: fix mock deposit function storage setting
build: change variable name
build: rework _selectERC1155Owner tests
feat: add required storage variable to track acrtive tokens per tokenId
feat: add risk updating and move _updateDepositorEarnings in assignEscrowedERC11 55Asset
feat: update StorageRead
feat: add _assignEscrowedERC721Asset function
build: update test setup contracts
feat: remove unnecessary storage variable
build: _assignEscrowedERC1155Asset tests
build: _resolveERC1155Mint tests
build: prettier command affects behavior tests
build: add title to _resovleERC1155Mint tests
build: bump pragma in tests
feat: cast amount[i] as uint64
Merge branch 'build/engine-tests' of
https://github.com/Insrt-Finance/insrt-lp-c
ontracts into build/engine-tests
feat: set inactiveERC1155Tokens amount to uin64