Skip to content

Commit

Permalink
fix offerId type (uint8 instead of uint) in Redeemable event (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukseven authored Aug 26, 2022
1 parent 6ae80c3 commit ee68100
Show file tree
Hide file tree
Showing 30 changed files with 104 additions and 104 deletions.
90 changes: 45 additions & 45 deletions build/tradable/elv_tradable_full.go

Large diffs are not rendered by default.

62 changes: 31 additions & 31 deletions contracts-go/tradable/elv_tradable_full.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ElvTradable.abi

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ElvTradableLocal.abi

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ElvTradableLocal_events.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Approval":{"event":"event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)","topic":"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"},"ApprovalForAll":{"event":"event ApprovalForAll(address indexed owner, address indexed operator, bool approved)","topic":"0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31"},"BaseTransferFeeSet":{"event":"event BaseTransferFeeSet(uint256 prevFee, uint256 newFee)","topic":"0x0457965f5769a09114fd0629b0a97d67e8469821987a454045bbc1a4eed6a881"},"MinterAdded":{"event":"event MinterAdded(address indexed account)","topic":"0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6"},"MinterRemoved":{"event":"event MinterRemoved(address indexed account)","topic":"0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692"},"OwnershipTransferred":{"event":"event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)","topic":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},"Redeem":{"event":"event Redeem(address redeemer, uint256 tokenId, uint256 offerId)","topic":"0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929"},"RedeemableAdded":{"event":"event RedeemableAdded(uint8 offerId)","topic":"0x4537b663d1c425a8e90a6c70cd45207a892914b93ce592a63f985c34e2e0c119"},"RedeemableRemoved":{"event":"event RedeemableRemoved(uint8 offerId)","topic":"0x21996e6e49c28e5c2bb01dd4ff308ddc979431158829a453d4ee6b0115eb6147"},"SetProxyAddress":{"event":"event SetProxyAddress(int256 proxyType, address indexed prevAddr, address indexed newAddr)","topic":"0xee3e7531713ec20c8271432382d3162f5225f9bdac8f1f351cf2ceb699fb754c"},"SetTokenURI":{"event":"event SetTokenURI(uint256 indexed tokenId, string prevURI, string newURI)","topic":"0xaa425fdd80303549e5f891d43e81f503f03bc88d66e218ac44f385682ce6fe0b"},"Transfer":{"event":"event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)","topic":"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"}}
{"Approval":{"event":"event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)","topic":"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"},"ApprovalForAll":{"event":"event ApprovalForAll(address indexed owner, address indexed operator, bool approved)","topic":"0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31"},"BaseTransferFeeSet":{"event":"event BaseTransferFeeSet(uint256 prevFee, uint256 newFee)","topic":"0x0457965f5769a09114fd0629b0a97d67e8469821987a454045bbc1a4eed6a881"},"MinterAdded":{"event":"event MinterAdded(address indexed account)","topic":"0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6"},"MinterRemoved":{"event":"event MinterRemoved(address indexed account)","topic":"0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692"},"OwnershipTransferred":{"event":"event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)","topic":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},"Redeem":{"event":"event Redeem(address redeemer, uint256 tokenId, uint8 offerId)","topic":"0x6de3539db832d0d4eeb992f4ee0b66dd5e3e70ba3239246f9699bb8c7488e70b"},"RedeemableAdded":{"event":"event RedeemableAdded(uint8 offerId)","topic":"0x4537b663d1c425a8e90a6c70cd45207a892914b93ce592a63f985c34e2e0c119"},"RedeemableRemoved":{"event":"event RedeemableRemoved(uint8 offerId)","topic":"0x21996e6e49c28e5c2bb01dd4ff308ddc979431158829a453d4ee6b0115eb6147"},"SetProxyAddress":{"event":"event SetProxyAddress(int256 proxyType, address indexed prevAddr, address indexed newAddr)","topic":"0xee3e7531713ec20c8271432382d3162f5225f9bdac8f1f351cf2ceb699fb754c"},"SetTokenURI":{"event":"event SetTokenURI(uint256 indexed tokenId, string prevURI, string newURI)","topic":"0xaa425fdd80303549e5f891d43e81f503f03bc88d66e218ac44f385682ce6fe0b"},"Transfer":{"event":"event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)","topic":"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"}}
2 changes: 1 addition & 1 deletion dist/ElvTradable_events.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Approval":{"event":"event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)","topic":"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"},"ApprovalForAll":{"event":"event ApprovalForAll(address indexed owner, address indexed operator, bool approved)","topic":"0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31"},"BaseTransferFeeSet":{"event":"event BaseTransferFeeSet(uint256 prevFee, uint256 newFee)","topic":"0x0457965f5769a09114fd0629b0a97d67e8469821987a454045bbc1a4eed6a881"},"MinterAdded":{"event":"event MinterAdded(address indexed account)","topic":"0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6"},"MinterRemoved":{"event":"event MinterRemoved(address indexed account)","topic":"0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692"},"OwnershipTransferred":{"event":"event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)","topic":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},"Redeem":{"event":"event Redeem(address redeemer, uint256 tokenId, uint256 offerId)","topic":"0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929"},"RedeemableAdded":{"event":"event RedeemableAdded(uint8 offerId)","topic":"0x4537b663d1c425a8e90a6c70cd45207a892914b93ce592a63f985c34e2e0c119"},"RedeemableRemoved":{"event":"event RedeemableRemoved(uint8 offerId)","topic":"0x21996e6e49c28e5c2bb01dd4ff308ddc979431158829a453d4ee6b0115eb6147"},"SetProxyAddress":{"event":"event SetProxyAddress(int256 proxyType, address indexed prevAddr, address indexed newAddr)","topic":"0xee3e7531713ec20c8271432382d3162f5225f9bdac8f1f351cf2ceb699fb754c"},"SetTokenURI":{"event":"event SetTokenURI(uint256 indexed tokenId, string prevURI, string newURI)","topic":"0xaa425fdd80303549e5f891d43e81f503f03bc88d66e218ac44f385682ce6fe0b"},"Transfer":{"event":"event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)","topic":"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"}}
{"Approval":{"event":"event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)","topic":"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"},"ApprovalForAll":{"event":"event ApprovalForAll(address indexed owner, address indexed operator, bool approved)","topic":"0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31"},"BaseTransferFeeSet":{"event":"event BaseTransferFeeSet(uint256 prevFee, uint256 newFee)","topic":"0x0457965f5769a09114fd0629b0a97d67e8469821987a454045bbc1a4eed6a881"},"MinterAdded":{"event":"event MinterAdded(address indexed account)","topic":"0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6"},"MinterRemoved":{"event":"event MinterRemoved(address indexed account)","topic":"0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692"},"OwnershipTransferred":{"event":"event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)","topic":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},"Redeem":{"event":"event Redeem(address redeemer, uint256 tokenId, uint8 offerId)","topic":"0x6de3539db832d0d4eeb992f4ee0b66dd5e3e70ba3239246f9699bb8c7488e70b"},"RedeemableAdded":{"event":"event RedeemableAdded(uint8 offerId)","topic":"0x4537b663d1c425a8e90a6c70cd45207a892914b93ce592a63f985c34e2e0c119"},"RedeemableRemoved":{"event":"event RedeemableRemoved(uint8 offerId)","topic":"0x21996e6e49c28e5c2bb01dd4ff308ddc979431158829a453d4ee6b0115eb6147"},"SetProxyAddress":{"event":"event SetProxyAddress(int256 proxyType, address indexed prevAddr, address indexed newAddr)","topic":"0xee3e7531713ec20c8271432382d3162f5225f9bdac8f1f351cf2ceb699fb754c"},"SetTokenURI":{"event":"event SetTokenURI(uint256 indexed tokenId, string prevURI, string newURI)","topic":"0xaa425fdd80303549e5f891d43e81f503f03bc88d66e218ac44f385682ce6fe0b"},"Transfer":{"event":"event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)","topic":"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"}}
2 changes: 1 addition & 1 deletion dist/Redeemable.abi
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"},{"name":"offerId","type":"uint8"}],"name":"isOfferRedeemed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getOffers","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"redeemer","type":"address"},{"name":"tokenId","type":"uint256"},{"name":"offerId","type":"uint8"}],"name":"redeemOffer","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"addRedeemableOffer","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"offerId","type":"uint8"}],"name":"isOfferActive","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"offerId","type":"uint8"}],"name":"removeRedeemableOffer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isMinter","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"offerId","type":"uint8"}],"name":"RedeemableAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"offerId","type":"uint8"}],"name":"RedeemableRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"redeemer","type":"address"},{"indexed":false,"name":"tokenId","type":"uint256"},{"indexed":false,"name":"offerId","type":"uint256"}],"name":"Redeem","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterRemoved","type":"event"}]
[{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"},{"name":"offerId","type":"uint8"}],"name":"isOfferRedeemed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getOffers","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"redeemer","type":"address"},{"name":"tokenId","type":"uint256"},{"name":"offerId","type":"uint8"}],"name":"redeemOffer","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"addRedeemableOffer","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"offerId","type":"uint8"}],"name":"isOfferActive","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"offerId","type":"uint8"}],"name":"removeRedeemableOffer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isMinter","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"offerId","type":"uint8"}],"name":"RedeemableAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"offerId","type":"uint8"}],"name":"RedeemableRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"redeemer","type":"address"},{"indexed":false,"name":"tokenId","type":"uint256"},{"indexed":false,"name":"offerId","type":"uint8"}],"name":"Redeem","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterRemoved","type":"event"}]
2 changes: 1 addition & 1 deletion dist/Redeemable_events.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"MinterAdded":{"event":"event MinterAdded(address indexed account)","topic":"0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6"},"MinterRemoved":{"event":"event MinterRemoved(address indexed account)","topic":"0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692"},"Redeem":{"event":"event Redeem(address redeemer, uint256 tokenId, uint256 offerId)","topic":"0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929"},"RedeemableAdded":{"event":"event RedeemableAdded(uint8 offerId)","topic":"0x4537b663d1c425a8e90a6c70cd45207a892914b93ce592a63f985c34e2e0c119"},"RedeemableRemoved":{"event":"event RedeemableRemoved(uint8 offerId)","topic":"0x21996e6e49c28e5c2bb01dd4ff308ddc979431158829a453d4ee6b0115eb6147"}}
{"MinterAdded":{"event":"event MinterAdded(address indexed account)","topic":"0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6"},"MinterRemoved":{"event":"event MinterRemoved(address indexed account)","topic":"0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692"},"Redeem":{"event":"event Redeem(address redeemer, uint256 tokenId, uint8 offerId)","topic":"0x6de3539db832d0d4eeb992f4ee0b66dd5e3e70ba3239246f9699bb8c7488e70b"},"RedeemableAdded":{"event":"event RedeemableAdded(uint8 offerId)","topic":"0x4537b663d1c425a8e90a6c70cd45207a892914b93ce592a63f985c34e2e0c119"},"RedeemableRemoved":{"event":"event RedeemableRemoved(uint8 offerId)","topic":"0x21996e6e49c28e5c2bb01dd4ff308ddc979431158829a453d4ee6b0115eb6147"}}
2 changes: 1 addition & 1 deletion dist/bin/Address.bin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a723058207fad53ea4d3fda0f55b2821beeb4f5eaffa546c392a699a6b767c2cb97031beb0029
604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a72305820dfd1d00f1646f80f5e1c25467c5d2570931a9a1fa1c6ce719716847323ddaee00029
Loading

0 comments on commit ee68100

Please sign in to comment.