Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nation.sol - enforcement #1

Open
kentdahlgren opened this issue Dec 6, 2017 · 11 comments
Open

Nation.sol - enforcement #1

kentdahlgren opened this issue Dec 6, 2017 · 11 comments

Comments

@kentdahlgren
Copy link

Line 25: string lawEnforcementMechanism;, under "NationPolicy"

There are no law enforcement in our nations. Per the whitepaper (page 15)

<incentivization, deterrent and enforcement_
● The token-driven reputation system provides incentives for contract compliance (rather than the threat of prison, for instance) and to ensure nomic evolution of smart contract rulesets (digital law);

@xsttx
Copy link
Contributor

xsttx commented Dec 6, 2017

Let's not fall into the "code is law" illusion though, like the DAO did.

@kentdahlgren
Copy link
Author

xsttx: does your comment mean that the variable should remain in the contract? My interpretation of the whitepaper was that we would not feature any "enforcement" other than the non-aggression principle, which within Bitnation is interpreted as "there's no enforcement other than the fitness of each citizen and/or entity." I just want to be clear, but it's possible I'm misunderstanding the use of the variable within the contract. I just want to be careful.

@xsttx
Copy link
Contributor

xsttx commented Dec 7, 2017

@kentdahlgren the main contract enforcement is the rep system (lucy!). Beyond that, things like multisig escrows can also work as enforcement, or referring your contracts to a nation state enforcement, if you want to.

@xsttx
Copy link
Contributor

xsttx commented Dec 7, 2017

@kentdahlgren the non-agression principle is a bare bone code of law (similar to the ten commandments or pashtunwali), not a method of enforcement. the reputation system is a method of contract enforcement.

@kentdahlgren
Copy link
Author

Ok. Thanks. I just want to be explicit because we are talking about values that are being defined in a smart contract. I would assume this means that the default value for enforcement is "lucy," and they can define other enforcement mechanisms including but not limited to multi-sig escrows.

@xsttx
Copy link
Contributor

xsttx commented Dec 7, 2017

What do you mean?

@xsttx
Copy link
Contributor

xsttx commented Dec 7, 2017

It's a "positive enforcement system" meaning we reward people for honouring contracts they have voluntarily entered into. There's no such thing as punishment, unless people choose to add that as an addition to their contract.

@kentdahlgren
Copy link
Author

I think we're in agreement

These comments pertain to the smart contract written for nations. There are two values being set I am concerned may leave an opening for someone to execute counter to the vision as articulated in the whitepaper.

In this issue, I talk about "law enforcement mechanism." In the whitepaper we talk about how "enforcement" is through positive reinforcement, but the smart contract is not explicit in this regard. It merely asks the user to define a law enforcement mechanism.

On the second issue I am concerned there's a boolean value for "bool multiCitizenship," which implies that a nation could be created that would not allow citizens to join multiple nations - also counter to the white paper.

@kentdahlgren
Copy link
Author

My concern is that unless we are explicit, someone could exploit this and deliver a nation that delivers some punitive measures, which is counter to the vision.

@xsttx
Copy link
Contributor

xsttx commented Dec 7, 2017

Nations should be free to deliver whatever vision they choose to deliver. That's not our problem. Our problem is how to make the basics works, meaning the jurisdictional foundation. And that means deliver PAT by Lucy upon successful contract completion. That is the enforcement mechanism for decent behaviour.

@kentdahlgren
Copy link
Author

Okay so if the nation itself elects to define and execute upon a punitive form of law enforcement, we don't actually care. We've provided the basics, and recommend using a positive reinforcement loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants