Skip to content

Commit 01dd30d

Browse files
authored
Update lib.rs
1 parent 5b673c1 commit 01dd30d

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

creator-keys/src/lib.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,10 @@ pub enum ContractError {
7474
InsufficientSupply = 25,
7575
SelfTransfer = 26,
7676
ZeroTransferAmount = 27,
77-
<<<<<<< HEAD
78-
=======
7977
WhitelistOnly = 28,
8078
WhitelistTooLarge = 29,
8179
InsufficientTreasuryBalance = 30,
8280
BatchClaimExceedsLimit = 31,
83-
>>>>>>> 054ca09c875bd7b17fa1e1d31d6ffa027c921d5e
8481
InsufficientTreasuryBalance = 28,
8582
BatchClaimExceedsLimit = 29,
8683
InvalidCoCreatorShare = 30,
@@ -1186,30 +1183,21 @@ impl CreatorKeysContract {
11861183
/// - `locked_allocation`: optional time-locked key allocation for creator self-vesting.
11871184
/// If provided, `unlock_ledger` must be strictly greater than current ledger.
11881185
/// - `max_supply`: optional maximum supply cap. If provided, must be greater than zero.
1189-
<<<<<<< HEAD
1190-
/// - `co_creator`: optional immutable collaborator split. If provided, `share_bps`
1191-
/// must be in the inclusive range `1..=9999`.
1192-
=======
11931186
/// - `whitelist_window`: optional immutable early-access address list and ledger duration.
11941187
11951188
/// - `co_creator`: optional immutable collaborator split. If provided, `share_bps`
11961189
/// must be in the inclusive range `1..=9999`.
11971190
1198-
>>>>>>> 054ca09c875bd7b17fa1e1d31d6ffa027c921d5e
11991191
pub fn register_creator(
12001192
env: Env,
12011193
creator: Address,
12021194
handle: String,
12031195
locked_allocation: Option<LockedAllocation>,
12041196
max_supply: Option<u32>,
12051197
curve_preset: Option<CurvePreset>,
1206-
<<<<<<< HEAD
1207-
co_creator: Option<CoCreatorConfig>,
1208-
=======
12091198
whitelist_window: Option<WhitelistConfig>,
12101199
co_creator: Option<CoCreatorConfig>,
12111200

1212-
>>>>>>> 054ca09c875bd7b17fa1e1d31d6ffa027c921d5e
12131201
) -> Result<(), ContractError> {
12141202
creator.require_auth();
12151203
assert_not_paused(&env)?;
@@ -1308,13 +1296,10 @@ impl CreatorKeysContract {
13081296
env.storage()
13091297
.persistent()
13101298
.extend_ttl(&preset_key, current_ledger, extend_to);
1311-
<<<<<<< HEAD
1312-
=======
13131299
if env.storage().persistent().has(&whitelist_key) {
13141300
env.storage()
13151301
.persistent()
13161302
.extend_ttl(&whitelist_key, current_ledger, extend_to);
1317-
>>>>>>> 054ca09c875bd7b17fa1e1d31d6ffa027c921d5e
13181303
let co_creator_key = constants::storage::co_creator(&creator);
13191304
if env.storage().persistent().has(&co_creator_key) {
13201305
env.storage()

0 commit comments

Comments
 (0)