Skip to content

Commit 4302461

Browse files
Merge pull request #31 from bitmark-inc/ff-v4.4
Support contract v4.4
2 parents 648fe6b + a402f5b commit 4302461

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

contracts/feralfile-exhibition-v4/feralfile.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,13 @@ func (c *FeralfileExhibitionV4Contract) Parse(
423423
}
424424

425425
func init() {
426+
// FeralfileExhibitionV4 and FeralfileExhibitionV4_3 mostly shares the same interface.
427+
// The only difference is the function `mergeArtworks` that should be called by token owners.
426428
ethereum.RegisterContract("FeralfileExhibitionV4", FeralfileExhibitionV4ContractFactory)
427429
ethereum.RegisterContract("FeralfileExhibitionV4_3", FeralfileExhibitionV4ContractFactory)
430+
431+
// FeralfileExhibitionV4_4 exposes some more functions but it also mainly shares the same interface as FeralfileExhibitionV4.
432+
// Those functions are not used in the current binding.
433+
// TODO: Add binding for FeralfileExhibitionV4_4 whenever renderer functions can be called by the backend.
434+
ethereum.RegisterContract("FeralfileExhibitionV4_4", FeralfileExhibitionV4ContractFactory)
428435
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/bitmark-inc/account-vault-ethereum
33
go 1.20
44

55
require (
6-
github.com/bitmark-inc/feralfile-exhibition-smart-contract/go-binding v0.0.0-20240719115105-fe02ae891309
6+
github.com/bitmark-inc/feralfile-exhibition-smart-contract/go-binding v0.0.0-20250617045309-aaac011c3434
77
github.com/ethereum/go-ethereum v1.13.10
88
github.com/miguelmota/go-ethereum-hdwallet v0.1.1
99
github.com/stretchr/testify v1.8.4

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ github.com/aws/smithy-go v1.1.0/go.mod h1:EzMw8dbp/YJL4A5/sbhGddag+NPT7q084agLbB
6363
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
6464
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
6565
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
66-
github.com/bitmark-inc/feralfile-exhibition-smart-contract/go-binding v0.0.0-20240719115105-fe02ae891309 h1:cd/Bb67XNh09jYGCG706GvHvcQdiqa1Uyd/h9AmtlOk=
67-
github.com/bitmark-inc/feralfile-exhibition-smart-contract/go-binding v0.0.0-20240719115105-fe02ae891309/go.mod h1:shvtsuJyQJnByXKqf9n/jpjL4++FSJCFjXR/08iBnFY=
66+
github.com/bitmark-inc/feralfile-exhibition-smart-contract/go-binding v0.0.0-20250617045309-aaac011c3434 h1:MjC633sboYkqnxLK4qkylICr+6vFi61N4lNMMFRvVnY=
67+
github.com/bitmark-inc/feralfile-exhibition-smart-contract/go-binding v0.0.0-20250617045309-aaac011c3434/go.mod h1:shvtsuJyQJnByXKqf9n/jpjL4++FSJCFjXR/08iBnFY=
6868
github.com/bits-and-blooms/bitset v1.10.0 h1:ePXTeiPEazB5+opbv5fr8umg2R/1NlzgDsyepwsSr88=
6969
github.com/bits-and-blooms/bitset v1.10.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
7070
github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40/go.mod h1:8rLXio+WjiTceGBHIoTvn60HIbs7Hm7bcHjyrSqYB9c=

0 commit comments

Comments
 (0)