Skip to content

Commit

Permalink
feat: percentage based fee for stream payment (#118)
Browse files Browse the repository at this point in the history
* feat: pecentage based fee for stream payment

* bump streampay version
  • Loading branch information
harish551 authored Nov 25, 2023
1 parent 7a1d175 commit d28fe87
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ func appModules(
app.GetSubspace(onfttypes.ModuleName),
),
marketplace.NewAppModule(appCodec, app.MarketplaceKeeper, app.GetSubspace(marketplacetypes.ModuleName)),
streampay.NewAppModule(appCodec, app.StreamPayKeeper, app.GetSubspace(streampaytypes.ModuleName)),
streampay.NewAppModule(appCodec, app.StreamPayKeeper),
itc.NewAppModule(appCodec, app.ItcKeeper, app.GetSubspace(itctypes.ModuleName)),
}
}
Expand Down
3 changes: 0 additions & 3 deletions app/upgrades/v2/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
marketplacetypes "github.com/OmniFlix/omniflixhub/v2/x/marketplace/types"
onfttypes "github.com/OmniFlix/omniflixhub/v2/x/onft/types"
tokenfactorytypes "github.com/OmniFlix/omniflixhub/v2/x/tokenfactory/types"
streampaytypes "github.com/OmniFlix/streampay/v2/x/streampay/types"
"github.com/cosmos/cosmos-sdk/baseapp"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
Expand Down Expand Up @@ -79,8 +78,6 @@ func CreateV2UpgradeHandler(
keyTable = marketplacetypes.ParamKeyTable()
case itctypes.ModuleName:
keyTable = itctypes.ParamKeyTable()
case streampaytypes.ModuleName:
keyTable = streampaytypes.ParamKeyTable()
default:
continue
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/OmniFlix/omniflixhub/v2
go 1.21

require (
github.com/OmniFlix/streampay/v2 v2.2.0-alpha.1
github.com/OmniFlix/streampay/v2 v2.2.0-alpha.2
github.com/bianjieai/nft-transfer v1.1.3-ibc-v7.3.0
github.com/cometbft/cometbft v0.37.2
github.com/cometbft/cometbft-db v0.8.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ github.com/Microsoft/go-winio v0.6.0 h1:slsWYD/zyx7lCXoZVlvQrj0hPTM1HI4+v1sIda2y
github.com/Microsoft/go-winio v0.6.0/go.mod h1:cTAf44im0RAYeL23bpB+fzCyDH2MJiz2BO69KH/soAE=
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEVMRuU21PR1EtLVZJmdB18Gu3Rw=
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk=
github.com/OmniFlix/streampay/v2 v2.2.0-alpha.1 h1:atuisgnfQ1APLEwVOOvrRbJFf0qN8WfWeLBKEF9CFdQ=
github.com/OmniFlix/streampay/v2 v2.2.0-alpha.1/go.mod h1:C0+uhcZvzLqT9o1Xiy+LshBp8FzMTK6KHjAPKLVD818=
github.com/OmniFlix/streampay/v2 v2.2.0-alpha.2 h1:lJgjnpUYSumZE/QBXR1HATjOsVtLAkObyoMxxSqOY1A=
github.com/OmniFlix/streampay/v2 v2.2.0-alpha.2/go.mod h1:U1JTcIJ9GqnSoeNX87+qVUSS+BlYpri510hJEKnGU5I=
github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=
Expand Down

0 comments on commit d28fe87

Please sign in to comment.